1

我的项目设置: /I"..\ANTLR_LIB" /I"..\eNITL" /I"......\boost" /ZI /nologo /W3 /WX- /MP /Od /Oy- /D "WIN32" /D "_D​​EBUG" /D "_CONSOLE" /D "_VC80_UPGRADE=0x0710" /D "_UNICODE" /D "UNICODE" /D "BOOST_USE_WINDOWS_H" /GF- /Gm- /EHsc /RTC1 /MTd /GS / Gy /fp:precise /Zc:wchar_t /Zc:forScope /Yu"StdAfx.h" /Fp"Debug\PIDL_UnProtect.pch" /Fa"Debug\" /Fo"Debug\" /Fd"Debug\vc100.pdb" /Gz /wd"4996" /analyze- /errorReport:queue

链接提升库:

boost\bin.v2\libs\system\build\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\libboost_system-vc100-mt-sgd-1_48.lib boost\bin.v2\libs \filesystem\build\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\libboost_filesystem-vc100-mt-sgd-1_48.lib

但是发生了这个错误。什么问题??

错误 LNK2019:未解析的外部符号“void __stdcall boost::filesystem3::path_traits::convert(char const *,char const *,class std::basic_string,class std::allocator > &,class std::codecvt const &) " (?convert@path_traits@filesystem3@boost@@YGXPBD0AAV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@ABV?$codecvt@_WDH@5@@ Z) 在函数“void __stdcall boost::filesystem3::path_traits::dispatch,class std::allocator > >(class std::basic_string,class std::allocator > const &,class std::basic_string,class std ::allocator > &,class std::codecvt const &)"(??$dispatch@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@path_traits@filesystem3@boost@@YGXABV?$basic_string@DU?$ char_traits@D@std@@V?$allocator@D@2@@std@@AAV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@4@ABV?$ codecvt@_WDH@4@@Z) 3>PIDL.obj : error LNK2001: unresolved external symbol "void __stdcall boost::filesystem3::path_traits::convert(char const *,char const *,class std::basic_string,class std::allocator > &,class std::codecvt const &)" (?convert@path_traits@filesystem3@boost@@YGXPBD0AAV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2 @@std@@ABV?$codecvt@_WDH@5@@Z) 3>Backend.obj:错误 LNK2019:未解析的外部符号“void __stdcall boost::filesystem3::path_traits::convert(wchar_t const *,wchar_t const * ,类std::basic_string,类std::allocator > &,类 std::codecvt const &)" (?convert@path_traits@filesystem3@boost@@YGXPB_W0AAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV? $codecvt@_WDH@5@@Z) 在函数“public: class std::basic_string,class std::allocator > const __thiscall boost::filesystem3::path::string(class std::codecvt const &)const 中引用" (?string@path@filesystem3@boost@@QBE?BV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV?$codecvt@_WDH@5 @@Z) 3>PIDL.obj : error LNK2001: unresolved external symbol "void __stdcall boost::filesystem3::path_traits::convert(wchar_t const *,wchar_t const *,class std::basic_string,class std::allocator > &,类 std::codecvt const &)"(?convert@path_traits@filesystem3@boost@@YGXPB_W0AAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV?$codecvt@_WDH@5@@Z ) 3>Backend.obj : error LNK2019: unresolved external symbol "private: static class std::codecvt const * & __stdcall boost::filesystem3::path::wchar_t_codecvt_facet(void)" (?wchar_t_codecvt_facet@path@filesystem3@boost@ @CGAAPBV?$codecvt@_WDH@std@@XZ) 在函数“public: static class std::codecvt const & __stdcall boost::filesystem3::path::codecvt(void)”(?codecvt@path@filesystem3@ boost@@SGABV?$codecvt@_WDH@std@@XZ) 3>PIDL.obj:错误 LNK2001:未解析的外部符号“私有:静态类 std::codecvt const * & __stdcall boost::filesystem3::path::wchar_t_codecvt_facet (空白)”(?wchar_t_codecvt_facet@path@filesystem3@boost@@CGAAPBV?$codecvt@_WDH@std@@XZ) 3>PIDL.obj : 错误 LNK2019: 未解析的外部符号 "class boost::filesystem3::file_status __stdcall boost::filesystem3: :detail::status(class boost::filesystem3::path const &,class boost::system::error_code *)" (?status@detail@filesystem3@boost@@YG?AVfile_status@23@ABVpath@23@PAVerror_code @system@3@@Z) 在函数 "bool __stdcall boost::filesystem3::exists(class boost::filesystem3::path const &)" (?exists@filesystem3@boost@@YG_NABVpath@12@@Z) 中引用3>PIDL.obj:错误 LNK2019:未解析的外部符号“bool __stdcall boost::filesystem3::detail::create_directory(class boost::filesystem3::path const &,class boost::system::error_code *)”(?create_directory@detail@filesystem3@boost@@YG_NABVpath@23@PAVerror_code@system@3@@Z) 在函数“bool __stdcall boost::filesystem3::create_directory(class boost::filesystem3::path const &)”中引用(?create_directory@filesystem3@boost@@YG_NABVpath@12@@Z) 3>PIDL.obj : error LNK2019: unresolved external symbol "class boost::filesystem3::path __stdcall boost::filesystem3::detail::initial_path(class boost::system::error_code *)" (?initial_path@detail@filesystem3@boost@@YG?AVpath@23@PAVerror_code@system@3@@Z) 在函数 "class boost::filesystem3::path __stdcall boost 中引用::filesystem3::initial_path(void)" (?initial_path@filesystem3@boost@@YG?AVpath@12@XZ) 3>PIDL.obj : error LNK2019: unresolved external symbol "bool __stdcall boost::filesystem3::detail: :remove(class boost::filesystem3::path const &,class boost::system::error_code *)" (?remove@detail@filesystem3@boost@@YG_NABVpath@23@PAVerror_code@system@3@@Z) 在函数“bool __stdcall boost::filesystem3: :remove(class boost::filesystem3::path const &)" (?remove@filesystem3@boost@@YG_NABVpath@12@@Z) 3>PIDL.obj : error LNK2019: unresolved external symbol "void __stdcall boost::filesystem3 ::detail::directory_iterator_construct(class boost::filesystem3::directory_iterator &,class boost::filesystem3::path const &,class boost::system::error_code *)" (?directory_iterator_construct@detail@filesystem3@boost@@ YGXAAVdirectory_iterator@23@ABVpath@23@PAVerror_code@system@3@@Z) 在函数“public: __thiscall boost::filesystem3::directory_iterator::directory_iterator(class boost::filesystem3::path const &)”中引用(??0directory_iterator@filesystem3@boost@@QAE@ABVpath@12@@Z) 3>PIDL.obj : 错误 LNK2019: 无法解析的外部符号 "void __stdcall boost::filesystem3::detail::directory_iterator_increment(class boost::filesystem3 ::directory_iterator &,class boost::system::error_code *)" (?directory_iterator_increment@detail@filesystem3@boost@@YGXAAVdirectory_iterator@23@PAVerror_code@system@3@@Z) 在函数“private: void __thiscall boost: :filesystem3::directory_iterator::increment(void)" (?increment@directory_iterator@filesystem3@boost@@AAEXXZ) 3>PIDL.obj : 错误 LNK2019: 无法解析的外部符号 "class boost::system::error_code __stdcall boost::函数“public:__thiscall boost::filesystem3::detail::dir_itr_imp::~dir_itr_imp(void)" (??1dir_itr_imp@detail@filesystem3@boost@@QAE@XZ) 3>stdafx.obj : error LNK2019: unresolved external symbol "class boost ::system::error_category const & __stdcall boost::system::generic_category(void)" (?generic_category@system@boost@@YGABVerror_category@12@XZ) 在函数“void __cdecl boost::system::”中引用dynamic initializer for 'posix_category''(void)" (??__Eposix_category@system@boost@@YAXXZ) 3>stdafx.obj : error LNK2019: unresolved external symbol "class boost::system::error_category const & __stdcall boost::system::system_category(void)" (?system_category@system@boost@@YGABVerror_category@12@XZ) referenced in function "void __cdecl boost::system::'native_ecat''(void)" (??__Enative_ecat@system@boost@@YAXXZ) 的动态初始化程序

4

0 回答 0