Install instruction

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Post Reply
kdmiller45
New user
Posts: 3
Joined: 31 Aug 2019, 17:12

Install instruction

Post by kdmiller45 »

I looked quickly around the site and did not see a Install manual , I will be installing this onto Ubuntu

Thanks Keith
User avatar
andrvaut
Trained
Trained
Posts: 200
Joined: 02 Jan 2016, 12:44

Re: Install instruction

Post by andrvaut »

http://developer.wz2100.net/wiki/CompileGuideLinux

Code: Select all

git clone --single-branch --branch 3.3.0-beta1 https://github.com/Warzone2100/warzone2100
git checkout 3.3.0
git submodule update --init --recursive

sudo apt-get install -y autoconf automake build-essential qtscript5-dev libpng-dev libsdl2-dev libtheora-dev libopenal-dev libvorbis-dev libglew-dev libphysfs-dev libfribidi-dev libfreetype6-dev libharfbuzz-dev libfontconfig1-dev gdb docbook-xsl libxml2-utils xsltproc asciidoc wkhtmltopdf gettext

cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX:PATH=~/wz/install -GNinja
cmake --build build --target install 
vaut ΣΑ [GN], ru streamer.
Tournaments channel: https://www.youtube.com/channel/UCzusNa-54ydodtSz2TdHFww
kdmiller45
New user
Posts: 3
Joined: 31 Aug 2019, 17:12

Re: Install instruction

Post by kdmiller45 »

git checkout 3.3.0 gives an error not a git repository (or any of the parent directories): .git

Edit:
I have downloaded and am installing WarZone this is on a Ubuntu current version

after following these instructions:
open a terminal
do this command
sudo apt-get install build-essential automake flex bison libpng12-dev libsdl1.2-dev libopenal-dev libphysfs-dev libvorbis-dev libtheora-dev libglc-dev libglew1.5-dev libxrandr-dev zip unzip libqt4-opengl-dev libqt4-network libqjson-dev
type in your password
then you need to move your terminal to the folder you have warzone in
cd /path/to/warzone/folder
for me i put it in my home folder so I just need to cd warzone2100-3.1.0
then when your terminal show that it is in the correct folder
do these commands
./autogen.sh
./configure && make
wait for it to finish compiling lets hope with no errors!
then run the command
./src/warzone2100

when performing ./configure && make
it says error: QT5.4 not found it is install version 5.12.4 (GCC 4.3.1.20160406 (Red Hat 5.3.1-6), 64bit)
Last edited by Berserk Cyborg on 31 Aug 2019, 22:20, edited 1 time in total.
Reason: Merge post from other topic
User avatar
andrvaut
Trained
Trained
Posts: 200
Joined: 02 Jan 2016, 12:44

Re: Install instruction

Post by andrvaut »

Code: Select all

 ./configure && make
You are compiled with the gcc -O0 switch, this will have a very bad effect on performance.
If we collect through autotools then this:

Code: Select all

./configure --enable-debug=optimised && make -j4
Now the current version is 3.3.0, not 3.1.0 ....
vaut ΣΑ [GN], ru streamer.
Tournaments channel: https://www.youtube.com/channel/UCzusNa-54ydodtSz2TdHFww
kdmiller45
New user
Posts: 3
Joined: 31 Aug 2019, 17:12

Re: Install instruction

Post by kdmiller45 »

WOW, after two days of trying to follow install instructions and failures. I FOUND THE WARZONE2100 IN THE UBUNTU SOFTWARE STORE, HIT INSTALL IT DONE
Thanks for trying, but
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Install instruction

Post by Berg »

What Version is it?
Post Reply