[CMake] Visual Studio Express 2005

Bill Hoffman bill.hoffman at kitware.com
Fri Feb 15 08:22:32 EST 2008


Mehdi Rabah wrote:
> Hi everyone,
> 
> I have a (simple) problem configuring cmake to generate visual studio 
> project.
> 
> I have configured all variables needed by the microsoft compiler to 
> compile a simple Hello World program from the command line. But cmake 
> can't make the compiler compile the simple test program.
> 
> "c:/program files/..../cl.exe" is not able to compile a simple test program.
> ...
> ...
> LINK : fatal error : unable to open 'user32.lib'
> 
> 
> (even if LIB and LIBPATH variable is correctly set)
> Is anyone had this problem, and how did you solved it ?
> 
You need to install the windows SDK as well as visual studio express, 
and there are some settings that have to be made in VS express.  See the 
install instructions from MS.

-Bill


More information about the CMake mailing list