Jump to content
  • Advertisement
Sign in to follow this  
philipptr

Opengl texture loading

This topic is 4885 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

(c++ sdl&opengl) ive made a little engine in sdl, but since the speed is not the best i now try to use opengl for it. so ive tried to get the code of the nehe tutorial 6 into an sdl&opengl example of dev-c++ but came up with an [Linker error] undefined reference to `auxDIBImageLoadA@4' although im including #include <stdlib.h> #include <SDL/SDL.h> #include <stdio.h> #include "SDL/SDL_opengl.h" #include <gl/glu.h> #include <gl/glaux.h> can somebody help me or should i post more code

Share this post


Link to post
Share on other sites
Advertisement

Ciao,

you have to link the glaux.lib library with your project. just add this library directly to the tree structure (simple, but bad coding practice) or add the library in the project->settings->linker tab. the library can be found in the %VSInstallDir%\lib\glaux.lib


hope this helps...

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!