Cannot compile using ACLiC, VC++ 2010, Windows 7

Hi Nam,

[quote=“NamHoNguyen”]Hi Bertrand, I’m sorry but do you mean that I should start ROOT with cmd? If I don’t start ROOT within MS VC++, there will be an error about the file “cl.exe”.[/quote]Well, let me repeat: don’t start root from “c:\program files (x86)\microsoft visual studio 10.0\vc\bin”, where you don’t have write permission. It will never work. You have several options to solve your problem. Here are two of them:
[ul][li]once you started the Visual Studio command prompt, you can go (cd) somewhere else, where you have write permission[/li]
[li]start a regular command prompt, and then set-up the environment variables to be able to use Visual C++, by calling:C:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat[/li][/ul]
Cheers, Bertrand.