# Root with Windows VC10

Hi,

After many (many) years of only running cygwin gcc root, I’ve decided to try and use it with VC++. I’ve got VC++10 installed. I installed the 5.32 root msi file for VC10. I can now run root, but it can’t compile. How do I setup my environment so that root can find the compiler?

Charles

p.s. I did get a little further in that I ran C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat and then copied the new pieces that were in path to my .bashrc, but then I get the following error, so apparently this isn’t sufficient.

``````root [0] .L bla.C+
Info in <TWinNTSystem::ACLiC>: creating shared library U:\bla_C.dll
2693665_cint.cxx
cl : Command line error D8003 : missing source filename
Error in <ACLiC>: Compilation failed!``````

Hi Charles,

This is a deficiencies when trying to use ACLiC on Windows and the current directory is the top level directory a drive (I.e. C:\ or U:). This ought to be fix soon.

Cheers,
Philippe.

Hi Charles,

This is fixed in the trunk (revision 43079).

Cheers,
Philippe.