1&壹执慵驾gt;------已启动生成:项目:CGALTEST510,配置:Debugx64------吭稿荔徊1>CGALTEST510.obj:errorLNK2019:无法解析的外部符号"classboost::system::error_categoryconst&__cdeclboost::system::system_category(void)"(?system_category@system@boost@@YAAEBVerror_category@12@XZ),该符号在函数"void__cdeclboost::system::`dynamicinitializerfor'native_ecat''(void)"(??__Enative_ecat@system@boost@@YAXXZ)中被引用1>CGALTEST510.obj:errorLNK2019:无法解析的外部符号"classboost::system::error_categoryconst&__cdeclboost::system::generic_category(void)"(?generic_category@system@boost@@YAAEBVerror_category@12@XZ),该符号在函数"void__cdeclboost::system::`dynamicinitializerfor'errno_ecat''(void)"(??__Eerrno_ecat@system@boost@@YAXXZ)中被引用1>CGALTEST510.obj:errorLNK2019:无法解析的外部符号__imp___gmpn_copyi,该符号在函数"public:__cdeclCGAL::Mpzf::Mpzf(structCGAL::Mpzfconst&)"(??0Mpzf@CGAL@@QEAA@AEBU01@@Z)中被引用1>G:\Cpp\Midaxis\CGALTEST510\x64\Debug\CGALTEST510.exe:fatalerrorLNK1120:10个无法解析的外部命令==========生成:成功0个,失败1个,最新0个,跳过0个==========
工具/原料
VS2013
怎样解决?
1、遇到这种问题一般都是由于缺少相应的库文件
2、右击项目,选择“属性”--“链接器”--“输入”--“附加依赖项”根据错虱忪招莫误中的提示在下图右边的红色框内添加相应的lib文件
3、再次编译运行即可避免此类错误产生
4、这是我们常见的错误,我们要学会解决
5、只有在不断地探索解决的时候才会有收获
6、这样对程序员才是一种欣喜,一种进步