CL not recognized
-
[quote author="Tobias Hunger" date="1358761957"]You should not need to add anything to your PATH, creator should do that for you.
[/quote]
When would it do that?[quote author="Tobias Hunger" date="1358761957"]So try switching to a different flavor of the compiler. Does that fix the issue?[/quote]
What do you mean by a different flavor? -
I had the same problems a few days ago and I solved it executing vcvarsall.bat before (I was using nmake) it's suposed to add the variable to the path.
I hope it can help you.
Regards. -
I tried that:
@C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC> vcvarsall.bat
ERROR: Cannot determine the location of the VS Common Tools folder.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>@[My operating system is Windows 7 64bit. Besides Qt and VSC++, I also have RAD Studio XE3 installed (C++, Delphi, HTML5Builder, and Prism).]
-
It's a problem with VS Common Tools.
I've found this thread, hope you find something useful.
http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/3312be98-cf2b-4907-af89-d91170ee90c0/Regards.
-
I read the first forum, and there was a link to another forum. I couldn't make heads or tails of the second; the first was helpful, but the suggestion that the environmental variable was not set was not true for my machine.
-
are you using msvc2010 express ?
-
[quote author="seahumad" date="1359174961"]are you using msvc2010 express ?[/quote]
Yes I am. -
See the workaround for msvc2010 express 64 bit here http://qt-project.org/wiki/Qt500Beta2KnownIssues
-
When installing the SDK I get an error, and it just says to check the log.
-
well .. this is a windows/msvc problem rather than a Qt problem
-
[quote author="seahumad" date="1359209110"]See the workaround for msvc2010 express 64 bit here http://qt-project.org/wiki/Qt500Beta2KnownIssues[/quote]
I think that this worked (I had uninstall MSVC++ first then reinstall after the SDK installed). However, now when I compile most example programs, I get the error:
@error: LNK1104: cannot open file 'gdi32.lib'@