CGAL错误LNK2019:未解析的外部符号

时间:2015-05-19 06:32:07

标签: boost visual-studio-2013 lnk2019 cgal

我正在使用Boost 1.58.0 32位构建CGAL 4.6 32位...使用cmake gui 3.2.2

生成没有错误

但是当我尝试使用visual studio 2013构建它时,我收到以下错误:

all_files.obj : error LNK2019: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAAEBVerror_category@12@XZ) referenced in function "void __cdecl boost::system::`dynamic initializer for 'native_ecat''(void)" (??__Enative_ecat@system@boost@@YAXXZ)

>all_files.obj : error LNK2019: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAAEBVerror_category@12@XZ) referenced in function "void __cdecl boost::system::`dynamic initializer for 'errno_ecat''(void)" (??__Eerrno_ecat@system@boost@@YAXXZ)

>all_files.obj : error LNK2019: unresolved external symbol "void __cdecl boost::detail::set_tss_data(void const *,class boost::shared_ptr<struct boost::detail::tss_cleanup_function>,void *,bool)" (?set_tss_data@detail@boost@@YAXPEBXV?$shared_ptr@Utss_cleanup_function@detail@boost@@@2@PEAX_N@Z) referenced in function "public: __cdecl boost::thread_specific_ptr<int>::~thread_specific_ptr<int>(void)" (??1?$thread_specific_ptr@H@boost@@QEAA@XZ)

>C:\Program Files\CGAL-4.6\bin\Release\CGAL-vc120-mt-4.6.dll : fatal error LNK1120: 3 unresolved externals

有人可以帮忙吗? [顺便说一下,它试图为x64构建解决方案,如果我将其更改为wix32,则会跳过构建。]

0 个答案:

没有答案