@@ -135,15 +135,16 @@ Compiling
135
135
| GCC | 4.9+ | Can be replaced with Clang 3.4+ |
136
136
| CMake | 3.5+ | |
137
137
| IrrlichtMt | - | Custom version of Irrlicht, see https://github.com/minetest/irrlicht |
138
- | SQLite3 | 3.0+ | |
138
+ | Freetype | 2.0+ | |
139
+ | SQLite3 | 3+ | |
139
140
| Zstd | 1.0+ | |
140
141
| LuaJIT | 2.0+ | Bundled Lua 5.1 is used if not present |
141
142
| GMP | 5.0.0+ | Bundled mini-GMP is used if not present |
142
143
| JsonCPP | 1.0.0+ | Bundled JsonCPP is used if not present |
143
144
144
145
For Debian/Ubuntu users:
145
146
146
- sudo apt install g++ make libc6-dev cmake libpng-dev libjpeg-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev libzstd-dev
147
+ sudo apt install g++ make libc6-dev cmake libpng-dev libjpeg-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev libzstd-dev libluajit-5.1-dev
147
148
148
149
For Fedora users:
149
150
@@ -247,7 +248,6 @@ General options and their default values:
247
248
MinSizeRel - Release build with -Os passed to compiler to make executable as small as possible
248
249
ENABLE_CURL=ON - Build with cURL; Enables use of online mod repo, public serverlist and remote media fetching via http
249
250
ENABLE_CURSES=ON - Build with (n)curses; Enables a server side terminal (command line option: --terminal)
250
- ENABLE_FREETYPE=ON - Build with FreeType2; Allows using TTF fonts
251
251
ENABLE_GETTEXT=ON - Build with Gettext; Allows using translations
252
252
ENABLE_GLES=OFF - Build for OpenGL ES instead of OpenGL (requires support by IrrlichtMt)
253
253
ENABLE_LEVELDB=ON - Build with LevelDB; Enables use of LevelDB map backend
@@ -273,10 +273,10 @@ Library specific options:
273
273
EGL_INCLUDE_DIR - Only if building with GLES; directory that contains egl.h
274
274
EGL_LIBRARY - Only if building with GLES; path to libEGL.a/libEGL.so
275
275
EXTRA_DLL - Only on Windows; optional paths to additional DLLs that should be packaged
276
- FREETYPE_INCLUDE_DIR_freetype2 - Only if building with FreeType 2; directory that contains an freetype directory with files such as ftimage.h in it
277
- FREETYPE_INCLUDE_DIR_ft2build - Only if building with FreeType 2; directory that contains ft2build.h
278
- FREETYPE_LIBRARY - Only if building with FreeType 2; path to libfreetype.a/libfreetype.so/freetype.lib
279
- FREETYPE_DLL - Only if building with FreeType 2 on Windows; path to libfreetype.dll
276
+ FREETYPE_INCLUDE_DIR_freetype2 - Directory that contains files such as ftimage.h
277
+ FREETYPE_INCLUDE_DIR_ft2build - Directory that contains ft2build.h
278
+ FREETYPE_LIBRARY - Path to libfreetype.a/libfreetype.so/freetype.lib
279
+ FREETYPE_DLL - Only on Windows; path to libfreetype-6 .dll
280
280
GETTEXT_DLL - Only when building with gettext on Windows; paths to libintl + libiconv DLLs
281
281
GETTEXT_INCLUDE_DIR - Only when building with gettext; directory that contains iconv.h
282
282
GETTEXT_LIBRARY - Only when building with gettext on Windows; path to libintl.dll.a
@@ -337,7 +337,6 @@ vcpkg install zlib zstd curl[winssl] openal-soft libvorbis libogg libjpeg-turbo
337
337
- ** Don't forget about IrrlichtMt.** The easiest way is to clone it to ` lib/irrlichtmt ` as described in the Linux section.
338
338
- ` curl ` is optional, but required to read the serverlist, ` curl[winssl] ` is required to use the content store.
339
339
- ` openal-soft ` , ` libvorbis ` and ` libogg ` are optional, but required to use sound.
340
- - ` freetype ` is optional, it allows true-type font rendering.
341
340
- ` luajit ` is optional, it replaces the integrated Lua interpreter with a faster just-in-time interpreter.
342
341
- ` gmp ` and ` jsoncpp ` are optional, otherwise the bundled versions will be compiled
343
342
@@ -429,8 +428,7 @@ cmake .. \
429
428
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.14 \
430
429
-DCMAKE_FIND_FRAMEWORK=LAST \
431
430
-DCMAKE_INSTALL_PREFIX=../build/macos/ \
432
- -DRUN_IN_PLACE=FALSE \
433
- -DENABLE_FREETYPE=TRUE -DENABLE_GETTEXT=TRUE
431
+ -DRUN_IN_PLACE=FALSE -DENABLE_GETTEXT=TRUE
434
432
435
433
make -j$( nproc)
436
434
make install
0 commit comments