手抄报 安全手抄报 手抄报内容 手抄报图片 英语手抄报 清明节手抄报 节约用水手抄报

error LNK2019: 无法解析的外部符号

时间:2024-10-13 10:10:57

1>------ 已启动生成: 项目: CGALTEST510, 配置: Debug x64 ------1>CGALTEST510.obj : error LNK2019: 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAAEBVerror_category@12@XZ),该符号在函数 "void __cdecl boost::system::`dynamic initializer for 'native_ecat''(void)" (??__Enative_ecat@system@boost@@YAXXZ) 中被引用1>CGALTEST510.obj : error LNK2019: 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAAEBVerror_category@12@XZ),该符号在函数 "void __cdecl boost::system::`dynamic initializer for 'errno_ecat''(void)" (??__Eerrno_ecat@system@boost@@YAXXZ) 中被引用1>CGALTEST510.obj : error LNK2019: 无法解析的外部符号 __imp___gmpn_copyi,该符号在函数 "public: __cdecl CGAL::Mpzf::Mpzf(struct CGAL::Mpzf const &)" (??0Mpzf@CGAL@@QEAA@AEBU01@@Z) 中被引用1>G:\Cpp\Midaxis\CGALTEST510\x64\Debug\CGALTEST510.exe : fatal error LNK1120: 10 个无法解析的外部命令========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========

工具/原料

VS2013

怎样解决?

1、遇到这种问题一般都是由于缺少相应的库文件

error LNK2019: 无法解析的外部符号

2、右击项目,选择“属性”--“链接器”--“输入”--“附加依赖项”根据错虱忪招莫误中的提示在下图右边的红色框内添加相应的lib文件

error LNK2019: 无法解析的外部符号

3、再次编译运行即可避免此类错误产生

error LNK2019: 无法解析的外部符号

4、这是我们常见的错误,我们要学会解决

error LNK2019: 无法解析的外部符号

5、只有在不断地探索解决的时候才会有收获

error LNK2019: 无法解析的外部符号

6、这样对程序员才是一种欣喜,一种进步

error LNK2019: 无法解析的外部符号
© 手抄报圈