Hello, my name is Sandip and I’m a first year physics student at university. I’m very new to programming and to root in particular and I have a question about installing Root.
I currently have a laptop running Windows 10 and want to know how to go about installing Root on it. I know that there are other blog posts about this particular topic but I find it quite confusing as there are a lot of different methods of installing root such as using cygwin, partitioning my hard drive with linux, using other archaic methods, etc.
Is there a reliable and simple way to install Root on Windows 10?
Thank you for your help and I apologise if I’m just rehashing an already answered question.
Just a reminder that Windows 10 now has WSL (Windows Subsystem for Linux) and it is possible to run ROOT 6 binary distribution for Ubuntu 14/16 (depending on version installed in WSL) inside it. You’ll need X11 server for Windows, for example, XMing.
As it turned out the default xming worked, but then we had to install additional libraries (libxft and libtiff5) to get a TCanvas to display (otherwise we had a segmentation fault claiming these missing libraries).
@berserker Is it essential X11 server for Window 10 (Xming…)? Window 10 has window subsystem for Linux. We only need to turn on DEVELOOPED MODE and window subsystem for Linux then we will download ubuntu from Microsoft store.
Thank you. I installed ROOT 6.18.04 on WSL. I want to write code on Win 10 and run macros in WSL. I’m a beginner to C++ and ROOT. Firstly, i wrote code in NotePad and there isn’t code Hints. I spent a lot of time. Could you tell me what i should do to appear code hints and debug? (Now i am writing code in VScode on Win 10).
Be honest, i want to work on native Windows, but i have errors many times when i install ROOT 6.18.04 on Win 10. I can run ROOT 5.34.36 property on Win 10, but this version is old and some codes changed.
I’m not sure if you have access to ActiveX from inside WSL… You can try to use ROOT 6 on Windows (with CMake).
And BTW, it would have been better to start a new topic instead of continuing an old (and unrelated) one.
Thanks for your reply
I can start a new topic but before can you clarify me several points:
Q1) Is Visual Studio needed? if yes which version? ( is VS2017 OK?)
Q2) is CMake usefull for a window application?
Q3) Does a simple exemple exists on the site?