Compiling test version for Linux step by step

Questions, problems and discussion about compiling FreeOrion.

Moderator: Oberlus

Message
Author
User avatar
Dilvish
AI Lead and Programmer Emeritus
Posts: 4768
Joined: Sat Sep 22, 2012 6:25 pm

Re: Compiling test version for Linux step by step

#16 Post by Dilvish »

Själe wrote:The same way with "libogre-1.8.0" is conflictless.
Shell I install 1.8.0?
Sounds worthwhile at least trying to install 1.8 and see how that goes.

If it has troubles also, you might take a look at this thread, it has advice on dealing with that kind of error message. The key bit of advice that worked was apparently to try using synaptic instead of apt-get. Apparently synaptic will try harder to resolve problems. Any other package manager you have might be similar.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

Själe
Space Floater
Posts: 31
Joined: Fri Jan 30, 2015 11:50 am

Re: Compiling test version for Linux step by step

#17 Post by Själe »

I've installed libogre-1.8.0 and also -dev.

Next I look for next step.

Själe
Space Floater
Posts: 31
Joined: Fri Jan 30, 2015 11:50 am

Re: Compiling test version for Linux step by step

#18 Post by Själe »

So, hope isn't to late. :)

I read:

http://freeorion.org/index.php/Compile_In_Linux#Debian


and see (or misunderstand?), that the last step of preperation is to install "bullet".

In my case

"libbullet-dev" in version 2.82-r2704+dfsg-2

User avatar
Dilvish
AI Lead and Programmer Emeritus
Posts: 4768
Joined: Sat Sep 22, 2012 6:25 pm

Re: Compiling test version for Linux step by step

#19 Post by Dilvish »

Själe wrote:I read: ... and see (or misunderstand?), that the last step of preperation is to install "bullet". In my case "libbullet-dev" in version 2.82-r2704+dfsg-2
libbullet-dev sounds right, yes (if that is what your question was; if you are asking something else then please clarify).

Sidenote to Geoff: Now that we've removed Ogre, do we really still need Bullet?
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

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

Re: Compiling test version for Linux step by step

#20 Post by Geoff the Medio »

Dilvish wrote:Now that we've removed Ogre, do we really still need Bullet?
Nope. It's not in the Windows SDK.

Själe
Space Floater
Posts: 31
Joined: Fri Jan 30, 2015 11:50 am

Re: Compiling test version for Linux step by step

#21 Post by Själe »

I'm little confused:
Geoff the Medio wrote:
Dilvish wrote:Now that we've removed Ogre, do we really still need Bullet?
Nope. It's not in the Windows SDK.
Have I to install it or no?

User avatar
Dilvish
AI Lead and Programmer Emeritus
Posts: 4768
Joined: Sat Sep 22, 2012 6:25 pm

Re: Compiling test version for Linux step by step

#22 Post by Dilvish »

Själe wrote:Have I to install it or no?
Well, I'm not sure-- I haven't gone through and checked and tested the cmake files to see if they are still set to require Bullet or not. From what Geoff says they should not, but it could be that they still need some more adjustment to finish cleaning up the Ogre related pieces.

So please try it without Bullet and let us know how that goes. If cmake then tells you you need Bullet you can always install it then.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

Chriss
Dyson Forest
Posts: 231
Joined: Sun May 11, 2008 10:50 am

Re: Compiling test version for Linux step by step

#23 Post by Chriss »

cmake currently needs bullet, there are references in client/human/CMakeLists.txt...

*sigh*
I thought I had the dependency stuff settled... But of course I did not remove the packages which I dropped from the Arch package dependency list, so they are still there, which means that the build works fine... And while Arch's namcap script can find runtime link dependencies just fine, it does nothing to check what cmake thinks it may need because someone told the script it's needed...

Let me try making a patch, quick...
Attachments

[The extension patch has been deactivated and can no longer be displayed.]

Attached patches are released under GPL 2.0 or later.

User avatar
Dilvish
AI Lead and Programmer Emeritus
Posts: 4768
Joined: Sat Sep 22, 2012 6:25 pm

Re: Compiling test version for Linux step by step

#24 Post by Dilvish »

I committed Chriss' patch.

It does look to me like there is still a reference to libbullet in the msvc project, but I'm not familiar enough with it to be sure how to remove it.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

Post Reply