MineTest /
Compile# Irrlicht mkdir irrlicht cd irrlicht/ wget https://downloads.sourceforge.net/irrlicht/irrlicht-1.8.4.zip unzip irrlicht-1.8.4.zip cd irrlicht-1.8.4/source/Irrlicht export CC=/usr/bin/x86_64-w64-mingw32-gcc export CXX=/usr/bin/x86_64-w64-mingw32-g++ export AR=/usr/bin/x86_64-w64-mingw32-ar make NDEBUG=1 staticlib_win32 make NDEBUG=1 sharedlib_win32 # sqlite mkdir sqlite3/ cd sqlite3/ wget http://www.sqlite.org/2017/sqlite-autoconf-3160200.tar.gz \ -O sqlite-autoconf-3160200.tar.gz tar xvzf sqlite-autoconf-3160200.tar.gz cd sqlite-autoconf-3160200/ export CC=/usr/bin/x86_64-w64-mingw32-gcc ./configure --host=x86_64-w64-mingw32 \ --build=x86_64-pc-linux-gnu \ --prefix=/home/$(whoami)/build/sqlite3/sqlite-autoconf-3160200/dist make make install cd ../../../ # leveldb mkdir leveldb cd leveldb/ wget https://github.com/google/leveldb/archive/1.23/leveldb-1.23.tar.gz tar xvzf leveldb-1.23.tar.gz cd leveldb-1.23/ mkdir build cd build/ cmake -D CMAKE_SYSTEM_NAME=Windows \ -D CMAKE_BUILD_TYPE=Release \ -D CMAKE_C_COMPILER=x86_64-w64-mingw32-gcc \ -D CMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ \ -D CMAKE_RC_COMPILER=x86_64-w64-mingw32-windres \ -D CMAKE_FIND_ROOT_PATH=/usr/x86_64-w64-mingw32 \ -D CMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER \ -D CMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \ -D CMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \ -D LEVELDB_BUILD_TESTS=OFF \ -D LEVELDB_BUILD_BENCHMARKS=OFF \ -D BUILD_SHARED_LIBS=ON \ -D CMAKE_INSTALL_PREFIX=/home/$(whoami)/build/leveldb/leveldb-1.23/dist .. # zlib mkdir zlib cd zlib/ wget https://zlib.net/fossils/zlib-1.2.11.tar.gz \ -O zlib-1.2.11.tar.gz tar -xzvf zlib-1.2.11.tar.gz cd zlib-1.2.11/ mkdir build cd build/ cmake -D CMAKE_SYSTEM_NAME=Windows \ -D CMAKE_BUILD_TYPE=Release \ -D BUILD_SHARED_LIBS=ON \ -D CMAKE_C_COMPILER=x86_64-w64-mingw32-gcc \ -D CMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ \ -D CMAKE_RC_COMPILER=x86_64-w64-mingw32-windres \ -D CMAKE_FIND_ROOT_PATH=/usr/x86_64-w64-mingw32 \ -D CMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER \ -D CMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \ -D CMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \ -D CMAKE_INSTALL_PREFIX=/home/$(whoami)/build/zlib/zlib-1.2.11/dist .. make make install # libogg mkdir libogg cd libogg/ wget http://ftp.oregonstate.edu/.1/xiph/releases/ogg/libogg-1.3.5.tar.gz \ -O libogg-1.3.5.tar.gz tar xvzf libogg-1.3.5.tar.gz cd libogg-1.3.5/ export CC=/usr/bin/x86_64-w64-mingw32-gcc ./configure --host=x86_64-w64-mingw32 \ --build=x86_64-pc-linux-gnu \ --prefix=/home/$(whoami)/build/libogg/libogg-1.3.5/dist make make install # libvorbis mkdir libvorbis cd libvorbis/ wget http://ftp.oregonstate.edu/.1/xiph/releases/vorbis/libvorbis-1.3.7.tar.gz \ -O libvorbis-1.3.7.tar.gz tar xvzf libvorbis-1.3.7.tar.gz cd libvorbis-1.3.7/ export CC=/usr/bin/x86_64-w64-mingw32-gcc ./configure --host=x86_64-w64-mingw32 \ --build=x86_64-pc-linux-gnu \ --with-ogg-includes=/home/$(whoami)/build/libogg/libogg-1.3.5/dist/include \ --with-ogg-libraries=/home/$(whoami)/build/libogg/libogg-1.3.5/dist/lib \ --prefix=/home/$(whoami)/build/libvorbis/libvorbis-1.3.7/dist make make install cd ../../ |