You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.



#1 2009-01-07 20:45:40

il.Boni
Member
Registered: 2009-01-07
Posts: 2

can't compile 0.9 on Debian Lenny

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

#2 2009-01-07 20:53:43

guillaume
Administrator
Registered: 2007-03-17
Posts: 32

Re: can't compile 0.9 on Debian Lenny

I guess you lack gtkglext, try:

apt-get install libgtkglext1-dev

then configure and make again

Offline

#3 2009-01-07 21:01:16

il.Boni
Member
Registered: 2009-01-07
Posts: 2

Re: can't compile 0.9 on Debian Lenny

8 minutes for the right answer! Never found a better support...
it works now, thank you very much

Offline

Board footer

Powered by FluxBB