Jump to content
  • Advertisement


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


Texture loading problem

This topic is 5279 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''ve been trying to use the texture loading routine from NeHe''s texturing tutorial (#8) to load my 64x64 bmp, and it quits on this line: if (TextureImage[0]=LoadBMP(filename)) Giving me the error: 53 C:\dev\exp_conq\main.cpp `LoadBMP'' undeclared (first use this function) I''m using Dev-C++, and I have included these headers: #include <windows.h> #include <stdio.h> #include <gl/gl.h> #include <gl/glaux.h> #include <gl/glext.h> Any ideas? P.S. Is anyone else totally pissed that the Flames didn''t win the Stanley Cup?

Share this post

Link to post
Share on other sites
search the web for some sourcecode, loading bitmaps and targas is easy to figure out

having to write your own functions instead of glut.h or glaux.h will only help you in the end

[edited by - weyland on June 8, 2004 10:57:06 PM]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!