Linking problem on linux
Posted: Sun Sep 09, 2012 7:51 pm
Hello,
I am having trouble compiling FreeOrion on Ubuntu 12, using Boost 1.50.0.
I managed to compile Gigi but I had to comment the lines concerning AdamParser, EveParser, ExpressionParser and Lexer in the Cmakelists.txt file. I hope they are not needed.
But now I get the following message when compiling FreeOrion :
I am having trouble compiling FreeOrion on Ubuntu 12, using Boost 1.50.0.
I managed to compile Gigi but I had to comment the lines concerning AdamParser, EveParser, ExpressionParser and Lexer in the Cmakelists.txt file. I hope they are not needed.
But now I get the following message when compiling FreeOrion :
Code: Select all
Linking CXX executable ../freeoriond
CMakeFiles/freeoriond.dir/ServerFSM.cpp.o: In function `(anonymous namespace)::LoadEmpireNames(std::list<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) [clone .constprop.1716]':
ServerFSM.cpp:(.text+0x5e4): undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'
CMakeFiles/freeoriond.dir/ServerFSM.cpp.o: In function `MPLobby::react(LobbyUpdate const&)':
ServerFSM.cpp:(.text+0x8b9a): undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'
CMakeFiles/freeoriond.dir/ServerFSM.cpp.o: In function `MPLobby::react(StartMPGame const&)':
(....)
/usr/local/lib/libGiGi.so: undefined reference to `adobe::sheet_t::sheet_t()'
collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [freeoriond] Erreur 1
make[1]: *** [server/CMakeFiles/freeoriond.dir/all] Erreur 2
make: *** [all] Erreur 2