FreeOrion

Forums for the FreeOrion project
It is currently Fri May 24, 2013 5:20 pm

All times are UTC




Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Linux GiGi compile problem
PostPosted: Fri Apr 06, 2012 6:14 pm 
Offline
Space Krill

Joined: Fri Apr 06, 2012 5:21 pm
Posts: 3
Same result on Ubuntu 11.10, after commenting AdamParser, make stops on EveParser, just like muuus. If I comment EveParser on src/CMakeList.txt if fails building ExpressionParser.cpp.o, and if I comment this last, finally fails on TestAdamParser.cpp.o...

I strongly believe that ubuntu is not made to compile FO. (I don't mind so much, I'm an Arch user, but my computer is not working at the momentand I was trying to made it work under a netbook with Ubuntu).

I give up. It seems impossible to me.

Anyway, I would like to the developers the awesome job done in this project. Please continue this way! :D


Top
 Profile  
 
 Post subject: Re: Linux GiGi compile problem
PostPosted: Fri Apr 06, 2012 7:01 pm 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7898
Location: Vancouver, BC
malevolent wrote:
...after commenting AdamParser, make [...] fails on TestAdamParser.cpp.o...
That's not surprising (that test code for something you commented out won't build). Try commenting out the test stuff as well. None of the GiGi Adam or Eve stuff is needed for FreeOrion. On Windows, the GiGi source files that are built are:
Code:
AlignmentFlags.cpp
Base.cpp
BrowseInfoWnd.cpp
Button.cpp
ClrConstants.cpp
Control.cpp
Cursor.cpp
dialogs\ColorDlg.cpp
dialogs\FileDlg.cpp
dialogs\ThreeButtonDlg.cpp
DrawUtil.cpp
DropDownList.cpp
DynamicGraphic.cpp
Edit.cpp
EventPump.cpp
Font.cpp
GroupBox.cpp
GUI.cpp
Layout.cpp
ListBox.cpp
Menu.cpp
MultiEdit.cpp
PtRect.cpp
ReportParseError.cpp
Scroll.cpp
StaticGraphic.cpp
StyleFactory.cpp
TabWnd.cpp
TextControl.cpp
Texture.cpp
Timer.cpp
UnicodeCharsets.cpp
Wnd.cpp
WndEvent.cpp
ZList.cpp

The GiGiOgre and GiGiOgrePlugin_OIS projects have a few additional files.
Quote:
...ubuntu is not made to compile FO.
Describing this as an Ubuntu problem is odd...


Top
 Profile  
 
 Post subject: Re: Linux GiGi compile problem
PostPosted: Sun Apr 08, 2012 10:00 am 
Offline
Space Krill

Joined: Fri Apr 06, 2012 5:21 pm
Posts: 3
There weren't any test related stuff to comment out, at least, anything I could see...

I don't like to be categorical, but since there is no -updated- instructions on the wiki and since there is no one in this forum that succcesfully compiled FO on this distro, neither there are static binaries anywhere (and they were on earlier versions) on the internet, one can think that ubuntu simply it doesn't do the job at the moment.

I will investigate a bit more, I'm now looking at arch linux AUR repository and it seems that it works, I'm seeing that boost must be 1.49 or greater, and I tested with ubuntu's default, 1.46 and then with 1.48, but not with 1.49.
Let's see...


Top
 Profile  
 
 Post subject: Re: Linux GiGi compile problem
PostPosted: Sun Apr 08, 2012 10:15 am 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7898
Location: Vancouver, BC
malevolent wrote:
There weren't any test related stuff to comment out, at least, anything I could see...
There's something in your build setup that's causing the CMakeLists.txt in GG/test to be used, which is added a bunch of files to compile including AdamTestParser.cpp. There's probably a setting to turn this off. If not, there's probably something in the main GG CMakeLists.txt that could be commented out. My guess is the "add_subdirectory(test)" line.
malevolent wrote:
...I'm seeing that boost must be 1.49 or greater
CMakeLists.txt for GG says:
Code:
MINIMUM_BOOST_VERSION 1.47.0
so I don't think 1.49 is needed. On Windows, FO and GG build find with 1.47.


Top
 Profile  
 
 Post subject: Re: Linux GiGi compile problem
PostPosted: Sun Apr 08, 2012 10:39 am 
Offline
Space Krill

Joined: Fri Apr 06, 2012 5:21 pm
Posts: 3
Since I've already tested with 1.48, I'm going to see if there are any test stuff to comment out

Thank you. :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


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