Warzone 2100 v2.3.9 for Linux and the command to compile.

Website issues & feedback. Constructive criticism is welcome.
(Guest posting is allowed under certain circumstances)
If you have a problem with certain individuals, then PM the Staff account.

Warzone 2100 v2.3.9 for Linux and the command to compile.

Postby Seraff » 02 Jul 2016, 18:29

Please help.

Please tell me where you can find the version 2.3.9 for Linux, the packages needed for compilation and a valid command for the terminal?

I really hope for your help.
Seraff
New user
 
Posts: 1
Joined: 02 Jul 2016, 18:16

Re: Warzone 2100 v2.3.9 for Linux and the command to compile

Postby Darkling » 03 Jul 2016, 05:01

you can find the source code for version 2.3.9 at
https://github.com/Warzone2100/warzone2100
click on releases and then keep on going until you find the version you want and download it.

Once it's downloaded extract the tar.gz file into a folder in your home directory (for example warzone2100).

Open up the terminal window (I use Ubuntu so a ctrl-alt-t shortcut works for me) and change to that directory (cd warzone2100)
then type ./configure into the terminal. This should check to see if you can compile it and will tell you what packages you need to install if you're missing them (sudo apt-get install <missing package name>).

Once ./configure runs through with no error messages, then you can go to the next step which is to type:
sudo make install
into the terminal window. This will compile the game and may take a few minutes. Once it's completed then type
./src/warzone2100
into the terminal window and that will start the game. Afterwards the game should start simply by typing warzone2100 into the terminal window.

The flavour of Linus I use is Ubuntu, so some of the commands for installing the packages may differ depending on the version of Linux you use, so remember, google is your friend.
Darkling
Greenhorn
 
Posts: 9
Joined: 07 Feb 2016, 00:45

Re: Warzone 2100 v2.3.9 for Linux and the command to compile

Postby andrvaut » 07 Jul 2016, 19:37

vaut ΣΑ [GN], ru streamer.
Tournaments channel: https://www.youtube.com/channel/UCzusNa-54ydodtSz2TdHFww
User avatar
andrvaut
Trained
Trained
 
Posts: 44
Joined: 02 Jan 2016, 12:44

Re: Warzone 2100 v2.3.9 for Linux and the command to compile

Postby Seraff1 » 20 Jul 2016, 17:44

I tried a lot of time to compile. But always when "make" getting the exact same error:

//usr/lib/x86_64-linux-gnu/libvorbis.so.0: error adding symbols: DSO missing from command line

Debian Jessie 8.5
Seraff1
New user
 
Posts: 1
Joined: 20 Jul 2016, 17:41

Re: Warzone 2100 v2.3.9 for Linux and the command to compile

Postby pinguinitux » 13 Nov 2017, 00:44

Seraff1 wrote:I tried a lot of time to compile. But always when "make" getting the exact same error:

//usr/lib/x86_64-linux-gnu/libvorbis.so.0: error adding symbols: DSO missing from command line

Debian Jessie 8.5



The solution is here: https://pinguinitux.blogspot.com/2017/1 ... -1604.html
pinguinitux
 

Re: Warzone 2100 v2.3.9 for Linux and the command to compile

Postby pinguinitux » 13 Nov 2017, 00:46

Seraff1 wrote:I tried a lot of time to compile. But always when "make" getting the exact same error:

//usr/lib/x86_64-linux-gnu/libvorbis.so.0: error adding symbols: DSO missing from command line

Debian Jessie 8.5



Compilar warzone2100 2.3.9 en Ubuntu 16.04 para equipos que no soportan OpenGL >= 2.0
Instalar Paquetes

apt-get install build-essential automake flex bison libpopt-dev libpng12-dev libsdl1.2-dev libopenal-dev libphysfs-dev libtheora-dev libglc-dev zip bisonc++ libtool libglew1.13 libminiupnpc10 libqt4-script libqt4-xml libqtcore4 libqtdbus4 libvorbisfile3 qtcore4-l10n

cd /var/tmp/

Descargar Fuentes

https://sourceforge.net/projects/warzon ... z/download
http://downloads.xiph.org/releases/vorb ... 3.2.tar.gz

En /var/tmp/
tar -xvzf warzone2100-2.3.9.tar.gz
mkdir /var/tmp/warzone2100-2.3.9/lib/vorbis

tar -xvzf libvorbis-1.3.2.tar.gz
cd /var/tmp/libvorbis-1.3.2/

./configure --libdir=/var/tmp/warzone2100-2.3.9/lib/vorbis/lib --includedir=/var/tmp/warzone2100-2.3.9/lib/vorbis/include --disable-shared --oldincludedir=/var/tmp/warzone2100-2.3.9/lib/vorbis/lib

make -j 2
make install

cd /var/tmp/warzone2100-2.3.9/

OGGVORBIS_CFLAGS="-I/var/tmp/warzone2100-2.3.9/lib/vorbis/include/" LDFLAGS="/var/tmp/warzone2100-2.3.9/lib/vorbis/lib/*.a" CFLAGS="-I/var/tmp/warzone2100-2.3.9/lib/vorbis/include/" OGGVORBIS_LIBS="/var/tmp/warzone2100-2.3.9/lib/vorbis/lib/*.a" ./configure --prefix=/opt/warzone2100-2.3.9

OGGVORBIS_CFLAGS="-I/var/tmp/warzone2100-2.3.9/lib/vorbis/include/" LDFLAGS="/var/tmp/warzone2100-2.3.9/lib/vorbis/lib/*.a" CFLAGS="-I/var/tmp/warzone2100-2.3.9/lib/vorbis/include/" OGGVORBIS_LIBS="/var/tmp/warzone2100-2.3.9/lib/vorbis/lib/*.a" make -j 2

make -Cpo install

Referencias:

http://developer.wz2100.net/wiki/CompileGuideLinux
http://developer.wz2100.net/wiki/Compil ... version=38
pinguinitux
 


Return to Website feedback