Jean-Denis Muys wrote:
Well, I spent a large number of hours since my original message, and while I learned a lot, I could not solve my problem and I am about to give up using Boost.
Here is what I managed to find out:
- first an foremost, the example works fine when compiled and run from the terminal using the following command:
c++ demo.cpp -o demo /usr/local/lib/libboost_serialization.dylib
- the crash happens when running the example from the XCode IDE. Since my real project is developed using XCode, this is a show-stopper.
Well, clearly it's a build issue. So this problem will likely come up using any boost library. I don't think that tracing into the serialization code is going to be very helpful. The only thing I could suggest is to detemine what the command line XCode IDE is using and compare it to the one used above or with the one generated by bjam. Robert Ramey