Ubuntu 18.04 Compiling problem

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

Ubuntu 18.04 Compiling problem

Postby toffuuu » Tue Jun 04, 2019 3:51 am

HI I'm trying to see if I can get this compiled on 64Bit xUbuntu 18.04, now in terminal after it fail, points me to CMakeoutput.log file. so I will include that. I'd really like to try this game, but just hope I can get over this hurdle, and if at all any others.
Attachments
CMakeOutput.log
(45.41 KiB) Downloaded 50 times
toffuuu
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
 
Posts: 3
Topics: 1
Joined: Tue Jun 04, 2019 3:43 am

Share On:

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

Re: Ubuntu 18.04 Compiling problem

Postby loki1950 » Tue Jun 04, 2019 9:47 am

Sorry but the current source code will not complie on any modern up to date distro the API's of all our supporting libraries have changed sometimes quite drastically all of the library calls must be updated in the C++ and I am likely the last man standing on the project unfortunately I do not know C++ you might ckech Wiser's thread on updating the source here on the forum or check the GitHub page for activity wiser is also moving from Python 2.7 to 3 and he is having problems with the Python stub embedded in the engine's C++ code getting lib boost work correctly this is not a trivial exercise.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 18/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 DELL E6400 4GB ram/100 GB HD Mint 17.3 6
User avatar
loki1950
The Shepherd
 
Posts: 5729
Topics: 51
Joined: Fri May 13, 2005 1:37 pm
Location: Ottawa

Re: Ubuntu 18.04 Compiling problem

Postby toffuuu » Tue Jun 04, 2019 10:33 am

Hmm Well hopefully sooner or later someone may be able to "figure it out" lol I'm no developer myself.. Just know how to use source code though as long as it works.. But thank you for letting me know on the whole Dev side of this. Guess I'll just have to be patient.
toffuuu
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
 
Posts: 3
Topics: 1
Joined: Tue Jun 04, 2019 3:43 am

Re: Ubuntu 18.04 Compiling problem

Postby p8Q4jgRoJ7n6qKXN » Sat Jun 08, 2019 4:46 pm

Was able to build on 18.04. Did a clean install of 18.04. Grabbed the code and ran the following commands. The biggest thing to be aware of is that boost doesn't check out with the rest of the source correctly. This is because of bad svn:externals for pulling it. The commands below correct that along with installing required packages and building.

Code: Select all
sudo apt install subversion
svn checkout https://svn.code.sf.net/p/vegastrike/code/trunk vegastrike-code
cd vegastrike-code/vegastrike/boost/1_53
touch tmpext

So at this point we have pulled the code, switched to the boost directory, and made an empty file.  We need this file to update the svn externals.  edit the file and put these lines in it:

boost https://svn.boost.org/svn/boost/tags/release/Boost_1_53_0/boost
src https://svn.boost.org/svn/boost/tags/release/Boost_1_53_0/libs/python/src
system https://svn.boost.org/svn/boost/tags/release/Boost_1_53_0/libs/system/src

Then continue with these commands:

svn propset svn:externals -F tmpext .
svn update
cd ../../..
mkdir build
cd build
sudo apt install cmake
sudo apt install build-essential
sudo apt install python-dev
sudo apt install libgl1-mesa-dev
sudo apt install freeglut3-dev
sudo apt install libopenal-dev
sudo apt install libvorbis-dev
sudo apt install libjpeg62-dev
sudo apt install pkg-config
sudo apt install libsdl-dev
sudo apt install libgtk2.0-dev
cmake ../vegastrike-code/vegastrike/ -DDISABLE_FFMPEG=ON
make
cd ..
cd vegastrike-code/
cd data/
ln -s ../../build/vegastrike
ln -s ../../build/setup/vssetup
./vssetup
./vegastrike
p8Q4jgRoJ7n6qKXN
Insys Pilot
Insys Pilot
 
Posts: 2
Joined: Sat Jun 08, 2019 4:26 pm

Re: Ubuntu 18.04 Compiling problem

Postby toffuuu » Sun Jun 09, 2019 8:13 am

Will give this a try when I have the time, Thanks.
toffuuu
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
 
Posts: 3
Topics: 1
Joined: Tue Jun 04, 2019 3:43 am



Return to Compiling Problems [paste config.log]

Who is online

Users browsing this forum: No registered users and 1 guest

cron