FW: VS 7.1 and boost-1_32 serialization error LNK2019: unresolved external symbolsounds like the approrpriate libraries from your boost/stage directory are not being included.
follow instructions for boost stage
you should end up with a directory with a bunch of libraries in it
figure out which one to include in yoru project properties.
Robert Ramey
"Holmes, Michael A (Mike)" wrote in message news:A58A470FA97DB74A9CC7687166D577E638B389@pauex2ku08.agere.com...
I have just installed the latest boost library and managed to run the serialization demo from the included VS7 project. However being a skeptic I thought I would build the demo myself before committing to a real use of the library. I made a new win32 console application and pasted in the serialization demo.cpp code and it fails with errors like the one shown.
boostTest1.obj : error LNK2019: unresolved external symbol "public: __thiscall boost::archive::basic_text_oprimitive >::~basic_text_oprimitive >(void)" (??1?$basic_text_oprimitive@V?$basic_ostream@DU?$char_traits@D@std@@@std@@@archive@boost@@QAE@XZ) referenced in function "public: virtual __thiscall boost::archive::text_oarchive_impl<class boost::archive::text_oarchive>::~text_oarchive_impl<class boost::archive::text_oarchive>(void)" (??1?$text_oarchive_impl@Vtext_oarchive@archive@boost@@@archive@boost@@UAE@XZ)
I did make sure that
"c:\boost\include\boost-1_32" is in the Tools - options - projects - vc++ directories - include files
"C:\boost\lib" is in the Tools - options - projects - vc++ directories - library file
And I included "C:\boost\lib" explicitly for the project
I have been looking for the answer with Google search for a couple of hours, it must be something stupid on my part, any pointers appreciated.
Thanks Mike
------------------------------------------------------------------------------
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users