One more Lesson06 problem
Hello.
Thank you for taking time to read my post.
I have updated my openGL dlls, header files, and libs from 1.0 to 1.1. Thank you for your prompt help. I have one more problem however. Using NeHe''s code directly from Lesson06, I have compiled the code with 0 errors and 0 warnings. This is excellent.
However, during the build, I encounter the following error:
*******************************************
--------------------Configuration: lesson06 - Win32 Debug--------------------
Linking...
Lesson6.obj : error LNK2001: unresolved external symbol _auxDIBImageLoadA@4
Debug/lesson06.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
lesson06.exe - 2 error(s), 0 warning(s)
*******************************************
The key here is that auxDIBImageLoad doesn''t seem to work. This error seems to be created when it creates an object file (I think... I don''t know as much as I should about Visual 4.0 C++)
auxDIBImageLoad can be found here:
AUX_RGBImageRec *LoadBMP(char *Filename) // Loads A Bitmap Image
{
FILE *File=NULL;// File Handle
if (!Filename) // Make Sure A Filename Was Given
{
return NULL;// If Not Return NULL
}
File=fopen(Filename,"r");// Check To See If The File Exists
if (File)// Does The File Exist?
{
fclose(File); // Close The Handle
return auxDIBImageLoad(Filename);// Load The Bitmap And Return A Pointer
}
return NULL;// If Load Failed Return NULL
}
Some of the libs I replaced were LARGER (1.0) than the new libs (1.1). Could this be the problem?
I have gotten Lessons 1-5 to work. Lesson06 is still a barrier... most tutorials from here on out need textures to run. Any info would be useful.
Thank you!
~stu
Thanks for listening!
Lesson 6 uses the OpenGL auxiliary library. Make sure you are doing this:
#include <gl/glaux.h>
And make sure you are linking to this:
glaux.lib
Hope that helps.
-------------------
Realm Games Company
#include <gl/glaux.h>
And make sure you are linking to this:
glaux.lib
Hope that helps.
-------------------
Realm Games Company
-------------------Realm Games Company
Thank you. Code compiles 100%
Do you want cigerettes, or candy?
Do you want cigerettes, or candy?
Thanks for listening!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement