domingo, 12 de noviembre de 2017

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/warzone2100/files/archives/unsupported/Warzone2100-2.3/2.3.9/warzone2100-2.3.9.tar.gz/download
http://downloads.xiph.org/releases/vorbis/libvorbis-1.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/CompileGuideLinux?version=38

No hay comentarios:

Publicar un comentario

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