visual studio community/professional 2017/2019 can't build in x64

  • Thread starter Thread starter mc123mp
  • Start date Start date
M

mc123mp

Guest
Hi,

For over a year now I've been unable to build/run visual studio code in x64.
I can build in x86 just fine, but nothing in x64.
Every time it returns the
1>LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
error.
Most pages that I've looked on for help tell me it's a linker error, or I don't have an SDK installed.
I've reinstalled visual studio several times in professional and community edition, in 2017 and 2019 versions.
Everytime I have installed the SDK with it.

I have tried setting the SDK version to older versions, this did not help.
I've tried giving the linker direct paths to the libraries it request,
but when I do that for all the library files and try again,
it just gives me the first kernel32.lib again. It will do this for all the additional dependencies.

I can't find any post with the exact same problem I have, and thus no solution. (or I must be blind)
And other solutions to similar issues don't help.

Continue reading...
 
Back
Top