Advertisement

opengl texturing problem....

Started by October 02, 2005 11:54 AM
0 comments, last by dawidjoubert 19 years, 1 month ago
Hello guys. I am trying to make the quickhull algoritm with opengl. I have a problem with the texturing. I followed nehe tutorial, but i get this: roberto@ubuntu:~/Desktop/informaticagrafica/convexhull/convexHull $ make gcc -c convexhull.c convexhull.c:29: error: parse error before '*' token convexhull.c: In function `LoadBMP': convexhull.c:50: warning: return makes pointer from integer without a cast convexhull.c: In function `LoadGLTextures': convexhull.c:69: error: `AUX_RGBImageRec' undeclared (first use in this function) convexhull.c:69: error: (Each undeclared identifier is reported only once convexhull.c:69: error: for each function it appears in.) convexhull.c:69: error: `TextureImage' undeclared (first use in this function) make: *** [convexhull.o] Error 1 i am new to opengl and c so i have no clue what this means... can you guys help me?
Firstly
convexhull.c:50: warning: return makes pointer from integer without a cast
Can be very dangerous clear up that warning!

Secondly
convexhull.c:69: error: `AUX_RGBImageRec' undeclared (first use in this function)

Means u have not included a specific library in this Case glaux.h ( u will also need the lib/dll file)

Thridly
convexhull.c:69: error: `TextureImage' undeclared (first use in this function)
Means ur TextureImage Class has not been registered so include the header for it


----------------------------

http://djoubert.co.uk

This topic is closed to new replies.

Advertisement