Page 1 of 1
Not where where to put this, but.

Posted:
Wed Sep 09, 2015 08:45
by slixxed
How do I build minetest correctly? I've been all over the wiki, CMake keeps popping up errors, e.g. missing sound libraries (which I cant find on google, so I just disabled sound sadly) and after I do that CMake is on about missing SQLite3 which I never saw any recollection in it on the wikis?
Any help is appreciated
Using Windows 10 Home, and was attempting to use CMake W/ Visual Studio 2010
Re: Not where where to put this, but.

Posted:
Wed Sep 09, 2015 15:18
by benrob0329
You have to have the libraries that Cmake says. The ones I know of are:
Irrlicht
OpenAL
Lua or LuaJIT
Boost (I'm pretty sure)
I know that there are more but I can't remember them...
Re: Not where where to put this, but.

Posted:
Wed Sep 09, 2015 16:39
by rubenwardy
We don't use Boost.
Re: Not where where to put this, but.

Posted:
Wed Sep 09, 2015 17:10
by Calinou
You don't need a lot of dependencies to compile Minetest, technically. To make an optimal build, you need the following items:
- CMake
- A compiler (MSVC, MinGW, Clang, ...)
- Irrlicht libraries and associated stuff (libpng, libjpeg, ...)
- SQLite library
- OpenAL (optional)
- libvorbis (optional)
- LuaJIT (optional)
- gettext library (optional)
- Freetype library (optional)
- cURL (optional)
- LevelDB (optional)
- Redis library (optional)
- SpatialIndex (optional)
We have a few bundled items, like plain Lua and jsoncpp.
Re: Not where where to put this, but.

Posted:
Wed Sep 09, 2015 19:16
by slixxed
Can you provide a link to these? Google doesn't say anything
Re: Not where where to put this, but.

Posted:
Wed Sep 09, 2015 21:01
by Don
Re: Not where where to put this, but.

Posted:
Wed Sep 09, 2015 21:37
by slixxed
I looked there and it didnt have information regarding SQLite
*** Will build version 0.4.13-dev ***
Found Irrlicht: C:/Users/Marshal/Desktop/DIR/irrlicht-1.8.2/lib/Win32-visualstudio/Irrlicht.lib
CMake Warning at src/CMakeLists.txt:51 (message):
cURL is required to load the server list
GetText disabled.
Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS)
LuaJIT not found, using bundled Lua.
Detecting GMP from system failed.
Using bundled mini-gmp library.
Found GMP: gmp
LevelDB not found!
Redis not found!
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.3/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find SQLite3 (missing: SQLITE3_LIBRARY SQLITE3_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Program Files (x86)/CMake/share/cmake-3.3/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
cmake/Modules/FindSQLite3.cmake:8 (find_package_handle_standard_args)
src/CMakeLists.txt:195 (find_package)
Configuring incomplete, errors occurred!
See also "C:/Users/Marshal/Desktop/DIR/minetest-build/CMakeFiles/CMakeOutput.log".