PyRoot installation on Windows

Hi
I am trying to use PyRoot on Windows. Tried to follow the instructions from the following links

1)https://root.cern.ch/how/how-use-pyroot-root-python-bindings
2)https://root.cern.ch/how/integrate-root-my-project-cmake

downloaded the CMake, python for win32 and root 5.34.34 for win32…but I cannot make it the compilation

I get this
Microsoft Windows [Version 6.1.7601]
Copyright © 2009 Microsoft Corporation. All rights reserved.


C:\Users\sorina>cmake
Usage

cmake [options]
cmake [options]

Specify a source directory to (re-)generate a build system for it in the
current working directory. Specify an existing build directory to
re-generate its build system.

Run ‘cmake --help’ for more information.

C:\Users\sorina>cd C:\root_v5.34.34

C:\root_v5.34.34>cmake -G"Visual Studio 12 2013" c:\RootRebuilt
CMake Error: The source directory “C:/RootRebuilt” does not appear to contain CM
akeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

C:\root_v5.34.34>


so bottom line I dont have a CMake file, the only ones I found in the root distribution is on test and tutorials but i dont’t see how i can add the PyRoot module without a CMake file.
Should I create it or there is a simpler solution for that?
Thanks
Sorina

Hi Sorina,

First, to rebuild Root, you have to take the source (and not the binary)
Then, you need to call cmake from the build directory, specifying the source directory (and not the other way)

Cheers, Bertrand