Compile errors

Questions, problems and discussion about compiling FreeOrion.

Moderator: Oberlus

Post Reply
Message
Author
Nexus
Space Floater
Posts: 48
Joined: Fri Aug 14, 2015 8:29 pm

Compile errors

#1 Post by Nexus »

Hi all,
trying to compile the latest version (v0.4.6+ build 2016-09-24.8b6a6a3) on Ubuntu 15.10, MATE version 1.10.2. I get the following errors:

Code: Select all

Linking CXX executable ../freeoriond
/usr/bin/ld: CMakeFiles/freeoriond.dir/dmain.cpp.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv'
/usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
server/CMakeFiles/freeoriond.dir/build.make:421: recipe for target 'freeoriond' failed
make[2]: *** [freeoriond] Error 1
CMakeFiles/Makefile2:309: recipe for target 'server/CMakeFiles/freeoriond.dir/all' failed
make[1]: *** [server/CMakeFiles/freeoriond.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2
Any idea what's wrong and how to fix it?

User avatar
adrian_broher
Programmer
Posts: 1156
Joined: Fri Mar 01, 2013 9:52 am
Location: Germany

Re: Compile errors

#2 Post by adrian_broher »

Should be fixed in latest master.
Resident code gremlin
Attached patches are released under GPL 2.0 or later.
Git author: Marcel Metz

Nexus
Space Floater
Posts: 48
Joined: Fri Aug 14, 2015 8:29 pm

Re: Compile errors

#3 Post by Nexus »

Yep, it's compiling fine now. Thanks for the quick fix.

Post Reply