LINK1104 cannot open file 'kernel32.lib'

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
gman10199
Posts: 1
Joined: April 18th, 2017, 5:20 am

LINK1104 cannot open file 'kernel32.lib'

Post by gman10199 » April 18th, 2017, 5:37 am

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!

User avatar
cyboryxmen
Posts: 190
Joined: November 14th, 2014, 2:03 am

Re: LINK1104 cannot open file 'kernel32.lib'

Post by cyboryxmen » April 18th, 2017, 6:29 am

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?
Zekilk

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: LINK1104 cannot open file 'kernel32.lib'

Post by chili » April 18th, 2017, 1:54 pm

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.
Chili

albinopapa
Posts: 4373
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: LINK1104 cannot open file 'kernel32.lib'

Post by albinopapa » April 19th, 2017, 2:16 am

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.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

Post Reply