Boost logo

Boost Users :

From: Holmes, Michael A \(Mike\) (mikeholmes_at_[hidden])
Date: 2004-12-07 14:30:15


> 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@@@s
> td@@@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 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