Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization] link error and exception onget_key
From: Daniel Roberts (impulsionaudio_at_[hidden])
Date: 2009-01-16 00:30:25


Thanks, I had both macros in the header file. I moved the BOOST_CLASS_EXPORT
macro to the cpp file and that seems to have fixed it. Now I just need to
get things working in my own code.

Thanks again.

does the header file of polymorphic_derived1's include the following?

BOOST_CLASS_TYPE_INFO(

polymorphic_derived1,

extended_type_info_no_rtti<polymorphic_derived1>

)

Also, the *.cpp file of polymorphic_derived1 should contain

BOOST_CLASS_EXPORT(polymorphic_derived1)
Robert Ramey



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