Abdelrazak Younes wrote:
>> D:\devel\lyx\lyx-cmake\build>cmake -G"Visual Studio 8 2005" ..\..\trunk


>>> LINK : fatal error LNK1104: cannot open file 'user32.lib'
>>
>> it could not find user32.lib which is part of the SDK. Have you called
>> the sdk variable setting file SetEnv.Cmd?

Here the answer to an old problem:
The path to the SDK libs (user32.lib) must be added by the IDE when the
project generator "Visual Studio 8 2005" is used, because cmake uses
VCExpress.exe and on the fly generated project files to check
for compiling (VCExpress.exe reads some config files for the
compiler/linker options)

So add the sdk lib path (...\Microsoft Platform SDK\Lib) at:
Tools->Options->VC++ directories->Library files?

Peter

Reply via email to