FreeOrion

Forums for the FreeOrion project
It is currently Sat Nov 22, 2014 11:22 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Mon Dec 28, 2009 11:37 am 
Offline
Space Krill

Joined: Mon Dec 28, 2009 11:23 am
Posts: 3
I'm having trouble completing the compilation in the FreeOrion/GG directory. I read in another thread that the tutorials may be the problem, and that it is safe to ignore the error described there:

viewtopic.php?f=24&t=2395

Since this is a different error, I must ask if it is safe to ignore it as well.

Compilation log as follows:

Code:
[ 98%] Building CXX object tutorial/CMakeFiles/serialization.dir/saveload.cpp.o
/usr/local/include/boost/archive/shared_ptr_helper.hpp: In static member function ‘static const boost::serialization::extended_type_info* boost::archive::detail::shared_ptr_helper::non_polymorphic<T>::get_object_identifier(T&) [with T = GG::Font]’:
/usr/local/include/boost/archive/shared_ptr_helper.hpp:147:   instantiated from ‘void boost::archive::detail::shared_ptr_helper::reset(boost::shared_ptr<X>&, T*) [with T = GG::Font]’
/usr/local/include/boost/serialization/shared_ptr.hpp:142:   instantiated from ‘void boost::serialization::load(Archive&, boost::shared_ptr<U>&, unsigned int) [with Archive = boost::archive::xml_iarchive, T = GG::Font]’
/usr/local/include/boost/serialization/split_free.hpp:58:   instantiated from ‘static void boost::serialization::free_loader<Archive, T>::invoke(Archive&, T&, unsigned int) [with Archive = boost::archive::xml_iarchive, T = boost::shared_ptr<GG::Font>]’
/usr/local/include/boost/serialization/split_free.hpp:74:   instantiated from ‘void boost::serialization::split_free(Archive&, T&, unsigned int) [with Archive = boost::archive::xml_iarchive, T = boost::shared_ptr<GG::Font>]’
/usr/local/include/boost/serialization/shared_ptr.hpp:157:   instantiated from ‘void boost::serialization::serialize(Archive&, boost::shared_ptr<U>&, unsigned int) [with Archive = boost::archive::xml_iarchive, T = GG::Font]’
/usr/local/include/boost/serialization/serialization.hpp:133:   instantiated from ‘void boost::serialization::serialize_adl(Archive&, T&, unsigned int) [with Archive = boost::archive::xml_iarchive, T = boost::shared_ptr<GG::Font>]’
/usr/local/include/boost/archive/detail/iserializer.hpp:173:   instantiated from ‘void boost::archive::detail::iserializer<Archive, T>::load_object_data(boost::archive::detail::basic_iarchive&, void*, unsigned int) const [with Archive = boost::archive::xml_iarchive, T = boost::shared_ptr<GG::Font>]’
/home/dsockwell/freeorion/freeorion/FreeOrion/GG/tutorial/saveload.cpp:91:   instantiated from here
/usr/local/include/boost/archive/shared_ptr_helper.hpp:114: error: cannot convert ‘const boost::serialization::extended_type_info_typeid<GG::Font>’ to ‘const boost::serialization::extended_type_info*’ in return
make[2]: *** [tutorial/CMakeFiles/serialization.dir/saveload.cpp.o] Error 1
make[1]: *** [tutorial/CMakeFiles/serialization.dir/all] Error 2
make: *** [all] Error 2


Last edited by dsockwell on Mon Dec 28, 2009 12:12 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Mon Dec 28, 2009 12:11 pm 
Offline
Space Krill

Joined: Mon Dec 28, 2009 11:23 am
Posts: 3
I went ahead and renamed the makefiles for GG/tutorials and GG installed fine. Trouble is I had the same error come up when compiling freeorion.

