
Hi, I'm still using Boost 1.35 on VC++ 2005 I had a code very well building and linking, only I had some charset problems at display. That's why I decided to switch my code to UNICODE (or like) switching all the std::string -> std::wstring In the area of boost, I also switched all the boost::filesystem::path -> boost::filesystem::wpath that was a long job, many particular cases were found for example, problemes with : boost::filesystem::exists boost::filesystem::current_path boost::filesystem::initial_path That I commented to compile. Here comes my main question !!!! Now I have some LINK problems. The librairy very well worked before, but no more now. See the error logs at the end. According to the linking log, here are the names of the libs I use (as you can see, that are STATIC Multi thread libs and that is what I want) : libboost_filesystem-vc80-mt-sgd-1_35.lib libboost_system-vc80-mt-sgd-1_35.lib libboost_thread-vc80-mt-sgd-1_35.lib libboost_date_time-vc80-mt-sgd-1_35.lib The link problems are on : boost::filesystem::detail::status_api boost::filesystem::detail::dir_itr_increment boost::filesystem::detail::dir_itr_first Error logs : Error 2 error LNK2019: unresolved external symbol "class boost::filesystem::file_status __cdecl boost::filesystem::detail::status_api(class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > const &,class boost::system::error_code &)" (?status_api@detail @filesystem@boost@@YA?AVfile_status@23@ABV?$basic_string@GU?$char_traits@G @std@@V?$allocator@G@2@@std@@AAVerror_code@system@3@@Z) referenced in function "bool __cdecl boost::filesystem::is_regular<class boost::filesystem::basic_path<class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short>
,struct boost::filesystem::wpath_traits> >(class boost::filesystem::basic_path<class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> ,struct boost::filesystem::wpath_traits> const &)" (??$is_regular@V ?$basic_path@V?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@ @Uwpath_traits@filesystem@boost@@@filesystem@boost@@@filesystem@boost @@YA_NABV?$basic_path@V?$basic_string@GU?$char_traits@G@std@@V?$allocator@G @2@@std@@Uwpath_traits@filesystem@boost@@@01@@Z) DirectoryInfoManager.obj
Error 3 error LNK2001: unresolved external symbol "class boost::filesystem::file_status __cdecl boost::filesystem::detail::status_api(class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > const &,class boost::system::error_code &)" (?status_api@detail @filesystem@boost@@YA?AVfile_status@23@ABV?$basic_string@GU?$char_traits@G @std@@V?$allocator@G@2@@std@@AAVerror_code@system@3@@Z) Patch.obj Error 4 error LNK2019: unresolved external symbol "class boost::system::error_code __cdecl boost::filesystem::detail::dir_itr_increment(void * &,class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > &,class boost::filesystem::file_status &,class boost::filesystem::file_status &)" (?dir_itr_increment@detail@filesystem@boost@@YA?AVerror_code@system @3@AAPAXAAV?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@ @AAVfile_status@23@2@Z) referenced in function "private: void __thiscall boost::filesystem::basic_directory_iterator<class boost::filesystem::basic_path<class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short>
,struct boost::filesystem::wpath_traits> >::increment(void)" (?increment@ ?$basic_directory_iterator@V?$basic_path@V?$basic_string@GU?$char_traits@G @std@@V?$allocator@G@2@@std@@Uwpath_traits@filesystem@boost@ @@filesystem@boost@@@filesystem@boost@@AAEXXZ) Patch.obj
Error 5 error LNK2019: unresolved external symbol "class boost::system::error_code __cdecl boost::filesystem::detail::dir_itr_first(void * &,class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > const &,class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > &,class boost::filesystem::file_status &,class boost::filesystem::file_status &)" (?dir_itr_first@detail@filesystem@boost@@YA?AVerror_code@system@3@AAPAXABV ?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@ @AAV67@AAVfile_status@23@3@Z) referenced in function "private: class boost::system::error_code __thiscall boost::filesystem::basic_directory_iterator<class boost::filesystem::basic_path<class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short>
,struct boost::filesystem::wpath_traits> >::m_init(class boost::filesystem::basic_path<class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> ,struct boost::filesystem::wpath_traits> const &)" (?m_init@ ?$basic_directory_iterator@V?$basic_path@V?$basic_string@GU?$char_traits@G @std@@V?$allocator@G@2@@std@@Uwpath_traits@filesystem@boost@ @@filesystem@boost@@@filesystem@boost@@AAE?AVerror_code@system@3@ABV ?$basic_path@V?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@ @Uwpath_traits@filesystem@boost@@@23@@Z) Patch.obj