On this quick and dirty how-to we’re installing Unvanquished from the git repo. Unvanquished is also available in the PlayDeb repository.
Unvanquished is a free open-source first-person shooter and strategy game created by Unvanquished Development. Players fight online in team based combat in a war of aliens against humans. The game is available for most major platforms (Linux, Mac and Windows). Support for other platforms (BSD derivatives, iPhone, etc.) is partially completed but not officially supported.
Install Ubuntu dependencies:
sudo apt-get install libcurl4-gnutls-dev libfreetype6-dev libglew1.6-dev libgmp3-dev libjpeg8-dev libncurses5-dev libogg-dev libopenal-dev libpng12-dev libsdl1.2-dev libvorbis-dev zlib1g-dev nettle-dev libwebp-dev libspeexdsp-dev libtheora-dev git cmake
Clone the git repository:
git clone https://github.com/Unvanquished/Unvanquished.git
Open Unvanquished folder and create a build directory and copy download-pk3.sh into main then main into build :Enter build directory:
Configure /w cmake:
Enter main folder and run download-pk3.sh
cd main ; sh *.sh
You will get the following error ignore it.
cp download-pk3.sh build/main | it will end /w Syntax error: “(” unexpected
Change back to build directory:
If you’re in bash you can use Ctrl+A to jump to start of line.
Indeed. I was punishing myself for the typo.
— git reported 0.6.0-1-deb-65-g994e34d+dirty
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
XVID_INCLUDE_DIR used as include directory in directory /home/yorrd/Desktop/unvanquished/UnvanquishedXVID_LIBRARY
linked by target “client” in directory /home/yorrd/Desktop/unvanquished/Unvanquished
it works when I disable the XVID thingy in the ccmake GUI, but it tells me
No targets specified and no makefile found. Stop.
when entering make -j2
Any idea what this could be all about? Thanks a lot!
EDIT: doh, I wasn’t in the root directory of my unvanquished folder. So of course there was no make file >.<