Visual studio 2015 c++ and assembly not building

后端 未结 1 340
旧时难觅i
旧时难觅i 2021-01-14 11:42

I recently wanted to start learning assembly, but I have been having some problem setting up my project to build.

What I want to have is a C++ and assembly project,

相关标签:
1条回答
  • 2021-01-14 11:59

    You're linking your project with only part of the C runtime (CRT) libary, msvcrtd.lib. You also need to link with the libraries vcruntimed.lib and ucrtd.lib. The former is part of Visual Studio 2015 itself while the later is part of the Windows 10 SDK that was installed along Visual Studio. Normally C++ projects automatically link with these libraries, but apparently your project is setup not to.

    You may be following instructions meant for an older version of Visual Studio which only required linking with one CRT library file. This changed due to a refactoring of the CRT with Visual Studio 2015.

    0 讨论(0)
提交回复
热议问题