q1w2e3r4 wrote:The only output I get is:
Code: Select all
main() caught exception(std::exception): unregistered class
which leads to me do believe debugging is not on somehow. And that is why I am not seeing the other serializing messages from the code posted earlier in this thread.
I think you're confused about what Logger().debugStream() does. It doesn't output anything to the console, ever. Rather, it outputs to freeorion.log or freeoriond.log (for the client or server, respecitvely) which should be located in ~/.freeorion/
Could you have a look in those files and see what debug lines are present from the changes to Universe::serialized as discussed in this post?
viewtopic.php?p=43834#p43834
q1w2e3r4 wrote:Are trying to remove the members from System still worth it now?
Probably not.
As a random guess, could you try replacing the contents of SerializeUniverseExports.ipp, after the #include lines, with
Code: Select all
BOOST_CLASS_EXPORT(System)
BOOST_CLASS_EXPORT(Planet)
BOOST_CLASS_EXPORT(Building)
BOOST_CLASS_EXPORT(Fleet)
BOOST_CLASS_EXPORT(Ship)
(if you haven't already), and if that doesn't work,
Code: Select all
BOOST_CLASS_EXPORT(Planet)
BOOST_CLASS_EXPORT(Building)
BOOST_CLASS_EXPORT(Fleet)
BOOST_CLASS_EXPORT(Ship)
BOOST_CLASS_EXPORT(System)
where I've changed the order of exporting, and if that doesn't work,
Code: Select all
BOOST_CLASS_EXPORT(Planet)
BOOST_CLASS_EXPORT(Building)
BOOST_CLASS_EXPORT(Fleet)
BOOST_CLASS_EXPORT(Ship)
BOOST_CLASS_EXPORT_GUID(System, "System")