Code:
[ 17%] Building CXX object server/CMakeFiles/freeoriond.dir/__/util/Serialize.cpp.o
/usr/local/include/boost/archive/shared_ptr_helper.hpp: In static member function ‘static const boost::serialization::extended_type_info* boost::archive::detail::shared_ptr_helper::non_polymorphic<T>::get_object_identifier(T&) [with T = CombatFighterFormation]’:
/usr/local/include/boost/archive/shared_ptr_helper.hpp:147:   instantiated from ‘void boost::archive::detail::shared_ptr_helper::reset(boost::shared_ptr<X>&, T*) [with T = CombatFighterFormation]’
/usr/local/include/boost/serialization/shared_ptr.hpp:142:   instantiated from ‘void boost::serialization::load(Archive&, boost::shared_ptr<U>&, unsigned int) [with Archive = boost::archive::xml_iarchive, T = CombatFighterFormation]’
/usr/local/include/boost/serialization/split_free.hpp:58:   instantiated from ‘static void boost::serialization::free_loader<Archive, T>::invoke(Archive&, T&, unsigned int) [with Archive = boost::archive::xml_iarchive, T = boost::shared_ptr<CombatFighterFormation>]’
/usr/local/include/boost/serialization/split_free.hpp:74:   instantiated from ‘void boost::serialization::split_free(Archive&, T&, unsigned int) [with Archive = boost::archive::xml_iarchive, T = boost::shared_ptr<CombatFighterFormation>]’
/usr/local/include/boost/serialization/shared_ptr.hpp:157:   instantiated from ‘void boost::serialization::serialize(Archive&, boost::shared_ptr<U>&, unsigned int) [with Archive = boost::archive::xml_iarchive, T = CombatFighterFormation]’
/usr/local/include/boost/serialization/serialization.hpp:133:   instantiated from ‘void boost::serialization::serialize_adl(Archive&, T&, unsigned int) [with Archive = boost::archive::xml_iarchive, T = boost::shared_ptr<CombatFighterFormation>]’
/usr/local/include/boost/archive/detail/iserializer.hpp:173:   instantiated from ‘void boost::archive::detail::iserializer<Archive, T>::load_object_data(boost::archive::detail::basic_iarchive&, void*, unsigned int) const [with Archive = boost::archive::xml_iarchive, T = boost::shared_ptr<CombatFighterFormation>]’
/home/dsockwell/freeorion/freeorion/FreeOrion/util/Serialize.cpp:120:   instantiated from here
/usr/local/include/boost/archive/shared_ptr_helper.hpp:114: error: cannot convert ‘const boost::serialization::extended_type_info_typeid<CombatFighterFormation>’ to ‘const boost::serialization::extended_type_info*’ in return
/usr/local/include/boost/archive/shared_ptr_helper.hpp: In static member function ‘static const boost::serialization::extended_type_info* boost::archive::detail::shared_ptr_helper::non_polymorphic<T>::get_object_identifier(T&) [with T = ResourcePool]’:
/usr/local/include/boost/archive/shared_ptr_helper.hpp:147:   instantiated from ‘void boost::archive::detail::shared_ptr_helper::reset(boost::shared_ptr<X>&, T*) [with T = ResourcePool]’
/usr/local/include/boost/serialization/shared_ptr.hpp:142:   instantiated from ‘void boost::serialization::load(Archive&, boost::shared_ptr<U>&, unsigned int) [with Archive = boost::archive::xml_iarchive, T = ResourcePool]’
/usr/local/include/boost/serialization/split_free.hpp:58:   instantiated from ‘static void boost::serialization::free_loader<Archive, T>::invoke(Archive&, T&, unsigned int) [with Archive = boost::archive::xml_iarchive, T = boost::shared_ptr<ResourcePool>]’
/usr/local/include/boost/serialization/split_free.hpp:74:   instantiated from ‘void boost::serialization::split_free(Archive&, T&, unsigned int) [with Archive = boost::archive::xml_iarchive, T = boost::shared_ptr<ResourcePool>]’
/usr/local/include/boost/serialization/shared_ptr.hpp:157:   instantiated from ‘void boost::serialization::serialize(Archive&, boost::shared_ptr<U>&, unsigned int) [with Archive = boost::archive::xml_iarchive, T = ResourcePool]’
/usr/local/include/boost/serialization/serialization.hpp:133:   instantiated from ‘void boost::serialization::serialize_adl(Archive&, T&, unsigned int) [with Archive = boost::archive::xml_iarchive, T = boost::shared_ptr<ResourcePool>]’
/usr/local/include/boost/archive/detail/iserializer.hpp:173:   instantiated from ‘void boost::archive::detail::iserializer<Archive, T>::load_object_data(boost::archive::detail::basic_iarchive&, void*, unsigned int) const [with Archive = boost::archive::xml_iarchive, T = boost::shared_ptr<ResourcePool>]’
/home/dsockwell/freeorion/freeorion/FreeOrion/util/Serialize.cpp:120:   instantiated from here
/usr/local/include/boost/archive/shared_ptr_helper.hpp:114: error: cannot convert ‘const boost::serialization::extended_type_info_typeid<ResourcePool>’ to ‘const boost::serialization::extended_type_info*’ in return
make[2]: *** [server/CMakeFiles/freeoriond.dir/__/util/Serialize.cpp.o] Error 1
make[1]: *** [server/CMakeFiles/freeoriond.dir/all] Error 2
make: *** [all] Error 2
dsockwell@pegasus:~/freeorion/freeorion/FreeOrion$



Top
 Profile  
 
PostPosted: Mon Dec 28, 2009 12:14 pm 
Offline
Space Dragon
User avatar

Joined: Thu Oct 02, 2008 11:00 pm
Posts: 339
Location: Slovakia
What boost version do you have?


Top
 Profile  
 
PostPosted: Mon Dec 28, 2009 12:47 pm 
Offline
Space Krill

Joined: Mon Dec 28, 2009 11:23 am
Posts: 3
it's 1.41.0


Top
 Profile  
 
PostPosted: Mon Dec 28, 2009 1:01 pm 
Offline
Space Dragon
User avatar

Joined: Thu Oct 02, 2008 11:00 pm
Posts: 339
Location: Slovakia
Please downgrade.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group