Debian compilation: GiGi + Bullet
Moderator: Oberlus
Debian compilation: GiGi + Bullet
Hi!
I must say I've been following FreeOrion development since versions 0.3.x, and I quite enjoy the direction of the project so far.
Now, as for the compilation, I've got several questions:
(Sorry in advance if they've been answered already)
- Could there a way to make the locally compiled GiGi lib used when compiling the game in a fresh clone of the repo,
so that one doesn't have to install GiGi again and again on each changes made on it?
- Since Debian curioulsy doesn't have it yet, have you considered including an optionally used version of the bullet sources,
so that the game is compilable on Debian without having to download bullet and do all the process of installation?
I know the second question might be irrelevant in few months when debian will include bullet, and has other flaws, but the first one is the most interesting to me.
Best regards,
Bertram
I must say I've been following FreeOrion development since versions 0.3.x, and I quite enjoy the direction of the project so far.
Now, as for the compilation, I've got several questions:
(Sorry in advance if they've been answered already)
- Could there a way to make the locally compiled GiGi lib used when compiling the game in a fresh clone of the repo,
so that one doesn't have to install GiGi again and again on each changes made on it?
- Since Debian curioulsy doesn't have it yet, have you considered including an optionally used version of the bullet sources,
so that the game is compilable on Debian without having to download bullet and do all the process of installation?
I know the second question might be irrelevant in few months when debian will include bullet, and has other flaws, but the first one is the most interesting to me.
Best regards,
Bertram
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13587
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Debian compilation: GiGi + Bullet
The FreeOrion CMake files could probably be modified to look in different places for the GiGi library binaries. cmake/FindGiGi.cmake would like need to be modified.
I don't think there's been any considerating of adding the bullet source to the FreeOrion repository.
I don't think there's been any considerating of adding the bullet source to the FreeOrion repository.
Re: Debian compilation: GiGi + Bullet
bullet should be in a separate deb.
Preferably even split into a libbullet and libbullet-dev.
Preferably even split into a libbullet and libbullet-dev.
Re: Debian compilation: GiGi + Bullet
Hi,
Best regards,
Definitely, it's just they couldn't do it yet.Nagilum wrote:bullet should be in a separate deb.
Preferably even split into a libbullet and libbullet-dev.
I won't promise anything yet, but if I finish something working, I'll share it here.Geoff the Medio wrote:The FreeOrion CMake files could probably be modified to look in different places for the GiGi library binaries. cmake/FindGiGi.cmake would like need to be modified.
Best regards,
Re: Debian compilation: GiGi + Bullet
Hi again,
I wondered also: Is bullet used in the 2d interface? or the 3d one only?
Because I also wondered: If it's used in the 3d interface only, maybe linking against it could be disabled for "normal builds" along with the 3d battle code?
Best regards,
I wondered also: Is bullet used in the 2d interface? or the 3d one only?
Because I also wondered: If it's used in the 3d interface only, maybe linking against it could be disabled for "normal builds" along with the 3d battle code?
Best regards,
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13587
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Debian compilation: GiGi + Bullet
2D only, though I think some server battle code that's intended to go with the 3D combat interface also uses it.bertram wrote:Is bullet used in the 2d interface? or the 3d one only?
Yes, that could probably also be done....maybe linking against it could be disabled for "normal builds" along with the 3d battle code?
Re: Debian compilation: GiGi + Bullet
Had some time to debianize bullet-2.81 for Debian Wheezy:
https://cakebox.homeunix.net/~nagilum/b ... 1_i386.deb
https://cakebox.homeunix.net/~nagilum/b ... 1_i386.deb
The sources are also here:
https://cakebox.homeunix.net/~nagilum/bullet/
It's far from perfect but should work.
https://cakebox.homeunix.net/~nagilum/b ... 1_i386.deb
https://cakebox.homeunix.net/~nagilum/b ... 1_i386.deb
The sources are also here:
https://cakebox.homeunix.net/~nagilum/bullet/
It's far from perfect but should work.
Re: Debian compilation: GiGi + Bullet
Since the wheezy version of ogre demands boost-1.49 I recompiled it with boost-1.50 from sid.
https://cakebox.homeunix.net/~nagilum/ogre/
has the debs and the source.
Hmm, maybe I should set up a real repo. :-/
https://cakebox.homeunix.net/~nagilum/ogre/
has the debs and the source.
Hmm, maybe I should set up a real repo. :-/
Re: Debian compilation: GiGi + Bullet
Ok, I set up the repo
http://www.nagilum.org/repo/
/etc/apt/sources.list:
deb http://www.nagilum.org/repo/ freeorion main contrib
deb-src http://www.nagilum.org/repo/ freeorion main contrib
curl http://www.nagilum.org/repo/[email protected] | apt-key add -
apt-get install libogre-1.8-dev/freeorion libbullet-dev
http://www.nagilum.org/repo/
/etc/apt/sources.list:
deb http://www.nagilum.org/repo/ freeorion main contrib
deb-src http://www.nagilum.org/repo/ freeorion main contrib
curl http://www.nagilum.org/repo/[email protected] | apt-key add -
apt-get install libogre-1.8-dev/freeorion libbullet-dev
Re: Debian compilation: GiGi + Bullet
This package doesn't work for me:
promi@freebeer:~$ freeorion
/usr/local/freeorion/bin/freeorion.elf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/freeorion/bin/freeorion.elf)
/usr/local/freeorion/bin/freeorion.elf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/freeorion/lib/libGiGi.so)
/usr/local/freeorion/bin/freeorion.elf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/freeorion/lib/libOgreMain.so.1.8.1)
/usr/local/freeorion/bin/freeorion.elf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/freeorion/lib/libBulletCollision.so.2.81)
/usr/local/freeorion/bin/freeorion.elf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/freeorion/lib/libLinearMath.so.2.81)
/usr/local/freeorion/bin/freeorion.elf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/freeorion/lib/libboost_filesystem.so.1.53.0)
/usr/local/freeorion/bin/freeorion.elf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/freeorion/lib/libboost_serialization.so.1.53.0)
/usr/local/freeorion/bin/freeorion.elf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/freeorion/lib/libpng15.so.15)
/usr/local/freeorion/bin/freeorion.elf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/freeorion/lib/libtiff.so.5)
It's not working with the libc of Debian wheezy.
promi@freebeer:~$ freeorion
/usr/local/freeorion/bin/freeorion.elf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/freeorion/bin/freeorion.elf)
/usr/local/freeorion/bin/freeorion.elf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/freeorion/lib/libGiGi.so)
/usr/local/freeorion/bin/freeorion.elf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/freeorion/lib/libOgreMain.so.1.8.1)
/usr/local/freeorion/bin/freeorion.elf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/freeorion/lib/libBulletCollision.so.2.81)
/usr/local/freeorion/bin/freeorion.elf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/freeorion/lib/libLinearMath.so.2.81)
/usr/local/freeorion/bin/freeorion.elf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/freeorion/lib/libboost_filesystem.so.1.53.0)
/usr/local/freeorion/bin/freeorion.elf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/freeorion/lib/libboost_serialization.so.1.53.0)
/usr/local/freeorion/bin/freeorion.elf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/freeorion/lib/libpng15.so.15)
/usr/local/freeorion/bin/freeorion.elf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/freeorion/lib/libtiff.so.5)
It's not working with the libc of Debian wheezy.
Re: Debian compilation: GiGi + Bullet
Yeah, I'm afraid that is too old.
Even if I would include a more recent a libc it wouldn't work due to the old xorg.
You need a newer base system.
I'll see if I can make something work but no promises.
Even if I would include a more recent a libc it wouldn't work due to the old xorg.
You need a newer base system.
I'll see if I can make something work but no promises.