Update the version of irrlicht to 1.8.3, add steps for Sqlite3
authorDLaboratory <dlaboratory@126.com>
Wed, 13 Jul 2016 08:49:47 +0000 (16:49 +0800)
committerLoic Blot <loic.blot@unix-experience.fr>
Wed, 10 Aug 2016 12:23:02 +0000 (14:23 +0200)
Also add note for 64-bit Windows users

README.txt

index 2963614e9a6a7cd50828a107c902d8f9f727d610..4b2f50b5acfbcee3a8aed9515648d07b466c2913 100644 (file)
@@ -252,6 +252,8 @@ Compiling on Windows:
                http://www.winimage.com/zLibDll/index.html
        * Zlib library (zlibwapi.lib and zlibwapi.dll from zlib125dll.zip):
                http://www.winimage.com/zLibDll/index.html
+       * SQLite3 headers and library
+               https://www.sqlite.org/download.html
        * Optional: gettext library and tools:
                http://gnuwin32.sourceforge.net/downlinks/gettext.php
                - 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.
          ("extract here", not "extract to packagename/")
          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
          should end up being the direct subdirectories of DIR.
        - You will end up with a directory structure like this (+=dir, -=file):
@@ -270,7 +276,9 @@ Compiling on Windows:
        + DIR
                - zlib-1.2.5.tar.gz
                - 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)
                + zlib-1.2.5
                        - zlib.h
@@ -280,10 +288,15 @@ Compiling on Windows:
                        - readme.txt
                        + dll32
                        ...
-               + irrlicht-1.7.1
+               + irrlicht-1.8.3
                        + lib
                        + include
                        ...
+               + sqlite3
+                       sqlite3.h
+                       sqlite3ext.h
+                       sqlite3.lib
+                       sqlite3.dll
                + gettext (optional)
                        +bin
                        +include
@@ -310,7 +323,7 @@ Compiling on Windows:
        BUILD_SERVER             [ ]
        CMAKE_BUILD_TYPE         Release
        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]
        WARN_ALL                 [ ]
        ZLIB_DLL                 DIR/zlib125dll/dll32/zlibwapi.dll
@@ -321,6 +334,11 @@ Compiling on Windows:
        GETTEXT_LIBRARIES        DIR/gettext/lib/intl.lib
        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" once again 8)
        - If something is still coloured red, you have a problem.