Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2004-12-07 17:03:43


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)" <mikeholmes_at_[hidden]> wrote in message news:A58A470FA97DB74A9CC7687166D577E638B389_at_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<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_at_V?$basic_ostream_at_DU?$char_traits_at_D@std@@@std@@@archive_at_boost@@QAE_at_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_at_Vtext_oarchive_at_archive@boost@@@archive_at_boost@@UAE_at_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_at_[hidden]
  http://lists.boost.org/mailman/listinfo.cgi/boost-users



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net