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<class std::basic_ostream<char,struct std::char_traits<char> > >::~basic_text_oprimitive<class std::basic_ostream<char,struct std::char_traits<char> > >(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