Update the version of irrlicht to 1.8.3, add steps for Sqlite3

Also add note for 64-bit Windows users
This commit is contained in:
DLaboratory 2016-07-13 16:49:47 +08:00 committed by Loic Blot
parent 82494b8cc1
commit 1be3894e6f
1 changed files with 21 additions and 3 deletions

View File

@ -252,6 +252,8 @@ Compiling on Windows:
http://www.winimage.com/zLibDll/index.html http://www.winimage.com/zLibDll/index.html
* Zlib library (zlibwapi.lib and zlibwapi.dll from zlib125dll.zip): * Zlib library (zlibwapi.lib and zlibwapi.dll from zlib125dll.zip):
http://www.winimage.com/zLibDll/index.html http://www.winimage.com/zLibDll/index.html
* SQLite3 headers and library
https://www.sqlite.org/download.html
* Optional: gettext library and tools: * Optional: gettext library and tools:
http://gnuwin32.sourceforge.net/downlinks/gettext.php http://gnuwin32.sourceforge.net/downlinks/gettext.php
- This is used for other UI languages. Feel free to leave it out. - This is used for other UI languages. Feel free to leave it out.
@ -263,6 +265,10 @@ Compiling on Windows:
- Download all the other stuff to DIR and extract them into there. - Download all the other stuff to DIR and extract them into there.
("extract here", not "extract to packagename/") ("extract here", not "extract to packagename/")
NOTE: zlib125dll.zip needs to be extracted into zlib125dll NOTE: zlib125dll.zip needs to be extracted into zlib125dll
NOTE: You need to extract sqlite3.h & sqlite3ext.h from sqlite3 source
and sqlite3.dll & sqlite3.def from sqlite3 precompiled binaries
into "sqlite3" directory, and generate sqlite3.lib using command
"LIB /DEF:sqlite3.def /OUT:sqlite3.lib"
- All those packages contain a nice base directory in them, which - All those packages contain a nice base directory in them, which
should end up being the direct subdirectories of DIR. should end up being the direct subdirectories of DIR.
- You will end up with a directory structure like this (+=dir, -=file): - You will end up with a directory structure like this (+=dir, -=file):
@ -270,7 +276,9 @@ Compiling on Windows:
+ DIR + DIR
- zlib-1.2.5.tar.gz - zlib-1.2.5.tar.gz
- zlib125dll.zip - zlib125dll.zip
- irrlicht-1.7.1.zip - irrlicht-1.8.3.zip
- sqlite-amalgamation-3130000.zip (SQLite3 headers)
- sqlite-dll-win32-x86-3130000.zip (SQLite3 library for 32bit system)
- 110214175330.zip (or whatever, this is the minetest source) - 110214175330.zip (or whatever, this is the minetest source)
+ zlib-1.2.5 + zlib-1.2.5
- zlib.h - zlib.h
@ -280,10 +288,15 @@ Compiling on Windows:
- readme.txt - readme.txt
+ dll32 + dll32
... ...
+ irrlicht-1.7.1 + irrlicht-1.8.3
+ lib + lib
+ include + include
... ...
+ sqlite3
sqlite3.h
sqlite3ext.h
sqlite3.lib
sqlite3.dll
+ gettext (optional) + gettext (optional)
+bin +bin
+include +include
@ -310,7 +323,7 @@ Compiling on Windows:
BUILD_SERVER [ ] BUILD_SERVER [ ]
CMAKE_BUILD_TYPE Release CMAKE_BUILD_TYPE Release
CMAKE_INSTALL_PREFIX DIR/minetest-install CMAKE_INSTALL_PREFIX DIR/minetest-install
IRRLICHT_SOURCE_DIR DIR/irrlicht-1.7.1 IRRLICHT_SOURCE_DIR DIR/irrlicht-1.8.3
RUN_IN_PLACE [X] RUN_IN_PLACE [X]
WARN_ALL [ ] WARN_ALL [ ]
ZLIB_DLL DIR/zlib125dll/dll32/zlibwapi.dll ZLIB_DLL DIR/zlib125dll/dll32/zlibwapi.dll
@ -321,6 +334,11 @@ Compiling on Windows:
GETTEXT_LIBRARIES DIR/gettext/lib/intl.lib GETTEXT_LIBRARIES DIR/gettext/lib/intl.lib
GETTEXT_MSGFMT DIR/gettext/bin/msgfmt GETTEXT_MSGFMT DIR/gettext/bin/msgfmt
----------------- -----------------
- If CMake complains it couldn't find SQLITE3, choose "Advanced" box on the
right top corner, then specify the location of SQLITE3_INCLUDE_DIR and
SQLITE3_LIBRARY manually.
- If you want to build 64-bit minetest, you will need to build 64-bit version
of irrlicht engine manually, as only 32-bit pre-built library is provided.
- Hit "Configure" - Hit "Configure"
- Hit "Configure" once again 8) - Hit "Configure" once again 8)
- If something is still coloured red, you have a problem. - If something is still coloured red, you have a problem.