error cannot open file 'kernel32.lib'

前端 未结 7 1909
渐次进展
渐次进展 2020-12-20 16:49

I have installed VS2013 and VS2015 on Windows 7.

I have an existing C++ Dll project that was building fine but now all of a sudden it wont build using VS2015 and giv

7条回答
  •  醉酒成梦
    2020-12-20 17:13

    I had this following upgrade of some projects from VS2013 to VS2017.

    Original project had a manual modification to the "Library Directories" item under VC++ Directories in the project settings.
    This meant it did not pick up changes from the upgrade.

    Using the option will reset this to something that works (assuming the SDK is installed OK) provided anything other than the default is not needed of course. In my case it was trying to point at the v7.1 SDK but that was not installed for vs2017.

提交回复
热议问题