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).

Re: Trouble compiling, trying to find good build environment

Postby the_mtn_who_glides » Mon Oct 14, 2019 8:50 pm

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.
the_mtn_who_glides
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Thu Aug 29, 2019 2:07 pm

Share On:

Share on Facebook Facebook Share on Twitter Twitter Share on Digg Digg

Re: Trouble compiling, trying to find good build environment

Postby loki1950 » Mon Oct 14, 2019 11:15 pm

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
User avatar
loki1950
The Shepherd
 
Posts: 5760
Topics: 52
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa

Re: Trouble compiling, trying to find good build environment

Postby pyramid » Mon Feb 10, 2020 3:49 pm

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).
User avatar
pyramid
Expert Mercenary
Expert Mercenary
 
Posts: 983
Topics: 46
Joined: Thu Jun 15, 2006 1:02 am
Location: Somewhere in the vastness of space

Re: Trouble compiling, trying to find good build environment

Postby the_mtn_who_glides » Fri Feb 21, 2020 1:11 am

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!
the_mtn_who_glides
Trader
Trader
 
Posts: 24
Topics: 2
Joined: Thu Aug 29, 2019 2:07 pm

Re: Trouble compiling, trying to find good build environment

Postby loki1950 » Fri Feb 21, 2020 2:42 am

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
User avatar
loki1950
The Shepherd
 
Posts: 5760
Topics: 52
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa

Re: Trouble compiling, trying to find good build environment

Postby pyramid » Fri Feb 21, 2020 12:18 pm

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.
User avatar
pyramid
Expert Mercenary
Expert Mercenary
 
Posts: 983
Topics: 46
Joined: Thu Jun 15, 2006 1:02 am
Location: Somewhere in the vastness of space


Previous

Return to Compiling Problems [paste config.log]

Who is online

Users browsing this forum: No registered users and 1 guest

cron