problems compiling gigi on kubuntu 10.04

Questions, problems and discussion about compiling FreeOrion.

Moderator: Oberlus

Post Reply
Message
Author
eagles051387
Krill Swarm
Posts: 11
Joined: Wed May 12, 2010 4:56 pm

problems compiling gigi on kubuntu 10.04

#1 Post by eagles051387 »

hey guys im trying to compile gigi and its telling me that boost libraries arent found when i run cmake.

cmake .. -DCMAKE_INSTALL_PREFIX=/usr
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Build platform: linux
-- Could NOT find Boost
CMake Error at CMakeLists.txt:166 (message):
Boost libraries not found.


i have libboost1.40-dev install what else am i missing?

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13603
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: problems compiling gigi on kubuntu 10.04

#2 Post by Geoff the Medio »

You may need to run ccmake and enter the directories where the boost libraries and headers can be found, and any other dependencies that are automatically located. Then configure and generate the makefile, and then run make.

eagles051387
Krill Swarm
Posts: 11
Joined: Wed May 12, 2010 4:56 pm

Re: problems compiling gigi on kubuntu 10.04

#3 Post by eagles051387 »

Geoff the Medio wrote:You may need to run ccmake and enter the directories where the boost libraries and headers can be found, and any other dependencies that are automatically located. Then configure and generate the makefile, and then run make.

not quite understanding what would ccmake do?

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13603
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: problems compiling gigi on kubuntu 10.04

#4 Post by Geoff the Medio »

(As noted on IRC) On Linux, ccmake lets you specify build options and dependency locations for projects using cmake.

User avatar
Yeeha
Pupating Mass
Posts: 93
Joined: Tue Feb 10, 2004 10:06 pm

Re: problems compiling gigi on kubuntu 10.04

#5 Post by Yeeha »

by looking getdeb freeorion svn build dependencies:
libalut0 - 1.1.0-2 (amd64)
libboost-filesystem1.40.0 - 1.40.0-4ubuntu4 (amd64)
libboost-iostreams1.40.0 - 1.40.0-4ubuntu4 (amd64)
libboost-python1.40.0 - 1.40.0-4ubuntu4 (amd64)
libboost-serialization1.40.0 - 1.40.0-4ubuntu4 (amd64)
libboost-signals1.40.0 - 1.40.0-4ubuntu4 (amd64)
libboost-system1.40.0 - 1.40.0-4ubuntu4 (amd64)
libboost-thread1.40.0 - 1.40.0-4ubuntu4 (amd64)
libbullet0 - 2.75-1~getdeb1 (amd64)
libc6 - 2.11.1-0ubuntu7 (amd64)
libfreetype6 - 2.3.11-1ubuntu2 (amd64)
libgcc1 - 1:4.4.3-4ubuntu5 (amd64)
libgl1-mesa-glx - 7.7.1-1ubuntu3 (amd64)
libgl1-mesa-swx11 - 7.7.1-1ubuntu3 (amd64)
libglu1-mesa - 7.7.1-1ubuntu3 (amd64)
libgraphviz4 - 2.20.2-8ubuntu3 (amd64)
libjpeg62 - 6b-15ubuntu1 (amd64)
libogg0 - 1.1.4~dfsg-2 (amd64)
libogremain-1.6.4 - 1.6.4.dfsg1-1 (amd64)
libopenal1 - 1:1.11.753-1 (amd64)
libpng12-0 - 1.2.42-1ubuntu2 (amd64)
libpython2.6 - 2.6.5-1ubuntu6 (amd64)
libstdc++6 - 4.4.3-4ubuntu5 (amd64)
libtiff4 - 3.9.2-2 (amd64)
libvorbis0a - 1.2.3-3ubuntu1 (amd64)
libvorbisfile3 - 1.2.3-3ubuntu1 (amd64)
zlib1g - 1:1.2.3.3.dfsg-15ubuntu1 (amd64)

Dmn kpackagekit why it doesnt allow me to copy all the info, i had to copy and paste one line at the time :D. So dev packages from those.

eagles051387
Krill Swarm
Posts: 11
Joined: Wed May 12, 2010 4:56 pm

Re: problems compiling gigi on kubuntu 10.04

#6 Post by eagles051387 »

Yeeha wrote:by looking getdeb freeorion svn build dependencies:
libalut0 - 1.1.0-2 (amd64)
libboost-filesystem1.40.0 - 1.40.0-4ubuntu4 (amd64)
libboost-iostreams1.40.0 - 1.40.0-4ubuntu4 (amd64)
libboost-python1.40.0 - 1.40.0-4ubuntu4 (amd64)
libboost-serialization1.40.0 - 1.40.0-4ubuntu4 (amd64)
libboost-signals1.40.0 - 1.40.0-4ubuntu4 (amd64)
libboost-system1.40.0 - 1.40.0-4ubuntu4 (amd64)
libboost-thread1.40.0 - 1.40.0-4ubuntu4 (amd64)
libbullet0 - 2.75-1~getdeb1 (amd64)
libc6 - 2.11.1-0ubuntu7 (amd64)
libfreetype6 - 2.3.11-1ubuntu2 (amd64)
libgcc1 - 1:4.4.3-4ubuntu5 (amd64)
libgl1-mesa-glx - 7.7.1-1ubuntu3 (amd64)
libgl1-mesa-swx11 - 7.7.1-1ubuntu3 (amd64)
libglu1-mesa - 7.7.1-1ubuntu3 (amd64)
libgraphviz4 - 2.20.2-8ubuntu3 (amd64)
libjpeg62 - 6b-15ubuntu1 (amd64)
libogg0 - 1.1.4~dfsg-2 (amd64)
libogremain-1.6.4 - 1.6.4.dfsg1-1 (amd64)
libopenal1 - 1:1.11.753-1 (amd64)
libpng12-0 - 1.2.42-1ubuntu2 (amd64)
libpython2.6 - 2.6.5-1ubuntu6 (amd64)
libstdc++6 - 4.4.3-4ubuntu5 (amd64)
libtiff4 - 3.9.2-2 (amd64)
libvorbis0a - 1.2.3-3ubuntu1 (amd64)
libvorbisfile3 - 1.2.3-3ubuntu1 (amd64)
zlib1g - 1:1.2.3.3.dfsg-15ubuntu1 (amd64)

Dmn kpackagekit why it doesnt allow me to copy all the info, i had to copy and paste one line at the time :D. So dev packages from those.
i followed the how to and for some reason its not finding the boost libs. i have the dev packages of all of those but ill double check again.

eagles051387
Krill Swarm
Posts: 11
Joined: Wed May 12, 2010 4:56 pm

Re: problems compiling gigi on kubuntu 10.04

#7 Post by eagles051387 »

now i got my boost issue sorted now i seem to be missing an opengl package? any ideas

Post Reply