only white textures with NeHe texture-loader
I´m using the texture-loader from the NeHe tutorial 6. I got the following error: error LNK2019: unresolved external symbol _auxDIBImageLoadA@4 referenced in function "struct _AUX_RGBImageRec * __cdecl LoadBMP(char *)" (?LoadBMP@@YAPAU_AUX_RGBImageRec@@PAD@Z) This error I could fix by adding: #pragma comment( lib, "glaux.lib" ) But my Objects are still white and textureless. I´m using the original texture from the NeHe tutorial, so the texture should be allright. Is there anybody out there with an idea, why it doesn´t work? Thanks so far. Edit: I´m using Visual C++ (Visual Studio 2005) [Edited by - nobody2k1 on January 13, 2007 8:52:12 AM]
I have plenty of ideas.
1. is the texture at the right place
2. are you sure it's the right texture, or did you modify it in any way
3. is the string that tells glaux where to look correct
4. is any other part of the loading code correctly copied
5. did you enable GL_TEXTURE_2D before rendering
6. is glBindTexture outside the glBegin/glEnd pair
Try implementing the glAux replacement code that you can find in my signature.
1. is the texture at the right place
2. are you sure it's the right texture, or did you modify it in any way
3. is the string that tells glaux where to look correct
4. is any other part of the loading code correctly copied
5. did you enable GL_TEXTURE_2D before rendering
6. is glBindTexture outside the glBegin/glEnd pair
Try implementing the glAux replacement code that you can find in my signature.
www.flashbang.se | www.thegeekstate.com | nehe.gamedev.net | glAux fix for lesson 6 | [twitter]thegeekstate[/twitter]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement