ROOT on Windows 7

Dear ROOT community,

I’ve installed ROOT 5.34.21 via the Windows installer.
I can run “.C” files and generate output. However, after running the scripts or simply typing “root” in my command line (ROOT starts), I can’t enter anything, meaning

doesn’t appear. The same goes for running a script, then root[1] doesn’t appear.
It seems like the process in the console is stuck.

Is anyone familiar with this issue?

Tanks & cheers,
Robert

Hi Robert,

Could you try, from the command prompt to start root with “root -l”, or “root -b” (batch) to see if it makes any difference?

Cheers, Bertrand.

Hi Bertrand :slight_smile:

I tried it, and it makes no difference :frowning:

Do you know this issue?

Best regards,
Robert

Hi Robert,

I don’t remember having seen this behavior before… Did you execute thisroot.bat before starting ROOT? Do you have several versions of ROOT? Could you try with a newer version (take the tar file to not overwrite your currently installed one)?

Cheers, Bertrand.

Hi Bertrand,

I ran “thisroot.bat”, but it doesn’t solve the problem.

I only have one ROOT version installed. Well if I use a new ROOT version, e.g. 6.00.02 how do I install it? If I unpack it and run “root.exe” it says “cygX11-6.dll” is mising.

Cheers,
Robert

Hi Robert,

ROOT 6 is not supported on Windows yet. The version you tried is an experimental version working in a cygwin / X11 environment, and requires cygwin to be installed.
You have to take a binary that matches your compiler version (no win32gcc)

Cheers, Bertrand.

Hi Bertrand,
okay I took “root_v6-02.04.source.tar.gz” unpacked it and confiured it with CMake.

Then I generated the solution and now im buliding it (with VS). I will tell you whether it went well or not.

I’m also using the cygwin shell not the windows shell.

Thanks & cheers,
Robert

Hi Robert,

I would suggest to not use cygwin at all (since it is not needed anymore to build ROOT). I know there are some issues with the cygwin environment…

Cheers, Bertrand.

Hi,

well I’m just using the shell. For building I use the CMake GUI and VS2013 :slight_smile:

Below is my CMake configuring output. Are the mising crucial?

[code]CMAKE_BUILD_TYPE: RelWithDebInfo
ROOT Platform: win32
ROOT Architecture: win32
Build Type: RelWithDebInfo
Compiler Flags: -nologo -ID:/ROOT_CERN_v6/root-6.02.04/build/win -FIw32pragma.h -FIsehmap.h -MD -GR -EHsc- -W3 -wd4244 -D_WIN32
Building LZMA version 5.0.3 included in ROOT itself
Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR)
Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)
Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
Looking for OpenGL
Looking for ODBC
Enabled support for: asimage astiff builtin_afterimage builtin_ftgl builtin_freetype builtin_glew builtin_pcre builtin_zlib builtin_lzma builtin_llvm cling exceptions explicitlink fortran genvector odbc opengl shared thread tmva
Target triple: i686-pc-win32
Native target architecture is X86
Threads enabled.
Doxygen disabled.
Sphinx disabled.
Using MinSizeRel VC++ CRT: MD
Constructing LLVMBuild project information
LLVMHello ignored – Loadable modules not supported on this platform.
Targeting X86
BugpointPasses ignored – Loadable modules not supported on this platform.
Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
Clang version: 3.6.0
Could NOT find Subversion (missing: Subversion_SVN_EXECUTABLE)
CMake Warning at D:/RS_work/Geant4/CMake_3/CMake/share/cmake-3.0/Modules/InstallRequiredSystemLibraries.cmake:373 (message):
system runtime library file does not exist:
'MSVC12_REDIST_DIR-NOTFOUND/x86/Microsoft.VC120.CRT/msvcp120.dll’
Call Stack (most recent call first):
cmake/modules/RootCPack.cmake:9 (include)
CMakeLists.txt:207 (include)

CMake Warning at D:/RS_work/Geant4/CMake_3/CMake/share/cmake-3.0/Modules/InstallRequiredSystemLibraries.cmake:373 (message):
system runtime library file does not exist:
'MSVC12_REDIST_DIR-NOTFOUND/x86/Microsoft.VC120.CRT/msvcr120.dll’
Call Stack (most recent call first):
cmake/modules/RootCPack.cmake:9 (include)
CMakeLists.txt:207 (include)

Configuring done
Generating done[/code]

Cheers,
Robert

First, as I said, ROOT 6 is [color=#FF0000]NOT supported[/color] on Windows, so please take ROOT 5 (e.g. 5.34.25) and try again…

Cheers, Bertrand.

Hi Bertrand,

now I used the tar version of “5.34/25”, as you suggested, ran “thisroot.bat”.
Now it works fine and I get

after typing root in the (Windows) console (not using cygwin shell anymore, it seems that the previously descriped issue happens in cygwin … maybe because I installed the 64bit version? :open_mouth:).

Anyway, I guess I’ll stick to the windows shell and will mark the thread as solved.

Thanks & cheers,
Robert

Hi Robert,

You’re very welcome! Glad to see the problem is solved! :slight_smile:

Cheers, Bertrand.