Archived

This topic is now archived and is closed to further replies.

CoolX

glaux?!?!?!?

Recommended Posts

HELP! i get strange glaux errormessages when using some nehe tutorials with textures... can anyone plz send me the newest files or tell me what my problem is? I use Borland C++ Builder 5.0 and.... i am a n00b, so try to be fair ;o) thanks... CoolX

Share this post


Link to post
Share on other sites
ah... i forgot to tell the errormessage...

[Linker Fehler] Unresolved external ''auxDIBImageLoadA'' referenced from C:\C++ OPENGL\P5YT3DX\MAINFORM.OBJ



i used the raw code from nehe, i used it in my modified code, i even tried it on a friends pc - with no effect....


HELP PLZ... :o(

CoolX

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
It is telling you it can''t find that function.

So either write it, or link to the correct .lib.

Share this post


Link to post
Share on other sites
may it be possible that my glaux.lib is too old? i have borland c++ builder 5.0, and i''ve read from a glaux.lib that was made for nehe''s tutorial....

if someone has another lib, or something else, then plz send it to me:
icq: 95287023
e-mail: coolx@t-online.de

Share this post


Link to post
Share on other sites
Try creating the lib on your own. In your C++Builder\Bin directory there''s a program called implib. Run your command line (Start...Run...Command.com) and use implib like this:

implib glaux.lib c:\windows\system\glaux.dll

(or wherever your DLL is).

You should end up with a glaux.lib in your Bin directory that''s usable for this.

Share this post


Link to post
Share on other sites
i did it as you said, but now i have another problem...
my glu32.dll causes an EAccessViolation when the following lines are compiled:

glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR_MIPMAP_NEAREST);
glTexGeni(GL_S, GL_TEXTURE_GEN_MODE, GL_OBJECT_LINEAR);
glTexGeni(GL_T, GL_TEXTURE_GEN_MODE, GL_OBJECT_LINEAR);

glEnable(GL_TEXTURE_GEN_S);
glEnable(GL_TEXTURE_GEN_T);

Share this post


Link to post
Share on other sites
I had the EXACT same problem with glaux. the thing is - glaux is not implibible (hehe). i found a nice site where i could download the Borland headers for glaux lib that make use of it. Unfortunately, as with most useful stuff, i forgot to make a note where.
Last week i literally blew up my old hard drive (just for the record - it WAS an accident) and smarter people sometimes figure out there might have been some loss of data , so whatever i have ever backed up of those files on disks or cd''s is pretty dim at this moment, but i''ll try to salvage anything i can since i really couldn''t fine the site myself anymore either.
anyway - if you fail as well - post another reply. i hope to get cable set up (finally...) next Wednesday, so i''ll get a better connection and more net-time and hopefully will be able to mail these files to you.

keep cool!

Share this post


Link to post
Share on other sites
hey, that would really be nice... so far i importet it from the bcb 5 form to a standart c++ code from nehe. but there i can''t use all my timers and settings. so if someone could tell me why my code doesn''t run under the visual c++ but under console - i would be very thankfully... also keep in mind that i am a relatively nub so don''t give to complex hints - thanks...

and don''t laugh ''bout my grammar - i am from germany... ;o)

CoolX

Share this post


Link to post
Share on other sites