我使用的是Visual 2019,即使我的path有kernel32.lib路径,也有一个错误。
C:\Users\googi\Desktop\CMakeProject2\out\build\x64-debug\CMakeProject2\LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
ninja: build stopped: subcommand failed.
路径..。
c:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\um\x86
如果我试图在命令提示符下运行,上面写着.
This file does not have an app associated with it for performing
this action. Please install an app or, if one already installed,
create an association in the Defalt Apps Setting page.
我尝试了这3条路径,但它给了我完全相同的错误。
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\um\arm
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\um\arm64
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\um\x64
发布于 2022-08-08 02:32:24
关于你的案子,我建议你检查以下几点:
https://stackoverflow.com/questions/73263172
复制相似问题