FreeOrion

Forums for the FreeOrion project
It is currently Tue May 21, 2013 6:03 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: My first compile attempt fail
PostPosted: Thu Jul 02, 2009 7:56 am 
Offline
Space Kraken

Joined: Tue Jun 15, 2004 7:55 pm
Posts: 152
So I tried to compile on linux for the first time. I got sources from SVN trunk and followed the instructions. I started compiling GG and after several successfully compiled files I got this.

Code:
g++ -o src/Texture.os -c -pthread -Wall -Wno-parentheses -O2 -fPIC -I/usr/include/freetype2 -I. -Ilibltdl src/Texture.cpp                                                                                           
src/Texture.cpp: In member function 'void GG::Texture::Load(const std::string&, bool)':                   
src/Texture.cpp:275: error: 'gray8_pixel_t' is not a member of 'gil'                                     
src/Texture.cpp:275: error: template argument 1 is invalid                                               
src/Texture.cpp:276: error: 'gray_alpha8_pixel_t' is not a member of 'gil'                               
src/Texture.cpp:276: error: template argument 1 is invalid                                               
src/Texture.cpp:277: error: 'rgb8_pixel_t' is not a member of 'gil' 
....


Why so? Did I forget some dependencies?


Top
 Profile  
 
 Post subject: Re: My first compile attempt fail
PostPosted: Thu Jul 02, 2009 9:02 am 
Offline
Space Dragon
User avatar

Joined: Thu Oct 02, 2008 11:00 pm
Posts: 339
Location: Slovakia
muxec wrote:
Why so? Did I forget some dependencies?

Probably. I don't have this problem on Linux. But it may be also different version of some lib(check boost libs and its version).


Top
 Profile  
 
 Post subject: Re: My first compile attempt fail
PostPosted: Thu Jul 02, 2009 9:27 am 
Offline
Space Kraken

Joined: Tue Jun 15, 2004 7:55 pm
Posts: 152
libboost1.37

Oops sorry followed compiling guide again and realized that I fail even at copy-pasting. :(


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: 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