![]() To compile a win64 version of Minetest in Linux with MinGW you can use the build script in utils/buildbot/buildwin64.sh. To compile a win32 version of Minetest in Linux with MinGW you can use the build script in utils/buildbot/buildwin32.sh. Running the produced executable tells you it doesn't have. ![]() You may need to copy some of the downloaded DLLs into bin/, see what (or mingw32-make or whatever it happens to be) Using the command line, browse to the build directory and run 'make' Additionally you may create a zip package by building the PACKAGE You should now have a working game with the executable in MSBuild.exe ALL_BUILD.vcxproj /p:Configuration=Release Compile Minetest by switching to your DIR\minetest-build Add the path to your system PATH variable Find MSBuild.exe in %windir%\Microsoft.NET\Framework\v?.?.?\MSBuild.exe You may want to use console commands to compile Minetest: Switch the configuration from "Debug" to "Release", unless you want toĭebug some stuff (it's slower and might not even work at all) If something is still coloured red, you have a problem. See also: Differently explained CMake setup ZLIB_LIBRARIES DIR/zlib125dll/dll32/zlibwapi.lib ZLIB_DLL DIR/zlib125dll/dll32/zlibwapi.dll OPENAL_LIBRARY %programfiles%\OpenAL\lib\OpenA元2.lib OPENAL_INCLUDE_DIR %programfiles%\OpenAL\include VORBISFILE_LIBRARY DIR/libvorbis-1.3.3/?/libvorbisfile.lib VORBISFILE_INCLUDE_DIR DIR/libvorbis-1.3.3/include VORBIS_LIBRARY DIR/libvorbis-1.3.3/?/libvorbis.lib VORBIS_INCLUDE_DIR DIR/libvorbis-1.3.3/include OGG_LIBRARIES DIR/libogg-1.3.1/?/libogg.lib IRRLICHT_LIBRARY DIR/irrlicht-1.8.1/lib/?/Irrlicht.lib GETTEXT_LIBRARIES DIR/gettext/lib/libintl.lib (note that the versions may differ for you):ĬMAKE_INSTALL_PREFIX DIR/minetest-install Make sure the configuration is as follows It will warn about missing stuff, ignore that at this point. Select "Browse Build." and select DIR/minetest Select "Browse Build." and select DIR/minetest-build Select "Browse Source." and select DIR/minetest 110214175330.zip (or whatever, this is the minetest source) You will end up with a directory structure like this ( dir, - file): Should end up being the direct subdirectories of DIR. All those packages contain a nice base directory in them, which Note: zlib125dll.zip needs to be extracted into zlib125dll ("extract here", not "extract to packagename/") Download all other libraries and extract them into your DIR. Make sure you have CMake and a compiler (MinGW or MSVC) installed. Support for TTF fonts (recommended) Steps - Select a directory called DIR hereafter in which you will operate. And, of course, Minetest (Git clone recommended)įor additional execution speed of mods, may have noticeable memory limits.I don't want to download these libraries.zlib headers (zlib125.zip) and library (.lib
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |