我把项目从vc移植到EVC中出现了一下相同的问题 若干条:
::error LNK2019: unresolved external symbol "public: __cdecl std::_Lockit::~_Lockit(void)"
解决方法是:在“stdafx.cpp"中加入
#include "stdafx.h"
_Lockit::_Lockit(){}
_Lockit::~_Lockit(){}
本文介绍了一种解决EVC项目中出现的LNK2019未解析外部符号错误的方法。通过在stdafx.cpp文件中包含stdafx.h头文件并定义_Lockit构造和析构函数,可以有效解决这一常见问题。
我把项目从vc移植到EVC中出现了一下相同的问题 若干条:
::error LNK2019: unresolved external symbol "public: __cdecl std::_Lockit::~_Lockit(void)"
解决方法是:在“stdafx.cpp"中加入
#include "stdafx.h"
_Lockit::_Lockit(){}
_Lockit::~_Lockit(){}

被折叠的 条评论
为什么被折叠?
