You are not logged in.
Pages: 1
this error occurs when I try to compile the source code.
dTools/callbacks_4_tileview.cpp: In function 'void refresh()':
dTools/callbacks_4_tileview.cpp:116: error: 'GL_COLOR_BUFFER_BIT' was not declared in this scope
dTools/callbacks_4_tileview.cpp:116: error: 'GL_DEPTH_BUFFER_BIT' was not declared in this scope
dTools/callbacks_4_tileview.cpp:116: error: 'glClear' was not declared in this scope
dTools/callbacks_4_tileview.cpp:118: error: 'GL_TEXTURE_2D' was not declared in this scope
dTools/callbacks_4_tileview.cpp:118: error: 'glEnable' was not declared in this scope
dTools/callbacks_4_tileview.cpp:119: error: 'glGenTextures' was not declared in this scope
dTools/callbacks_4_tileview.cpp:122: error: 'glBindTexture' was not declared in this scope
dTools/callbacks_4_tileview.cpp:123: error: 'GL_RGBA' was not declared in this scope
dTools/callbacks_4_tileview.cpp:125: error: 'GL_UNSIGNED_SHORT_1_5_5_5_REV' was not declared in this scope
dTools/callbacks_4_tileview.cpp:125: error: 'glTexImage2D' was not declared in this scope
dTools/callbacks_4_tileview.cpp:127: error: 'GL_QUADS' was not declared in this scope
dTools/callbacks_4_tileview.cpp:127: error: 'glBegin' was not declared in this scope
dTools/callbacks_4_tileview.cpp:128: error: 'glTexCoord2f' was not declared in this scope
dTools/callbacks_4_tileview.cpp:128: error: 'glVertex2d' was not declared in this scope
dTools/callbacks_4_tileview.cpp:132: error: 'glEnd' was not declared in this scope
dTools/callbacks_4_tileview.cpp:134: error: 'glDeleteTextures' was not declared in this scope
dTools/callbacks_4_tileview.cpp:139: error: 'GL_PROXY_TEXTURE_2D' was not declared in this scope
dTools/callbacks_4_tileview.cpp:150: error: 'glTexSubImage2D' was not declared in this scope
dTools/callbacks_4_tileview.cpp:166: error: 'glTexSubImage2D' was not declared in this scope
dTools/callbacks_4_tileview.cpp:184: error: 'glTexSubImage2D' was not declared in this scope
I'm using Debian Lenny and If this could be relevant I have already installed
libglade2-0 - library to load .glade files at runtime
libglade2-dev - development files for libglade
thank's for help
Offline
I guess you lack gtkglext, try:
apt-get install libgtkglext1-dev
then configure and make again
Offline
8 minutes for the right answer! Never found a better support...
it works now, thank you very much
Offline
Pages: 1