Minetest refuse to compile

Questions about applications and software
Forum rules
Before you post please read how to get help

Minetest refuse to compile

Postby FDF on Thu Aug 30, 2012 7:02 am

High,

My kids are fan of Minetest. So they ask me for the new release 4.1 while it is the 3 in the depot.
So I downloaded the source to compile it, but I face an error while Making…
The problem is in opengl, which is not properly found… but I have many games running with opengl already…
Can you help me there. You'll make me and my kids happy.

I put all the result of cmake as you'll have more input.
Code: Select all
user@desktop:~/Téléchargements/minetest$ cmake . -LH -DRUN_IN_PLACE=1
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- *** Will build version 0.4.1 ***
-- IRRLICHT_SOURCE_DIR =
-- IRRLICHT_INCLUDE_DIR = /usr/include/irrlicht
-- IRRLICHT_LIBRARY = /usr/lib/libIrrlicht.a
-- Found IRRLICHT: /usr/lib/libIrrlicht.a
-- GetText disabled
-- Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so
-- Found VORBIS: /usr/include
-- Sound enabled
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
  Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-2.8/Modules/FindOpenGL.cmake:153 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  src/CMakeLists.txt:121 (find_package)


-- Configuring incomplete, errors occurred!
-- Cache values
// Build client
BUILD_CLIENT:BOOL=1

// Build server
BUILD_SERVER:BOOL=1

// Build type: Debug or Release
CMAKE_BUILD_TYPE:STRING=Release

// Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/usr/local

// Use GetText for internationalization
ENABLE_GETTEXT:BOOL=OFF

// Enable sound
ENABLE_SOUND:BOOL=ON

// Path to irrlicht source directory (optional)
IRRLICHT_SOURCE_DIR:PATH=

// Path to a file.
OPENGL_INCLUDE_DIR:PATH=/usr/include

// Path to a library.
OPENGL_gl_LIBRARY:FILEPATH=OPENGL_gl_LIBRARY-NOTFOUND

// Path to a library.
OPENGL_glu_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libGLU.so

// Path to a file.
OPENGL_xmesa_INCLUDE_DIR:PATH=OPENGL_xmesa_INCLUDE_DIR-NOTFOUND

// Run directly in source directory structure
RUN_IN_PLACE:BOOL=1

// Use -pg flag for g++
USE_GPROF:BOOL=0

// Stuff to append to version string
VERSION_EXTRA:STRING=

// Enable -Wall for Release build
WARN_ALL:BOOL=1


Thanks
FDF
Level 3
Level 3
 
Posts: 101
Joined: Fri Nov 04, 2011 7:55 pm

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 3 guests