View Single Post
Posts: 42 | Thanked: 4 times | Joined on Dec 2007
#1
Hello,

I'm trying to compile caprice32, a cpc emulator. It seems to make use of the OpenGL extensions for libSDL. I do not seem to see any of these available in the nokia/maemo distribution archive, as follows:

[sbox-FREMANTLE_ARMEL: ~/caprice] > make -f makefile.unix
g++ -Wall `sdl-config --cflags` -gstabs+ -c glfuncs.cpp
In file included from glfuncs.h:24,
from glfuncs.cpp:20:
/usr/include/SDL/SDL_opengl.h:44:60: error: GL/gl.h: No such file or directory
/usr/include/SDL/SDL_opengl.h:45:58: error: GL/glu.h: No such file or directory
In file included from glfuncs.h:24,
from glfuncs.cpp:20:
/usr/include/SDL/SDL_opengl.h:3174: error: typedef 'PFNGLBLENDCOLORPROC' is initialized (use __typeof__ instead)
/usr/include/SDL/SDL_opengl.h:3174: error: 'GLclampf' was not declared in this scope
/usr/include/SDL/SDL_opengl.h:3174: error: 'GLclampf' was not declared in this scope
/usr/include/SDL/SDL_opengl.h:3174: error: 'GLclampf' was not declared in this scope
/usr/include/SDL/SDL_opengl.h:3174: error: 'GLclampf' was not declared in this scope
/usr/include/SDL/SDL_opengl.h:3175: error: typedef 'PFNGLBLENDEQUATIONPROC' is initialized (use __typeof__ instead)
/usr/include/SDL/SDL_opengl.h:3175: error: 'GLenum' was not declared in this scope
/usr/include/SDL/SDL_opengl.h:3176: error: typedef 'PFNGLDRAWRANGEELEMENTSPROC' is initialized (use __typeof__ instead)
/usr/include/SDL/SDL_opengl.h:3176: error: 'GLenum' was not declared in this scope
/usr/include/SDL/SDL_opengl.h:3176: error: 'GLuint' was not declared in this scope
/usr/include/SDL/SDL_opengl.h:3176: error: 'GLuint' was not declared in this scope
/usr/include/SDL/SDL_opengl.h:3176: error: 'GLsizei' was not declared in this scope
/usr/include/SDL/SDL_opengl.h:3176: error: 'GLenum' was not declared in this scope
/usr/include/SDL/SDL_opengl.h:3176: error: expected primary-expression before 'const'
/usr/include/SDL/SDL_opengl.h:3177: error: typedef 'PFNGLCOLORTABLEPROC' is initialized (use __typeof__ instead)
/usr/include/SDL/SDL_opengl.h:3177: error: 'GLenum' was not declared in this scope
/usr/include/SDL/SDL_opengl.h:3177: error: 'GLenum' was not declared in this scope
/usr/include/SDL/SDL_opengl.h:3177: error: 'GLsizei' was not declared in this scope
/usr/include/SDL/SDL_opengl.h:3177: error: 'GLenum' was not declared in this scope
/usr/include/SDL/SDL_opengl.h:3177: error: 'GLenum' was not declared in this scope
/usr/include/SDL/SDL_opengl.h:3177: error: expected primary-expression before 'const'
/usr/include/SDL/SDL_opengl.h:3178: error: typedef 'PFNGLCOLORTABLEPARAMETERFVPROC' is initialized (use __typeof__ instead)
/usr/include/SDL/SDL_opengl.h:3178: error: 'GLenum' was not declared in this scope
/usr/include/SDL/SDL_opengl.h:3178: error: 'GLenum' was not declared in this scope
[...]

Is there a way to use the opengl extensions in libsdl on n900?


Thanks,
J