Advertisement

Ok, need some little help again :(

Started by December 29, 2000 12:50 PM
15 comments, last by Alazorn 23 years, 10 months ago
So what does this error msg means, and what can I do to get rid of it? Error: Error: Unresolved external ''auxDIBImageLoadA'' referenced from C:\MINA DOKUMENT\PROJECT\LESSON 4\FORCE.OBJ I get this error when I try to use "auxDIBImageLoad". In glaux.h this code exists : #ifdef UNICODE #define auxDIBImageLoad auxDIBImageLoadW #else #define auxDIBImageLoad auxDIBImageLoadA #endif AUX_RGBImageRec * APIENTRY auxDIBImageLoadA(LPCSTR); AUX_RGBImageRec * APIENTRY auxDIBImageLoadW(LPCWSTR);
Hello Alazorn!

Have you added the glaux library (glaux.lib) on your project ?
It''s a large file and you can find it in the web...

See ya!

TheProgrammer
Advertisement
hurm, exactly how do I do that? I have got the file (1.04Mb) and I tryed to include it using

#include "glaux.lib"

but somehow I understand that that is not the way to do it, pherhaps all the illegal character msgs

so how do I include the file in ma code?
Try using :
  // I think this is how Borland does itUSELIB ("glaux.lib");// or try#pragma comment (lib, "glaux.lib")// this is how MSVC does it// Don''t know if it will work with Borland  


Hope this helps, let me know which one, if any, works.

Take Care,

Nyko
The ''proper'' way to do it with VC++ is to got to Project->Settings... click the link tab and then put glaux.lib at the end of that long list of library files.


''Smile, things could get worse.''
So I smiled, and they did.


sharewaregames.20m.com

Well, I used the second code and yes it seams to work but I get a new error msg again:

Error: Error: Unable to open file ''UUID.LIB''

and what is this?
Advertisement
I have no such file
Your using Borland 5, right?

Are you compiling using an IDE or command line?

I actually use MSVC 6, but I have seen some code for Borland, not sure the version, that uses USELIB ("glaux.lib"); to add extra libraries.


Nyko
Yepp, I am using Borland C++ 5.02 and I use the IDE
Ok, I got hol of the file and moved it to the right dir and now the compiler complains about :

Error: Error: ''UUID.LIB'' contains invalid OMF record, type 0x21

should I just give up and use MSVS instead ?

This topic is closed to new replies.

Advertisement