[opensource-dev] VS2010 Express fails basic test
Monty Brandenberg
monty at lindenlab.com
Mon Feb 28 12:58:58 PST 2011
On 2/28/2011 8:48 AM, Jonathan Welch wrote:
> I have been trying, with the help of NickyP and archer to get my
> VS2010 environment set up properly.
> <snip>
> CMake Error at e:/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52
> (MESSAGE):
> The C compiler "E:/Microsoft Visual Studio 10.0/VC/bin/cl.exe" is not able
> to compile a simple test program.
>
> It fails with the following output:
>
> Change Dir: E:/project/viewer-autobuild2010-wip/build-vc100/CMakeFiles/CMakeT
> mp
I had a similar problem getting Win7-64bit setup with vs2010.
The following may or may not solve your problem, however:
1. Reboot. After the VS SP1 upgrade and the special vista/w7
VS upgrade, it turned out a simple reboot fixed the problem. Which
is fortunate because the error code I was getting was only documented
on a site in Mandarin.
2. Finding the error code involved using the --debug-trycompile
option to cmake. This leaves all temporaries in place including
log/htm output with better diagnostics. Start with that if 1.
doesn't do it.
--
Monty Brandenberg 617.401.2384
monty at lindenlab.com
More information about the opensource-dev
mailing list