Why does CMakeSetup with the message “LINK : fatal error LNK1104: cannot open file user32.lib\” while configuring a project?
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->Projects and Solutions->VC++ Directories->Library files See also: • http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/
Related Questions
- When I try to build the demo app, I get the linker error LINK : fatal error LNK1104: cannot open file "mfc42u.lib" Error executing link.exe. How can I fix this?
- When I try to play a file or from a link, the player generates an error message. How do I troubleshoot a specific error message?
- Why does CMakeSetup with the message "LINK : fatal error LNK1104: cannot open file user32.lib\" while configuring a project?