@@ -252,6 +252,8 @@ Compiling on Windows:
252
252
http://www.winimage.com/zLibDll/index.html
253
253
* Zlib library (zlibwapi.lib and zlibwapi.dll from zlib125dll.zip):
254
254
http://www.winimage.com/zLibDll/index.html
255
+ * SQLite3 headers and library
256
+ https://www.sqlite.org/download.html
255
257
* Optional: gettext library and tools:
256
258
http://gnuwin32.sourceforge.net/downlinks/gettext.php
257
259
- This is used for other UI languages. Feel free to leave it out.
@@ -263,14 +265,20 @@ Compiling on Windows:
263
265
- Download all the other stuff to DIR and extract them into there.
264
266
("extract here", not "extract to packagename/")
265
267
NOTE: zlib125dll.zip needs to be extracted into zlib125dll
268
+ NOTE: You need to extract sqlite3.h & sqlite3ext.h from sqlite3 source
269
+ and sqlite3.dll & sqlite3.def from sqlite3 precompiled binaries
270
+ into "sqlite3" directory, and generate sqlite3.lib using command
271
+ "LIB /DEF:sqlite3.def /OUT:sqlite3.lib"
266
272
- All those packages contain a nice base directory in them, which
267
273
should end up being the direct subdirectories of DIR.
268
274
- You will end up with a directory structure like this (+=dir, -=file):
269
275
-----------------
270
276
+ DIR
271
277
- zlib-1.2.5.tar.gz
272
278
- zlib125dll.zip
273
- - irrlicht-1.7.1.zip
279
+ - irrlicht-1.8.3.zip
280
+ - sqlite-amalgamation-3130000.zip (SQLite3 headers)
281
+ - sqlite-dll-win32-x86-3130000.zip (SQLite3 library for 32bit system)
274
282
- 110214175330.zip (or whatever, this is the minetest source)
275
283
+ zlib-1.2.5
276
284
- zlib.h
@@ -280,10 +288,15 @@ Compiling on Windows:
280
288
- readme.txt
281
289
+ dll32
282
290
...
283
- + irrlicht-1.7.1
291
+ + irrlicht-1.8.3
284
292
+ lib
285
293
+ include
286
294
...
295
+ + sqlite3
296
+ sqlite3.h
297
+ sqlite3ext.h
298
+ sqlite3.lib
299
+ sqlite3.dll
287
300
+ gettext (optional)
288
301
+bin
289
302
+include
@@ -310,7 +323,7 @@ Compiling on Windows:
310
323
BUILD_SERVER [ ]
311
324
CMAKE_BUILD_TYPE Release
312
325
CMAKE_INSTALL_PREFIX DIR/minetest-install
313
- IRRLICHT_SOURCE_DIR DIR/irrlicht-1.7.1
326
+ IRRLICHT_SOURCE_DIR DIR/irrlicht-1.8.3
314
327
RUN_IN_PLACE [X]
315
328
WARN_ALL [ ]
316
329
ZLIB_DLL DIR/zlib125dll/dll32/zlibwapi.dll
@@ -321,6 +334,11 @@ Compiling on Windows:
321
334
GETTEXT_LIBRARIES DIR/gettext/lib/intl.lib
322
335
GETTEXT_MSGFMT DIR/gettext/bin/msgfmt
323
336
-----------------
337
+ - If CMake complains it couldn't find SQLITE3, choose "Advanced" box on the
338
+ right top corner, then specify the location of SQLITE3_INCLUDE_DIR and
339
+ SQLITE3_LIBRARY manually.
340
+ - If you want to build 64-bit minetest, you will need to build 64-bit version
341
+ of irrlicht engine manually, as only 32-bit pre-built library is provided.
324
342
- Hit "Configure"
325
343
- Hit "Configure" once again 8)
326
344
- If something is still coloured red, you have a problem.
0 commit comments