<div dir="ltr">Hi,<br><br>I&#39;m still using Boost 1.35 on VC++ 2005<br><br>I had a code very well building and linking, only I had some charset problems at display.<br>That&#39;s why I decided to switch my code to UNICODE (or like) switching all the<br>
std::string -&gt; std::wstring<br>In the area of boost, I also switched all the<br>boost::filesystem::path -&gt; boost::filesystem::wpath<br><br>that was a long job, many particular cases were found for example, problemes with :<br>
boost::filesystem::exists<br>boost::filesystem::current_path<br>boost::filesystem::initial_path<br>That I commented to compile.<br><br><br>Here comes my main question !!!!<br><br>Now I have some LINK problems.&nbsp; The librairy very well worked before, but no more now.<br>
<br>See the error logs at the end.<br><br>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) :<br>libboost_filesystem-vc80-mt-sgd-1_35.lib<br>
libboost_system-vc80-mt-sgd-1_35.lib<br>libboost_thread-vc80-mt-sgd-1_35.lib<br>libboost_date_time-vc80-mt-sgd-1_35.lib<br><br><br>The link problems are on :<br>boost::filesystem::detail::status_api<br>boost::filesystem::detail::dir_itr_increment<br>
boost::filesystem::detail::dir_itr_first<br><br><br>Error logs :<br><br>Error&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp; error LNK2019: unresolved external symbol &quot;class boost::filesystem::file_status __cdecl boost::filesystem::detail::status_api(class std::basic_string&lt;unsigned short,struct std::char_traits&lt;unsigned short&gt;,class std::allocator&lt;unsigned short&gt; &gt; const &amp;,class boost::system::error_code &amp;)&quot; (?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 &quot;bool __cdecl boost::filesystem::is_regular&lt;class boost::filesystem::basic_path&lt;class std::basic_string&lt;unsigned short,struct std::char_traits&lt;unsigned short&gt;,class std::allocator&lt;unsigned short&gt; &gt;,struct boost::filesystem::wpath_traits&gt; &gt;(class boost::filesystem::basic_path&lt;class std::basic_string&lt;unsigned short,struct std::char_traits&lt;unsigned short&gt;,class std::allocator&lt;unsigned short&gt; &gt;,struct boost::filesystem::wpath_traits&gt; const &amp;)&quot; (??$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)&nbsp;&nbsp;&nbsp; DirectoryInfoManager.obj<br>
<br>Error&nbsp;&nbsp;&nbsp; 3&nbsp;&nbsp;&nbsp; error LNK2001: unresolved external symbol &quot;class boost::filesystem::file_status __cdecl boost::filesystem::detail::status_api(class std::basic_string&lt;unsigned short,struct std::char_traits&lt;unsigned short&gt;,class std::allocator&lt;unsigned short&gt; &gt; const &amp;,class boost::system::error_code &amp;)&quot; (?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)&nbsp;&nbsp;&nbsp; Patch.obj<br>
<br>Error&nbsp;&nbsp;&nbsp; 4&nbsp;&nbsp;&nbsp; error LNK2019: unresolved external symbol &quot;class boost::system::error_code __cdecl boost::filesystem::detail::dir_itr_increment(void * &amp;,class std::basic_string&lt;unsigned short,struct std::char_traits&lt;unsigned short&gt;,class std::allocator&lt;unsigned short&gt; &gt; &amp;,class boost::filesystem::file_status &amp;,class boost::filesystem::file_status &amp;)&quot; (?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 &quot;private: void __thiscall boost::filesystem::basic_directory_iterator&lt;class boost::filesystem::basic_path&lt;class std::basic_string&lt;unsigned short,struct std::char_traits&lt;unsigned short&gt;,class std::allocator&lt;unsigned short&gt; &gt;,struct boost::filesystem::wpath_traits&gt; &gt;::increment(void)&quot; (?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)&nbsp;&nbsp;&nbsp; Patch.obj<br>
<br>Error&nbsp;&nbsp;&nbsp; 5&nbsp;&nbsp;&nbsp; error LNK2019: unresolved external symbol &quot;class boost::system::error_code __cdecl boost::filesystem::detail::dir_itr_first(void * &amp;,class std::basic_string&lt;unsigned short,struct std::char_traits&lt;unsigned short&gt;,class std::allocator&lt;unsigned short&gt; &gt; const &amp;,class std::basic_string&lt;unsigned short,struct std::char_traits&lt;unsigned short&gt;,class std::allocator&lt;unsigned short&gt; &gt; &amp;,class boost::filesystem::file_status &amp;,class boost::filesystem::file_status &amp;)&quot; (?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 &quot;private: class boost::system::error_code __thiscall boost::filesystem::basic_directory_iterator&lt;class boost::filesystem::basic_path&lt;class std::basic_string&lt;unsigned short,struct std::char_traits&lt;unsigned short&gt;,class std::allocator&lt;unsigned short&gt; &gt;,struct boost::filesystem::wpath_traits&gt; &gt;::m_init(class boost::filesystem::basic_path&lt;class std::basic_string&lt;unsigned short,struct std::char_traits&lt;unsigned short&gt;,class std::allocator&lt;unsigned short&gt; &gt;,struct boost::filesystem::wpath_traits&gt; const &amp;)&quot; (?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)&nbsp;&nbsp;&nbsp; Patch.obj<br>
<br></div>

