简体   繁体   English

Visual Studio 2017中的链接器错误

[英]Linker error in visual studio 2017

more then annoying linker-error here: 还有更多令人讨厌的链接器错误:

LNK2001 unresolved external symbol __std_terminate

I have no clue how to solve. 我不知道如何解决。 Im using MSVC 2017 with a project build and using toolkit for MSVC2015. 我将MSVC 2017与项目构建一起使用,并为MSVC2015使用工具包。

Compiled fine and links until this very last error. 编译好并链接直到最后一个错误。

Any ideas? 有任何想法吗?

If it compiled properly, it means that you have the header file or definition somewhere. 如果编译正确,则意味着您在某处具有头文件或定义。 What you need to do is add the library (which the symbol is from) in the linker properties of the project so that it can be found at the linking stage. 您需要做的是在项目的链接器属性中添加库(符号来自此库),以便可以在链接阶段找到它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM