Page 2 of 2

Re: Trouble compiling, trying to find good build environment

Posted: Mon Oct 14, 2019 8:50 pm
by the_mtn_who_glides
You will probably need to disable both OGRE and FFMPEG. The game seems to work fine without either of those.

gcc/g++ 7.4.0 seems to work. You were correct about setting the C++ standard to c++11. In my experience, this generates a bunch of build warnings, but not build errors. The

Code: Select all

make all
command does succeed.

Note that I, too, am building on Ubuntu 18.04 LTS. Not sure if that makes a difference or not.

Re: Trouble compiling, trying to find good build environment

Posted: Mon Oct 14, 2019 11:15 pm
by loki1950
Re: OGRE and FFMPEG
Ogre is used by mesher which is our cmd line mesh conversion utility it handles Ogre's .mesh format was intended to help with the Ogre branch but an API change has broken it as for FFMPEG intend for cut scene but there is no supporting code so disabling it works just fine.

Enjoy the Choice :)

Re: Trouble compiling, trying to find good build environment

Posted: Mon Feb 10, 2020 3:49 pm
by pyramid
OGRE and FFMPEG are now disabled by default in cmake builds.
Cleanup and merge from svn are now completed and the code compiles on modern systems (kernel 5.x, g++ 9.x).

Re: Trouble compiling, trying to find good build environment

Posted: Fri Feb 21, 2020 1:11 am
by the_mtn_who_glides
pyramid wrote:OGRE and FFMPEG are now disabled by default in cmake builds.
Cleanup and merge from svn are now completed and the code compiles on modern systems (kernel 5.x, g++ 9.x).
Nice work!

Re: Trouble compiling, trying to find good build environment

Posted: Fri Feb 21, 2020 2:42 am
by loki1950
Now just need someone to look at mesher to either comment out the Ogre conversion or update it so that pyramid's UnitConverter can be used as it is very useful for editing units and putting new assets into the game.

Enjoy the Choice :)

Re: Trouble compiling, trying to find good build environment

Posted: Fri Feb 21, 2020 12:18 pm
by pyramid
I think with the uncommented OGRE in cmake, mesher is compiled without OGRE support by default. Didn't test though how it works together with UnitConverter.