Skip to main content
gamedev.net
🔒 Locked

whats wrong?

Started by sense 13 replies 750+ views
Original Post
sense
sense
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?
sense
sense
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
Krippy2k
Krippy2k
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
sense
sense
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
Obelix
Obelix
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?
zedzeek
zedzeek
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
Krippy2k
Krippy2k
Several of NeHe''s tutorials starting with number 6 use auxDIBImageLoad to load bitmaps, which requires glaux.lib

Seeya
Krippy
Krippy2k
Krippy2k
and glut32.dll = evil
sense
sense
thx all
i''ll try
Punker
Punker
I am having the same problem, and yes, I linked to the libraries...
zychrias
zychrias
i''ve been doing the NeHe tutorials, i''ve done the first 15 in the last two days, and whenever i came across a problem i just opened up his source at the bottom of each tutorial and compared mine to his to see where i screwed up, or possibly, what he didn''t explain to do properly.

running on Visual C++ 6.0 Windows 98SE myself

hope this can help
Obelix
Obelix
Just look in the documentation for the compiler if you have to make new import libraries!
If no such tool that coff2omf is available do you have to use something else like implib and perhaps also impdef. Everything should be described in the documentation.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.