FreeOrion

Forums for the FreeOrion project
It is currently Tue May 21, 2013 12:46 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Compiling GiGi on Linux
PostPosted: Sat Dec 24, 2011 5:39 pm 
Offline
Space Krill

Joined: Sat Dec 24, 2011 5:30 pm
Posts: 5
I have an error then building GiGi 1074 from latest svn trunk with boost 1.48 in Ubuntu 11.10 x86_64:

Code:
[ 89%] Building CXX object test/CMakeFiles/AdamParser-test.dir/TestAdamParser.cpp.o
Linking CXX executable ../AdamParser-test
CMakeFiles/AdamParser-test.dir/TestAdamParser.cpp.o: In function `adam_parser::test_method()':
TestAdamParser.cpp:(.text+0xefc): undefined reference to `GG::Parse(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, adobe::adam_callback_suite_t const&)'
collect2: execution of ld ended with return code 1
make[2]: *** [AdamParser-test] Error 1
make[1]: *** [test/CMakeFiles/AdamParser-test.dir/all] Error 2
make: *** [all] Error 2


*Some error messages was originally in russian.


Top
 Profile  
 
 Post subject: Re: Compiling GiGi on Linux
PostPosted: Sat Dec 24, 2011 5:59 pm 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7890
Location: Vancouver, BC
I'll ping tzlaine about this, but I suspect you can just omit that and any other "Test" source files that cause compile problems.


Top
 Profile  
 
 Post subject: Re: Compiling GiGi on Linux
PostPosted: Sun Dec 25, 2011 2:57 pm 
Offline
Space Krill

Joined: Sat Dec 24, 2011 5:30 pm
Posts: 5
I comment those lines in CMakeList.txt:
Code:
...
# enable_testing()
...
# add_subdirectory(test)

GiGi compiled successfully, but sudo make install failed to install docs.
So, I comment this line also, to disable documentation building:
Code:
# find_package(Doxygen)

Now GiGi compiled and installed ok, so next I will try to build freeorion itself.


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

All times are UTC


Who is online

Users browsing this forum: AhrefsBot 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 © 2000, 2002, 2005, 2007 phpBB Group