whats wrong?

Started by
13 comments, last by sense 22 years, 9 months ago
hi all i startet NeHe openGL tutorial and now i got a prob at the textures: the compiler says glBindTexture and glGenTextures are undefined functions what did i wrong?
Advertisement
Did you link to all the right libraries?
quote:Original post by Anonymous Poster
Did you link to all the right libraries?

think so


#include
#include
#include

as given in the Nehe tut
You need to link to:

opengl32.lib
glu32.lib
glaux.lib

If you use MSVC just go to Project menu->Settings->Link and add them to the Object/library modules.

Seeya
Krippy
i only have the non-32 versions of this files
where do i get them?

Edited by - sense on July 15, 2001 5:36:47 AM
ftp://ftp.microsoft.com/softlib/mslfiles/opengl95.exe but this problem is typical for old outdated Borland compilers. If that is the case do you need to convert the libs with coff2omf but the new headers are ok.
What is wrong with the free and up to date Borland compiler?
You don''t have to link if you include glut32.dll
the ones without the 32 in the name are the sgi libs. btw theres no reason to link to glaux.lib

http://members.xoom.com/myBollux
Several of NeHe''s tutorials starting with number 6 use auxDIBImageLoad to load bitmaps, which requires glaux.lib

Seeya
Krippy
and glut32.dll = evil

This topic is closed to new replies.

Advertisement