Boost C++ Libraries: Ticket #1628: Lack of wide character support prevents boost.serialization from linking https://svn.boost.org/trac10/ticket/1628 <p> Using MSYS and MinGW Using latest SVN release </p> <p> MSYS's libstdc++ does not support wchar_t and thus all files that use wide characters have not compiled in MSYS. This hasn't been a problem in the past, the lib/dll/a files have always been generated and were linked fine. </p> <p> In the latest svn however, this was not the case. There was lots of failure surrounding: </p> <pre class="wiki">bin.v2\libs\serialization\build\gcc-mingw-3.4.5\release\threading-multi\codecvt_null.o:codecvt_null.cpp:(.rdata$_ZTVSt7codecvtIwciE[vtable for std::codecvt&lt;wchar_t, char, int&gt;]+0x28): undefined reference to `std::codecvt&lt;wchar_t, char, int&gt;::do_max_length() const' </pre><p> etc.... </p> <p> So I deleted most of codecvt_null.cpp leaving only the boost macro at the top and the include for codecvt_null.hpp. This "worked". It linked together and I now have my nice serialization library sitting waiting for me to test out. </p> <p> Hopefully I specified the correct ticket properties... I got a bit confused. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1628 Trac 1.4.3 Marshall Clow Fri, 08 Feb 2008 16:28:39 GMT component changed; owner set https://svn.boost.org/trac10/ticket/1628#comment:1 https://svn.boost.org/trac10/ticket/1628#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Robert Ramey</span> </li> <li><strong>component</strong> <span class="trac-field-old">Building Boost</span> → <span class="trac-field-new">serialization</span> </li> </ul> Ticket cole@… Fri, 08 Feb 2008 18:57:52 GMT <link>https://svn.boost.org/trac10/ticket/1628#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1628#comment:2</guid> <description> <p> To clarify, if this helps. I had problems with building boost in windows and in ubuntu, but I am happy to say that "bjam stage" and "bjam stage install" were successful in both. </p> <p> That is, after I edited iterator_something.hpp for a missing paranthesis in a boost macro used at the top/bottom of the file but I can imagine that this has already been resolved in the svn. I will check tonight and if not, file another bug report. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Tue, 25 Mar 2008 19:21:38 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/1628#comment:3 https://svn.boost.org/trac10/ticket/1628#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket