<br clear="all">A grep of boost-cmake-1_41_0<br><br>$ grep -R WSERIALIZATION� *<br>boost-cmake-1_41_0/tools/build/CMake/docs/build/html/build_configuration.html:BUILD_BOOST_WSERIALIZATION������ ON<br>boost-cmake-1_41_0/tools/build/CMake/docs/build/html/_sources/build_configuration.txt:�� BUILD_BOOST_WSERIALIZATION������ ON <br> boost-cmake-1_41_0/tools/build/CMake/docs/source/build_configuration.rst:�� BUILD_BOOST_WSERIALIZATION������ ON <br><br>so it only appears in the documentation <br><br>And lowercase search results in:<br>�grep -R wserialization� *<br> boost-cmake-1_41_0/boost/archive/detail/auto_link_warchive.hpp:#define BOOST_LIB_NAME boost_wserialization<br>boost-cmake-1_41_0/Jamroot:explicit-alias wserialization : libs/serialization/build//boost_wserialization ;<br> boost-cmake-1_41_0/libs/serialization/build/Jamfile.v2:lib boost_wserialization <br>boost-cmake-1_41_0/libs/serialization/build/Jamfile.v2:boost-install boost_serialization boost_wserialization ;<br>boost-cmake-1_41_0/libs/serialization/src/CMakeLists.txt:boost_add_library(wserialization<br> boost-cmake-1_41_0/libs/serialization/test/CMakeLists.txt:������� set(BSL_TEST_LIBRARIES "boost_wserialization" ${BSL_TEST_LIBRARIES})<br>boost-cmake-1_41_0/libs/serialization/util/test.jam:����������� ../build//boost_wserialization<br> boost-cmake-1_41_0/libs/serialization/vc7ide/LibraryW.vcproj:�������������������������� OutputFile="$(ConfigurationName)\boost_wserialization-vc71-mt-gd-1_41.dll"<br>boost-cmake-1_41_0/libs/serialization/vc7ide/LibraryW.vcproj:������������������ OutputDirectory="&quot;$(ProjectDir)..\..\..\bin\boost\libs\serialization\build\libboost_wserialization.lib\msvc-7.1\release\threading-multi\link-static&quot;"<br> boost-cmake-1_41_0/libs/serialization/vc7ide/LibraryW.vcproj:�������������������������� OutputFile="$(ConfigurationName)\libboost_wserialization-vc71-mt-sgd-1_41.lib"/><br>boost-cmake-1_41_0/tools/build/CMake/install_me/BoostConfig.cmake:� set(Boost_FIND_COMPONENTS "filesystem;system;wserialization;thread;date_time")<br> <br>so no dice.<br><br>This appears to be confirmed by:<br><br><a href="https://svn.boost.org/trac/boost/ticket/3757">https://svn.boost.org/trac/boost/ticket/3757</a><br><br>A simple addition of if/endif wrap of wserialization in boost-cmake-1_41_0/libs/serialization/src/CMakeLists.txt:<br> <br>if( BUILD_BOOST_WSERIALIZATION )<br>boost_add_library(wserialization<br><br>� basic_text_wiprimitive.cpp<br>� basic_text_woprimitive.cpp<br>� text_wiarchive.cpp<br>� text_woarchive.cpp<br>� utf8_codecvt_facet.cpp<br>� xml_wgrammar.cpp<br> � xml_wiarchive.cpp<br>� xml_woarchive.cpp<br>� codecvt_null.cpp<br><br>� SHARED_COMPILE_FLAGS -DBOOST_SERIALIZATION_DYN_LINK=1<br>� DEPENDS boost_serialization<br>� )<br>endif()<br><br>makes it go poofdy.... gone.<br><br> and the unified diff:<br><br>--- libs/serialization/src/CMakeLists.txt��� Mon Jan 19 16:26:36 1970<br>+++ libs/serialization/src/CMakeLists.txt��� Mon Jan 19 16:26:36 1970<br>@@ -39,6 +39,7 @@<br>�� SHARED_COMPILE_FLAGS -DBOOST_SERIALIZATION_DYN_LINK=1<br> �� )<br>�<br>+if( BUILD_BOOST_WSERIALIZATION )<br>�boost_add_library(wserialization<br>�<br>�� basic_text_wiprimitive.cpp<br>@@ -54,3 +55,4 @@<br>�� SHARED_COMPILE_FLAGS -DBOOST_SERIALIZATION_DYN_LINK=1<br>�� DEPENDS boost_serialization<br> �� )<br>+endif()<br>\ No newline at end of file<br><br>I would like to know why wide char serialization is not working or how I and get it to work on VS2008 what I get is:<br><br>3>xml_wgrammar.obj : warning LNK4049: locally defined symbol ??_Darchive_exception@archive@boost@@QEAAXXZ (public: void __cdecl boost::archive::archive_exception::`vbase destructor'(void)) imported<br> 3>xml_wiarchive.obj : warning LNK4049: locally defined symbol ??_Darchive_exception@archive@boost@@QEAAXXZ (public: void __cdecl boost::archive::archive_exception::`vbase destructor'(void)) imported<br>3>xml_woarchive.obj : warning LNK4049: locally defined symbol ??_Darchive_exception@archive@boost@@QEAAXXZ (public: void __cdecl boost::archive::archive_exception::`vbase destructor'(void)) imported<br> ...<br>...<br>... yes there appears to be gobs and gobs more of this where ever this came from.<br>...<br>...<br>3>xml_wiarchive.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: unsigned int __cdecl boost::archive::detail::basic_iarchive::get_flags(void)const " (__imp_?get_flags@basic_iarchive@detail@archive@boost@@QEBAIXZ) referenced in function "protected: void __cdecl boost::archive::basic_xml_iarchive<class boost::archive::naked_xml_wiarchive>::load_end(char const *)" (?load_end@?$basic_xml_iarchive@Vnaked_xml_wiarchive@archive@boost@@@archive@boost@@IEAAXPEBD@Z)<br> <br><br>