Jump to content

  • Log In with Google      Sign In   
  • Create Account

Unresolved externals


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
5 replies to this topic

#1 Erik   Members   -  Reputation: 122

Like
Likes
Like

Posted 31 March 2000 - 04:56 AM

This is a really stupid question but if you don''t ask you don''t learn. Anyway: When I compile lesson 6 I get the following error messages: Error: Unresolved external ''auxDIBImageLoadA'' referenced from module lesson6.cpp Error: Unresolved external ''glGenTextures'' referenced from module lesson6.cpp Error: Unresolved external ''glBindTexture'' referenced from module lesson6.cpp I know I''ve read something about this at the old messageboard but now I can''t read the answers anymore. I''m using Borland C++ 5.01 with win98 (if anybody would care). Would appreciate an answer. Thanks in advance. Erik

Sponsor:

#2 Jallen   Members   -  Reputation: 122

Like
Likes
Like

Posted 31 March 2000 - 06:45 AM

What libraries have you included?
i.e gl.h, glu.h, glaux.h, etc...

Jason A.

#3 Erik   Members   -  Reputation: 122

Like
Likes
Like

Posted 31 March 2000 - 08:29 PM

windows.h,stdio.h,gl\gl.h,gl\glu.h and gl\glaux.h. At first I had problems with glBindTexture and glGenTextures being undefined functions but after downloading new libraries,dlls and headerfiles they disappeared and this turned up instead.

Thanks for caring

Erik

Edited by - Erik on 4/1/00 2:32:32 AM

#4 TheMummy   Members   -  Reputation: 122

Like
Likes
Like

Posted 31 March 2000 - 09:08 PM

Hi Erik,
Do the other ogl functions work? If not read this!
I use the same compiler. What kind of libs do you use? I had these problems too. All I did for solving this, was deleting all .lib files form ogl,glu and glut. Then I created new libs out of the dlls:"c:\BC5\BIN\ implib file.lib file.dll" (or vice versa). Then I put these newly created files either into the ..\LIB\ folder or into the folder of the project.
I hope this helps.

#5 Erik   Members   -  Reputation: 122

Like
Likes
Like

Posted 01 April 2000 - 01:19 AM

The basic polygons, colors and stuff like that(which is the only things I''ve tried) works but I tried making new libraries as TheMummy (thanks) proposed anyway. Sadly it didn''t work. Then I tried doing it as a project (I haven''t done the openGLstuff as projects before and it has worked so far, do you have to do them as projects?) and linked in the proper libraries, which caused the evil externals to go away but unfortunately a new error message turned up:
"Fatal: Bad object file ''..\lib\gl\glaux.lib'' near file offset 0"

The glaux-library is the only one which I didn''t change cause I couldn''t find a new one (well I searched the net and only come up with the one I already had). Does anyone now where I can lay my hands on a working one, or is it just me doing something stupid with the compiler?

Erik


#6 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 01 April 2000 - 05:21 AM

Your GLaux library is probebly old.

I had the same problem.

Drop me a mail at
Fredrik.Andersson@swipnet.se

I have it working in Cbuilder right now, with a new lib, that I can send to you if you like.

Fredrik





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