
I changed the config.jam file to point to the STLPORT installation. My command to build boost libs is : run bjam toolset=msvc stdlib=stlport stage All the libraries are built ( both serialization and wserialization are there) 2 of the linker errors are: BinarySerialization.obj : error LNK2001: unresolved external symbol "protected: __thiscall boost::archive::text_oarchive_impl<class boost::archive::text_oarchive>::text_oarchive_impl<class boost::archive::text_oarchive>(class stlpmtx_std::basic_ostream<char,class stlpmtx_std::char_traits<char> > &,unsigned int)" (??0?$text_oarchive_impl@Vtext_oarchive@archive@boost@@@archive@boost@@IAE@AAV?$basic_ostream@DV?$char_traits@D@stlpmtx_std@@@stlpmtx_std@@I@Z) libboost_serialization-vc90-mt-p-1_40.lib(extended_type_info_typeid.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl stlp_std::__node_alloc::deallocate(void *,unsigned int)" (__imp_?deallocate@__node_alloc@stlp_std@@SAXPAXI@Z) Thanks Steven Watanabe-4 wrote:
AMDG
Mangal wrote:
I am using STLPort 5.2.1 and Boost1_40_0 with MSVC 9.0. I have successfully compiled boost libs with STLPort and am using the Graph, filesystem and DateTime libraries. I use dynamic linking of STLPort libs. All the projects build and run fine.
Today I started looking at the serialization library and just compiling the basic demo threw a 100 linker errors. All the paths for boost libs and STLPort binaries are correct.
This is on a 64 bit system.
When i ran the same code for serialization on a 32 bit box it compiled and ran fine.
Is there some setting I am missing for 64 bit systems?
Can you post
a) the error messages (at least the first one) b) the command(s) that you used to build boost.
In Christ, Steven Watanabe
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/linker-error-with-Boost-serialization-on-64-bit-box.-W... Sent from the Boost - Users mailing list archive at Nabble.com.