[CMake] free VS8 nmake config err

William A. Hoffman billlist at nycap.rr.com
Fri Jul 28 14:03:51 EDT 2006


At 01:59 PM 7/28/2006, dean.inglis at camris.ca wrote:
>Hi Brad,
>
>rc is found now that I added the path to
>c:\Program Files\Miscrosoft Visual Studio 8\VC\bin
>
>but then I encounterd linker errors during the
>cmake -- Check for working C compiler:
>LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
> So I added 
>c:\Program Files\Miscrosoft Platform SDK\Lib
>and then got a 
>LINK : fatal error LNK1104: cannot open file 'user32.lib'
>although user32.lib and kernel32.lib are both in that folder.  

Your environment is not configured to build from the command line.
LIB is not set and most likely a bunch of other stuff.  You need
to run cmake form the shell that has vcvars set in it.

-Bill



More information about the CMake mailing list