View Full Version : probleme to compile some glext.h features dev-cpp

11-07-2004, 02:28 AM
Hi im trying to compile a code sample where it use multitexturing features of glext.h but it says me when i compile:

Compiler: Default compiler
Building Makefile: "C:\projet\map\Makefile.win"
Executing make...
make.exe -f "C:\projet\map\Makefile.win" all
g++.exe -c Terrain.cpp -o Terrain.o -I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/include"

Terrain.cpp: In function `void SetTextureCoord(float, float)':

Terrain.cpp:88: implicit declaration of function `int glMultiTexCoord2fARB(...)'
Terrain.cpp: In function `void RenderHeightMap(unsigned char *)':
Terrain.cpp:142: implicit declaration of function `int glActiveTextureARB(...)'

make.exe: *** [Terrain.o] Error 1

Execution terminatedAnd other sample code not using glext are working fine.
May this features not be implemented in my version of opengl?
i m using dev-cpp and i m using SDL as window handler.

sample are coming from there : http://www.gametutorials.com/Tutorials/opengl/OpenGL_Pg4.htm

i would compile Height Map 3 (Detail Texturing), but i cannot :(
with the same env Height Map 2 is working fine.
Did someone already compile this samples with dev-cpp?