Needed for compiling:
Install libIrrlicht1_8 from http://software.opensuse.org/package/libIrrlicht1_8 and then the following.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
zypper install cmake build irrlicht-devel libvorbis-devel libbz2-devel libpng12-devel libjpeg8-devel libXxf86vm-devel sqlite3-devel libogg-devel irrlicht-data gcc gcc-c++ openal-soft-devel Mesa-libGL-devel
Then you can compile as usual.
It might happen that the game appears at the bottom left with everything else blue. Resizing the window should fix this temporally.
==Original post==
I'm now running openSUSE on my laptop and since it is about one thousand times faster than my desktop-pc it would be nice to run minetest on it. But the latest version in the repos is 0.4.7 and it is not working (screenshot).
Does someone know how to compile minetest on openSUSE? What dependencies do I have to install? And if someone knows how to use the open build service SUSE offers, that would be awesome.
Running cmake . -DRUN_IN_PLACE=1 I get:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found. Please set CMAKE_C_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- *** Will build version 0.4.8-dev ***
-- IRRLICHT_SOURCE_DIR =
-- IRRLICHT_INCLUDE_DIR = /usr/include/irrlicht
-- IRRLICHT_LIBRARY = IRRLICHT_LIBRARY-NOTFOUND
-- Could NOT find IRRLICHT (missing: IRRLICHT_LIBRARY)
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found. Please set CMAKE_C_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- CURL_INCLUDE_DIR = CURL_INCLUDE_DIR-NOTFOUND
-- CURL_LIBRARY = CURL_LIBRARY-NOTFOUND
-- CURL_DLL =
-- GetText disabled
-- Could NOT find OpenAL (missing: OPENAL_LIBRARY OPENAL_INCLUDE_DIR)
-- Sound enabled, but OpenAL not found!
-- Sound enabled, but Vorbis libraries not found!
CMake Error at src/CMakeLists.txt:80 (message):
Sound enabled, but cannot be used.
To continue, either fill in the required paths or disable sound.
(-DENABLE_SOUND=0)
-- Configuring incomplete, errors occurred!