Page 1 of 1

LINK1104 cannot open file 'kernel32.lib'

Posted: April 18th, 2017, 5:37 am
by gman10199
The full error is "Severity Code Description Project File Line Suppression State
Error LNK1104 cannot open file 'kernel32.lib' sfml C:\Users\gman\documents\visual studio 2017\Projects\sfml\sfml\LINK"
The so I tracked down the file and its only in the 8.1 version in the windows kits.
I don't know ho to fix this so any help would be nice!

Re: LINK1104 cannot open file 'kernel32.lib'

Posted: April 18th, 2017, 6:29 am
by cyboryxmen
Which version of Windows are you using? Which version of Windows are you aiming to build? Did you remember to install the kit for the Windows version you are targeting?

Re: LINK1104 cannot open file 'kernel32.lib'

Posted: April 18th, 2017, 1:54 pm
by chili
If you have sdk 8.1 installed and it has the file you want... just go into the project setting and set the platform sdk to 8.1. Otherwise, you need to reinstall sdk 10 it seems.

Re: LINK1104 cannot open file 'kernel32.lib'

Posted: April 19th, 2017, 2:16 am
by albinopapa
I'm wondering if the SFML lib was compiled using 8.1 and your project is trying to compile using SDK 10 or visa versa.