SDL_gles problems on CentOS 6.3

Asked by Maik Wagner

Hi everyone,

I am trying to compile "Stratagus" on CentOS 6.3 (a clone of Red Hat Enterprise Linux). I have installed most of the build dependencies using "yum" but I am having problems with the SDL_gles package.

My compiler output is as follows:

CMake Error at CMakeLists.txt:723 (message):
  Compile Stratagus without OpenGL or OpenGL ES 1.1 rendering is not
  supported yet

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
SDL_INCLUDE_DIR
   used as include directory in directory /home/mwagner/Downloads/stratagus_2.2.7.orig

-- Configuring incomplete, errors occurred!

I couldn't find a package for this SDL_gles for CentOS. With most of my Google searches I found notes about Maemo. Could you point me in the right direction, please?

Thanks,

Maik

Question information

Language:
English Edit question
Status:
Answered
For:
Stratagus Edit question
Assignee:
Pali Edit question
Last query:
Last reply:
Revision history for this message
Pali (pali) said :
#1

SDL_gles is SDL extension package for OpenGL ES support used only on Maemo 5.

On Desktop computer you need Open GL headers & library (not ES). Standards paths for OpenGL are:

/usr/include/GL/gl.h
/usr/lib/libGL.so

So install packages which provides gl.h and libGL.so files.

Can you help with this problem?

Provide an answer of your own, or ask Maik Wagner for more information if necessary.

To post a message you must log in.