Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does CMakeSetup with the message “LINK : fatal error LNK1104: cannot open file user32.lib\” while configuring a project?

0
Posted

Why does CMakeSetup with the message “LINK : fatal error LNK1104: cannot open file user32.lib\” while configuring a project?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123