X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=mercenary-reloaded.git;a=blobdiff_plain;f=readme.txt;h=8ae5ae1a3ad338b037debad25001127bdd651096;hp=5a64640894a5e09d21ca76f6a2b644069fad85df;hb=59abe0e01a3db005db7ff8907b7b26cd4054a722;hpb=b2ed68e40956d5abb707c37b451a1b830eb902f4 diff --git a/readme.txt b/readme.txt index 5a64640..8ae5ae1 100644 --- a/readme.txt +++ b/readme.txt @@ -1,19 +1,24 @@ Prerequisites: Install autoconf and libtool, so you can generate the configure scripts. -Install SDL2 and GLEW, because this software requires SDL and OpenGL. +Install SDL2 developer package, because this software requires SDL2. -To build: +To build for Linux: $ autoreconf -if $ ./configure $ make $ make install -Problems: +To build for Windows: -$ libtoolize -$ automake --add-missing +$ autoreconf -if +$ ./configure --host=i686-w64-mingw32 +$ make + +To build Oculus VR version for Windows: + +$ autoreconf -if +$ ./configure --host=i686-w64-mingw32 --with-ovr +$ make -./configure: line 15095: syntax error near unexpected token `sdl2,' -./configure: line 15095: ` PKG_CHECK_MODULES(sdl2, sdl2 >= 2.0, with_sdl2=yes, with_sdl2=no)'