Boost.Serialization problems in VC 7.1

Hi, I'm trying to get the boost.serialization library to work, but I'm having some problems. I'm running VC 7.1, and I've tried both boost 1.32, and the latest CVS. I manage to compile and install the library, but when I try to compile and run the demo application that comes with it, I get a runtime error. It's compiling and linking perfectly, but at runtime I get a message box saying: "Unhandled exception at 0x7c59bbf3 in Test.exe: Microsoft C++ exception: __non_rtti_object @ 0x0012f8b0." Anyone had a problem like this before? Anyone know how to fix it?

It looks like you're building with out rtti enabled. with the vc 7.1 this is disabled by default Robert Ramey James Trotter wrote:
Hi,
I'm trying to get the boost.serialization library to work, but I'm having some problems. I'm running VC 7.1, and I've tried both boost 1.32, and the latest CVS.
I manage to compile and install the library, but when I try to compile and run the demo application that comes with it, I get a runtime error. It's compiling and linking perfectly, but at runtime I get a message box saying:
"Unhandled exception at 0x7c59bbf3 in Test.exe: Microsoft C++ exception: __non_rtti_object @ 0x0012f8b0."
Anyone had a problem like this before? Anyone know how to fix it?
participants (2)
-
James Trotter
-
Robert Ramey