[CMake] ERROR :Compiler not able to build Simple Programm
Brandon J. Van Every
bvanevery at gmail.com
Sat Dec 30 11:39:59 EST 2006
groton at gmx.net wrote:
> Hello Chandra,
>
> chandrashekhar jadhav wrote:
>>
>>
>> ------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32
>> ------
>> Checking Build System
>> -- Check for working C compiler: c:/Program Files/Microsoft Visual
>> Studio 8/VC/bin/cl.exe
>> -- Check for working C compiler: c:/Program Files/Microsoft Visual
>> Studio 8/VC/bin/cl.exe -- broken
>> CMake Error: The C compiler "c:/Program Files/Microsoft Visual Studio
>> 8/VC/bin/cl.exe" is not able to compile a simple test program.
>> can any one tell me the solution for the same .
>>
> my guess is that you are using Visual C++ 2005 Express, and you have
> not installed and set properly the Platform SDK yet. Follow the
> instructions in here to set up the Platform SDK with VC Expr:
> http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/
I have placed Feature Request #4248 in the bug tracker regarding this
issue. When CMake can't find things like user32.lib, it could suggest
that the user install the Platform SDK + make sure it's in their
compiler's path in Options. It would improve CMake's image and
acceptance among the VC++ 2005 Express demographic. If you want to
comment on the idea, go to
http://www.cmake.org/Bug/bug.php?op=show&bugid=4248
Cheers,
Brandon Van Every
More information about the CMake
mailing list