My first compile attempt fail

For topics that do not fit in another sub-forum.

Moderator: Oberlus

Post Reply
Message
Author
muxec
Space Kraken
Posts: 152
Joined: Tue Jun 15, 2004 7:55 pm

My first compile attempt fail

#1 Post by muxec »

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

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?

User avatar
OndrejR
Space Dragon
Posts: 339
Joined: Thu Oct 02, 2008 11:00 pm
Location: Slovakia

Re: My first compile attempt fail

#2 Post by OndrejR »

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).

muxec
Space Kraken
Posts: 152
Joined: Tue Jun 15, 2004 7:55 pm

Re: My first compile attempt fail

#3 Post by muxec »

libboost1.37

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

Post Reply