fogleman/Craft

"cmake ." results in "fatal error LNK1104: can't open file 'kernel32.lib'"

darkonaito opened this issue · 1 comments

I followed all windows steps, but when I try to compile with "cmake. " I get that error, and I'm unable to fix it.

The kernel32.lib is a Windows system library. Did you change the linker settings? And so, did you install necessary packages to compile cpp? With that I mean the exact same packages required.

In configuration default application you need to put your Windows System in developer mode to get the propietary windows libs.

Go to "For Developers/Developer Settings/Developer Mode" and switch it on.

If you aready did it, revise the dependencies configuration in the Visual Studio compiler and linker.
Some library configuration you made must be wrong.