Advertisement

Problem With Lesson 6

Started by June 01, 2000 10:43 PM
6 comments, last by CombatWombat 24 years, 5 months ago
I''m having trouble getting Nehe''s lesson #6 on textures to compile. I''ve linked opengl32, glu32, glaux and even tacked on glut for no apparent reason, but when compiling I get the following error: 79 lesson6.cpp implicit declaration of function `int free(...)'' I''m also having difficulty getting the function timeGetTime() that is supposedly supposed to work if you include time.h to work in another project. Any help?
For the timeGetTime() function you must add the winmm.lib library to your project.

For the other problem, I''m sorry but I didn''t understand, could you possibly be more detailed ?

Advertisement
For the free() function, you''ll need to include the stdlib.h header. That should help you solve the problem

========================================================
If something sounds stupid but works, it's not stupid
==========================================In a team, you either lead, follow or GET OUT OF THE WAY.
With stdio.h included lesson 6 now compiles properly. When I try to run it''s telling me "A required dll, Glaux.dll was not found". Now what''d I do wrong?? = (

Also, even with winmm.lib added to the project I still get an implicit declaration of timeGetTime().

Please help the crazy newbie = (
Ack... I meant stdlib.h. Must learn to read these things before I post..heh.
hi

"A required dll, Glaux.dll was not found" mean that ... you need Glaux.dll! you can download it at :

http://delphi-jedi.org/DelphiGraphics/OpenGL/Download.htm
(i don''t know if it''s up to date but glaux is rather old so...)

then put Glaux.dll in your Windows/system directory .

The header Glaux.h could be also useful. Put it in your include directory ( where all the headers are)

For your other problem, sorry i can''t help you...

lunasol

Advertisement
i''ve been having problems with that tutorial too, i''m using the free borland builder command line tools and when i try to link the file, it says ''unresolved external - auxDIBImageLoadA'' i checked and i didn''t have the glaux.lib file, but now i''ve added the lib and it still says the same thing.

can anyone help me?
All of his tutorials (so far) compile fine. I''m pretty sure all you need to add is opengl32.lib, glu32.lib, glaux.lib, user32.lib, and gdi32.lib. You may possibly need winmm.lib but I think it will compile without it.
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911

This topic is closed to new replies.

Advertisement