@@ -134,27 +134,27 @@ Compiling
134
134
| ------------| ---------| ------------|
135
135
| GCC | 4.9+ | Can be replaced with Clang 3.4+ |
136
136
| CMake | 2.6+ | |
137
- | Irrlicht | 1.7.3+ | |
137
+ | Irrlicht | - | Custom version required, see https://github.com/minetest/irrlicht |
138
138
| SQLite3 | 3.0+ | |
139
139
| LuaJIT | 2.0+ | Bundled Lua 5.1 is used if not present |
140
140
| GMP | 5.0.0+ | Bundled mini-GMP is used if not present |
141
141
| JsonCPP | 1.0.0+ | Bundled JsonCPP is used if not present |
142
142
143
143
For Debian/Ubuntu users:
144
144
145
- sudo apt install g++ make libc6-dev libirrlicht-dev cmake libbz2-dev 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
145
+ 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
146
146
147
147
For Fedora users:
148
148
149
- sudo dnf install make automake gcc gcc-c++ kernel-devel cmake libcurl-devel openal-soft-devel libvorbis-devel libXxf86vm-devel libogg-devel freetype-devel mesa-libGL-devel zlib-devel jsoncpp-devel irrlicht-devel bzip2-libs gmp-devel sqlite-devel luajit-devel leveldb-devel ncurses-devel doxygen spatialindex-devel bzip2 -devel
149
+ sudo dnf install make automake gcc gcc-c++ kernel-devel cmake libcurl-devel openal-soft-devel libvorbis-devel libXxf86vm-devel libogg-devel freetype-devel mesa-libGL-devel zlib-devel jsoncpp-devel gmp-devel sqlite-devel luajit-devel leveldb-devel ncurses-devel spatialindex-devel
150
150
151
151
For Arch users:
152
152
153
- sudo pacman -S base-devel libcurl-gnutls cmake libxxf86vm irrlicht libpng sqlite libogg libvorbis openal freetype2 jsoncpp gmp luajit leveldb ncurses
153
+ sudo pacman -S base-devel libcurl-gnutls cmake libxxf86vm libpng sqlite libogg libvorbis openal freetype2 jsoncpp gmp luajit leveldb ncurses
154
154
155
155
For Alpine users:
156
156
157
- sudo apk add build-base irrlicht-dev cmake bzip2-dev libpng-dev jpeg-dev libxxf86vm-dev mesa-dev sqlite-dev libogg-dev libvorbis-dev openal-soft-dev curl-dev freetype-dev zlib-dev gmp-dev jsoncpp-dev luajit-dev
157
+ sudo apk add build-base cmake libpng-dev jpeg-dev libxxf86vm-dev mesa-dev sqlite-dev libogg-dev libvorbis-dev openal-soft-dev curl-dev freetype-dev zlib-dev gmp-dev jsoncpp-dev luajit-dev
158
158
159
159
#### Download
160
160
@@ -209,8 +209,8 @@ Run it:
209
209
- You can disable the client build by specifying ` -DBUILD_CLIENT=FALSE ` .
210
210
- You can select between Release and Debug build by ` -DCMAKE_BUILD_TYPE=<Debug or Release> ` .
211
211
- Debug build is slower, but gives much more useful output in a debugger.
212
- - If you build a bare server you don't need to have Irrlicht installed.
213
- - In that case use ` -DIRRLICHT_SOURCE_DIR=/the/ irrlicht/source ` .
212
+ - If you build a bare server you don't need to have the Irrlicht library installed.
213
+ - In that case use ` -DIRRLICHT_INCLUDE_DIR=/some/where/ irrlicht/include ` .
214
214
215
215
### CMake options
216
216
@@ -246,8 +246,6 @@ General options and their default values:
246
246
247
247
Library specific options:
248
248
249
- BZIP2_INCLUDE_DIR - Linux only; directory where bzlib.h is located
250
- BZIP2_LIBRARY - Linux only; path to libbz2.a/libbz2.so
251
249
CURL_DLL - Only if building with cURL on Windows; path to libcurl.dll
252
250
CURL_INCLUDE_DIR - Only if building with cURL; directory where curl.h is located
253
251
CURL_LIBRARY - Only if building with cURL; path to libcurl.a/libcurl.so/libcurl.lib
@@ -276,7 +274,6 @@ Library specific options:
276
274
SPATIAL_LIBRARY - Only when building with LibSpatial; path to libspatialindex_c.so/spatialindex-32.lib
277
275
LUA_INCLUDE_DIR - Only if you want to use LuaJIT; directory where luajit.h is located
278
276
LUA_LIBRARY - Only if you want to use LuaJIT; path to libluajit.a/libluajit.so
279
- MINGWM10_DLL - Only if compiling with MinGW; path to mingwm10.dll
280
277
OGG_DLL - Only if building with sound on Windows; path to libogg.dll
281
278
OGG_INCLUDE_DIR - Only if building with sound; directory that contains an ogg directory which contains ogg.h
282
279
OGG_LIBRARY - Only if building with sound; path to libogg.a/libogg.so/libogg.dll.a
@@ -314,9 +311,10 @@ It is highly recommended to use vcpkg as package manager.
314
311
315
312
After you successfully built vcpkg you can easily install the required libraries:
316
313
``` powershell
317
- vcpkg install irrlicht zlib curl[winssl] openal-soft libvorbis libogg sqlite3 freetype luajit gmp jsoncpp --triplet x64-windows
314
+ vcpkg install zlib curl[winssl] openal-soft libvorbis libogg sqlite3 freetype luajit gmp jsoncpp --triplet x64-windows
318
315
```
319
316
317
+ - ** Note that you currently need to build irrlicht on your own**
320
318
- ` curl ` is optional, but required to read the serverlist, ` curl[winssl] ` is required to use the content store.
321
319
- ` openal-soft ` , ` libvorbis ` and ` libogg ` are optional, but required to use sound.
322
320
- ` freetype ` is optional, it allows true-type font rendering.
0 commit comments