Trouble compiling, trying to find good build environment

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
the_mtn_who_glides
Merchant
Merchant
Posts: 50
Joined: Thu Aug 29, 2019 2:07 pm

Re: Trouble compiling, trying to find good build environment

Post 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.
loki1950
The Shepherd
Posts: 5834
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Trouble compiling, trying to find good build environment

Post 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 :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
pyramid
Expert Mercenary
Expert Mercenary
Posts: 988
Joined: Thu Jun 15, 2006 1:02 am
Location: Somewhere in the vastness of space
Contact:

Re: Trouble compiling, trying to find good build environment

Post 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).
the_mtn_who_glides
Merchant
Merchant
Posts: 50
Joined: Thu Aug 29, 2019 2:07 pm

Re: Trouble compiling, trying to find good build environment

Post 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!
loki1950
The Shepherd
Posts: 5834
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Trouble compiling, trying to find good build environment

Post 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 :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
pyramid
Expert Mercenary
Expert Mercenary
Posts: 988
Joined: Thu Jun 15, 2006 1:02 am
Location: Somewhere in the vastness of space
Contact:

Re: Trouble compiling, trying to find good build environment

Post 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.
francis24
Insys Pilot
Insys Pilot
Posts: 2
Joined: Sun Aug 28, 2022 5:34 am
Contact:

Re: Trouble compiling, trying to find good build environment

Post by francis24 »

I also use GCC 4.5.4 as my colleague wrote above and the configuration went well for me, do that and it should be fine
Post Reply