我的项目设定: /I"..\ANTLR_LIB" /I"..\eNITL" /I"......\boost" / ZI / nologo / W3 / WX- / MP / Od / Oy- / D" WIN32" / D" _DEBUG" / 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" SCAfx.h" /Fp"Debug\PIDL_UnProtect.pch" / FA"调试\" / FO"调试\" /Fd"Debug\vc100.pdb" / Gz / wd" 4996" / analyze- / errorReport:queue
链接提升库:
升压\ bin.v2 \库\ SYSTEM \构建\ MSVC-10.0 \调试\链路静电\运行时链接静电\线程的多\ libboost_system-VC100-MT-SGD-1_48.lib 助推\ bin.v2 \库\文件系统\构建\ MSVC-10.0 \调试\链路静电\运行时链接静电\线程的多\ 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>&amp ;, class std :: codecvt const&)" (?转换@ path_traits @ filesystem3 @升压@@ YGXPBD0AAV?$ @的basic_string _WU?$ @ char_traits @ _W性病@@ V'$ @分配器@ _W 2 @@性病@@ ABV?$ @的codecvt @ _WDH 5 @@ž )函数" 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&)" (?? $ @派遣V'$ @的basic_string _WU?$ @ char_traits @ _W性病@@ V'$ @分配器@ _W 2 @@ STD @@@ path_traits @ filesystem3 @升压@@ YGXABV?$ @的basic_string杜?$ char_traits @ d @ @@ STD V'$分配器@ d @ @@ 2 STD @@ AAV?$ basic_string的@ _WU?$ char_traits @ _W @ @@ STD V'$分配器@ _W @ @@ 2 4 @ ABV?$的codecvt @ _WDH @ @@ 4 Z)
3> PIDL.obj:错误LNK2001:未解析的外部符号" void __stdcall boost :: filesystem3 :: path_traits :: convert(char const *,char const *,class std :: basic_string,class std :: allocator> &,class std :: codecvt const&)" (?转换@ path_traits @ filesystem3 @升压@@ YGXPBD0AAV?$ @的basic_string _WU?$ @ char_traits @ _W性病@@ V'$ @分配器@ _W 2 @@性病@@ ABV?$ @的codecvt @ _WDH 5 @@ž )
3> Backend.obj:错误LNK2019:未解析的外部符号" void __stdcall boost :: filesystem3 :: path_traits :: convert(wchar_t const *,wchar_t const *,class std :: basic_string,class std :: allocator> &,class std :: codecvt const&)" (?转换@ path_traits @ filesystem3 @升压@@ YGXPB_W0AAV?$ @的basic_string杜?$ @ char_traits @ d @@性病V'$ @分配器@ d @@ 2性病@@ ABV?$ @的codecvt @ _WDH 5 @@ž在函数" public中引用:class std :: basic_string,class std :: allocator> const __thiscall boost :: filesystem3 :: path :: string(class std :: codecvt const&)const" (?串@路径@ filesystem3 @ @@升压QBE?BV?$ basic_string的@ DU?$ char_traits @ d @ @@ STD V'$分配器@ d @ @@ 2 STD @@ ABV?$ @的codecvt @ _WDH 5 @ @Z)
3> PIDL.obj:错误LNK2001:未解析的外部符号" void __stdcall boost :: filesystem3 :: path_traits :: convert(wchar_t const *,wchar_t const *,class std :: basic_string,class std :: allocator> &,class std :: codecvt const&)" (?转换@ path_traits @ filesystem3 @升压@@ YGXPB_W0AAV?$ @的basic_string杜?$ @ char_traits @ d @@性病V'$ @分配器@ d @@ 2性病@@ ABV?$ @的codecvt @ _WDH 5 @@ž )
3> Backend.obj:错误LNK2019:未解析的外部符号" 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& amp; __stdcall boost :: filesystem3 :: path :: codecvt(void)" (?@的codecvt路径@ filesystem3 @升压@@ SGABV?$ @的codecvt @ _WDH性病@@ XZ)
3> PIDL.obj:错误LNK2001:未解析的外部符号" private:static class std :: codecvt const *& __stdcall boost :: filesystem3 :: path :: wchar_t_codecvt_facet(void)" (?wchar_t_codecvt_facet @路径@ filesystem3 @升压@@ CGAAPBV?$ @的codecvt @ _WDH性病@@ XZ)
3> PIDL.obj:错误LNK2019:未解析的外部符号"类boost :: filesystem3 :: file_status __stdcall boost :: filesystem3 :: detail :: status(类boost :: filesystem3 :: path const&,类boost :: system :: error_code *)" (?status @ detail @ filesystem3 @ boost @@ YG?AVfile_status @ 23 @ ABVpath @ 23 @ PAVerror_code @system @ 3 @@ Z)在函数&#34中引用; bool __stdcall boost :: filesystem3 :: exists(class boost: :filesystem3 :: path const&)" (?存在@ filesystem3 @升压@@ YG_NABVpath @ 12 @@ Z)
3> PIDL.obj:错误LNK2019:未解析的外部符号" bool __stdcall boost :: filesystem3 :: detail :: create_directory(类boost :: filesystem3 :: path const&,类boost :: system :: error_code * )" (?create_directory @ detail @ filesystem3 @ boost @@ YG_NABVpath @ 23 @ PAVerror_code @system @ 3 @@ Z)in function" bool __stdcall boost :: filesystem3 :: create_directory(class boost :: filesystem3 :: path const &安培;)" (?create_directory @ filesystem3 @升压@@ YG_NABVpath @ 12 @@ Z)
3> PIDL.obj:错误LNK2019:未解析的外部符号"类boost :: filesystem3 :: path __stdcall boost :: filesystem3 :: detail :: initial_path(类boost :: system :: error_code *)" (?initial_path @ detail @ filesystem3 @ boost @@ YG?AVpath @ 23 @ PAVerror_code @system @ 3 @@ Z)在函数"类boost :: filesystem3 :: path __stdcall boost :: filesystem3 :: initial_path(空隙)" (?initial_path @ filesystem3 @升压@@ YG?AVpath @ 12 @ XZ)
3> PIDL.obj:错误LNK2019:未解析的外部符号" bool __stdcall boost :: filesystem3 :: detail :: remove(类boost :: filesystem3 :: path const&,类boost :: system :: error_code * )" (?remove @ detail @ filesystem3 @ boost @@ YG_NABVpath @ 23 @ PAVerror_code @ system @ 3 @@ Z)在函数" bool __stdcall boost :: filesystem3 :: remove(类boost :: filesystem3 :: path const)中引用&安培;)" (?删除@ filesystem3 @升压@@ YG_NABVpath @ 12 @@ Z)
3> PIDL.obj:错误LNK2019:未解析的外部符号" void __stdcall boost :: filesystem3 :: detail :: directory_iterator_construct(类boost :: filesystem3 :: directory_iterator&,类boost :: filesystem3 :: path const& amp; ;,类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 @ @@升压QAE @ ABVpath @ 12 @@ Z)
3> PIDL.obj:错误LNK2019:未解析的外部符号" void __stdcall boost :: filesystem3 :: detail :: directory_iterator_increment(类boost :: filesystem3 :: directory_iterator&,类boost :: system :: error_code *) "函数" private:void __thiscall boost :: filesystem3 :: directory_iterator :: increment(void)&#中引用了(?directory_iterator_increment @ detail @ filesystem3 @ boost @@ YGXAAVdirectory_iterator @ 23 @ PAVerror_code @ system @ 3 @@ Z) 34; (?增量@ directory_iterator @ filesystem3 @升压@@ AAEXXZ)
3> PIDL.obj:错误LNK2019:未解析的外部符号"类boost :: system :: error_code __stdcall boost :: filesystem3 :: detail :: dir_itr_close(void *&)"函数" public中引用了(?dir_itr_close @ detail @ filesystem3 @ boost @@ YG?AVerror_code @system @ 3 @ AAPAX @ Z):public:__ thiscall boost :: filesystem3 :: detail :: dir_itr_imp :: ~dir_itr_imp(void) " (?? 1dir_itr_imp @细节@ filesystem3 @ @@升压QAE @ XZ)
3> stdafx.obj:错误LNK2019:未解析的外部符号"类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'' (空隙)" (?? __ Enative_ecat @系统@ @@升压YAXXZ)