Ubuntu and boost::serialization (updated)

We are looking at using boost::serialization for our serialization needs in Protocce. However, I cannot get even a simple test to work in Ubuntu, so I filed a bug. It works fine in Visual C++ 2005 Express, but you do not have to tell VC++ which libraries to link. It handles that automatically using #pragma directives. I’m not sure if I’m doing something dumb like not linking in a library I should, but I tried adding several other boost libraries to the command line. It didn’t seem to make a difference. Collin had the same errors, so it seems like either we are missing a library or there actually is a bug.

Update: Posted to gamedev.net and figured out that I just needed to put the “-lboost_serialization” at the end of the command. That’s good to know!

Leave a Reply