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)