![]() ![]() RelWithDebInfo - Release build with debug information ![]() SemiDebug - Partially optimized debug build General options and their default values: BUILD_CLIENT=TRUE - Build Minetest clientīUILD_SERVER=FALSE - Build Minetest serverĬMAKE_BUILD_TYPE=Release - Type of build (Release vs. In that case use -DIRRLICHT_SOURCE_DIR=/the/irrlicht/source.If you build a bare server you don't need to have Irrlicht installed.Debug build is slower, but gives much more useful output in a debugger.You can select between Release and Debug build by -DCMAKE_BUILD_TYPE=.You can disable the client build by specifying -DBUILD_CLIENT=FALSE.You can build a bare server by specifying -DBUILD_SERVER=TRUE.You will want to use -DRUN_IN_PLACE=FALSE. ![]() If you want to install it system-wide (or are making a distribution package),.LH to see all CMake options and their current state. This is an example for installing Git on Debian/Ubuntu: sudo apt install gitĭownload source (this is the URL to the latest of source repository, which might not work at all times) using Git: git clone -depth 1 ĭownload minetest_game (otherwise only the "Minimal development test" game is available) using Git: git clone -depth 1 games/minetest_gameĭownload source, without using Git: wget ĭownload minetest_game, without using Git: cd games/īuild a version that runs directly from the source directory: cmake. If you don’t want Git, read below on how to get the source without Git. You can install Git for easily keeping your copy up to date. Location_of_exe/./nf and also location_of_exe/././nfĬompiling Compiling on GNU/Linux Dependencies Dependencyįor Debian/Ubuntu users: 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įor Fedora users: 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įor Arch users: sudo pacman -S base-devel libcurl-gnutls cmake libxxf86vm irrlicht libpng sqlite libogg libvorbis openal freetype2 jsoncpp gmp luajit leveldb ncursesįor Alpine users: 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 A run-in-place build will look for the configuration file in.A specific file can be specified on the command line:.This file is created by closing Minetest for the first time. ![]() Worlds can be found as separate folders in: user/worlds/ Configuration file
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |