Page 2 of 2

Re: Building for Gentoo Linux

Posted: Thu Mar 21, 2013 8:32 pm
by AndrewW
Updated the instructions on the Wiki and the first post in this thread to include building the Gigi that comes with the source rather then using the Gigi package.

Re: Building for Gentoo Linux [64-bit]

Posted: Thu Oct 24, 2013 7:45 pm
by myk
what were the USE flags for dev-games/ogre that you used?

Re: Building for Gentoo Linux [64-bit]

Posted: Thu Oct 24, 2013 8:15 pm
by AndrewW
myk wrote:what were the USE flags for dev-games/ogre that you used?
Set:
boost, freeimage, opengl, threads, zip

Re: Building for Gentoo Linux [64-bit]

Posted: Thu Oct 24, 2013 8:26 pm
by myk
AndrewW wrote:boost, freeimage, opengl, threads, zip
Should the ois flag not be set?

I had:
dev-games/ogre-1.8.1 USE="boost cg freeimage ois opengl threads zip -doc -double-precision -examples -gles2 -poco -profile -tbb -tools"

(cg is for NVidia) do poco/tbb (threading implementations) have any relevance?

Re: Building for Gentoo Linux [64-bit]

Posted: Fri Oct 25, 2013 2:30 am
by AndrewW
myk wrote:
AndrewW wrote:boost, freeimage, opengl, threads, zip
Should the ois flag not be set?

I had:
dev-games/ogre-1.8.1 USE="boost cg freeimage ois opengl threads zip -doc -double-precision -examples -gles2 -poco -profile -tbb -tools"

(cg is for NVidia) do poco/tbb (threading implementations) have any relevance?
Don't know on the ois, didn't happen to have it on mine. Really couldn't say just what effect any individual one would have on this, just happen to know been working here with the flags I had set.

Supports:

boost
enable boost support

cg
NVIDIA toolkit plugin

double-precision
more precise calculations at the expense of speed

freeimage
support images via freeimage

gles2
build OpenGL ES 2.x RenderSystem

ois
pull in Object-oriented Input System library for samples

poco
when USE=threads, use poco for threading

tbb
when USE=threads, use tbb for threading

tools
build+install helper tools

zip
support zip archives

Re: Building for Gentoo Linux [64-bit]

Posted: Sun Dec 14, 2014 12:12 pm
by pheldens
note: it only builds with boost 1.55

theres another branch that builds with 1.56 , but that segfaults upon start, so theres no linux build possible at present

Re: Building for Gentoo Linux [64-bit]

Posted: Mon Dec 15, 2014 2:13 am
by AndrewW
pheldens wrote:note: it only builds with boost 1.55

theres another branch that builds with 1.56 , but that segfaults upon start, so theres no linux build possible at present
Current stable Boost in portage is: 1.55.0-r2.

But one can add a block to /etc/portage/package.mask to disallow newer versions:

>=dev-libs/boost-1.56

Re: Building for Gentoo Linux [64-bit]

Posted: Thu Mar 26, 2015 3:47 pm
by roman.gruber

Re: Building for Gentoo Linux [64-bit]

Posted: Thu Mar 26, 2015 5:07 pm
by AndrewW
Note this is for compiling it outside of portage, and has nothing to do with the package.