No cl.exe on windows

Dear All,

I am trying to run my PyROOT app on Windows, these are my first attempts. It can’t compile loaded ROOT C file due to lack of “cl.exe”. What is it and what can I do about it?

Also, on windows my menus and status bars are invisible (while being visible for standard canvases), but that needs more investigation on my side…

Hi,

If you want to compile macros, you have to start root (or python) from a Visual Studio command prompt (from the Visual Studio Tools menu), where the environment variables are properly set, or call (e.g. for VS 2012) “C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat” (with quotes) from a regular command prompt.

Cheers, Bertrand.