Jump to content

  • Log In with Google      Sign In   
  • Create Account


whats wrong?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
14 replies to this topic

#1 sense   Members   -  Reputation: 122

Like
Likes
Like

Posted 14 July 2001 - 09:10 AM

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?

Sponsor:

#2 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 14 July 2001 - 09:21 AM

Did you link to all the right libraries?


#3 sense   Members   -  Reputation: 122

Like
Likes
Like

Posted 14 July 2001 - 10:52 AM

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

#4 Krippy2k   Members   -  Reputation: 134

Like
Likes
Like

Posted 14 July 2001 - 01:09 PM

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

#5 sense   Members   -  Reputation: 122

Like
Likes
Like

Posted 14 July 2001 - 10:34 PM

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

#6 Obelix   Members   -  Reputation: 122

Like
Likes
Like

Posted 15 July 2001 - 01:36 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?

#7 Neo_the_great_hacker   Members   -  Reputation: 122

Like
Likes
Like

Posted 15 July 2001 - 04:22 AM

You don''t have to link if you include glut32.dll

#8 zedzeek   Members   -  Reputation: 528

Like
Likes
Like

Posted 15 July 2001 - 11:03 AM

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

#9 Krippy2k   Members   -  Reputation: 134

Like
Likes
Like

Posted 15 July 2001 - 05:20 PM

Several of NeHe''s tutorials starting with number 6 use auxDIBImageLoad to load bitmaps, which requires glaux.lib

Seeya
Krippy

#10 Krippy2k   Members   -  Reputation: 134

Like
Likes
Like

Posted 15 July 2001 - 05:21 PM

and glut32.dll = evil


#11 sense   Members   -  Reputation: 122

Like
Likes
Like

Posted 15 July 2001 - 10:47 PM

thx all
i''ll try

#12 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 15 July 2001 - 11:39 PM

quote:
Original post by 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?


"..\opengl32.lib contains invalid OMF record type 0x21"
is it that, what you mean?

where do i get this coff??

#13 Punker   Members   -  Reputation: 122

Like
Likes
Like

Posted 17 July 2001 - 08:01 PM

I am having the same problem, and yes, I linked to the libraries...

#14 zychrias   Members   -  Reputation: 122

Like
Likes
Like

Posted 21 July 2001 - 12:31 AM

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

#15 Obelix   Members   -  Reputation: 122

Like
Likes
Like

Posted 21 July 2001 - 05:41 AM

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.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS