Creating a texture

I need to know how to load an image and create a texture from this image in a Borland C++ builder CONSOLE project. I’m not very familiar with the application projects so i’m using the console.

This website has a good example on it.

Originally posted by I_NeedHelp:
I need to know how to load an image and create a texture from this image in a Borland C++ builder CONSOLE project. I’m not very familiar with the application projects so i’m using the console.

The thing is dough, all these tutorials use auxDIBImageLoadA. I’m doin a console project and i’m having trouble with this function, i keep gettin the error:
[Linker Error] Unresolved external ‘auxDIBImageLoadA’ referenced from…
I’ve included the glaux.h header file. Is there anything else???

Hi

Check out …
http://www.york.ac.uk/services/cserv/sw/graphics/OPENGL/L16.html

Cheap and cheerful bmp loader as per some of the nehe apps (not aux stuff!)

Rob.

Cooooooooooooooollllll! I haven’t even tried it yet but i’m already very confident about it workin. Thanx. If ur in need of a love slave be sure to let me no…only joking of course…ahem…LOL!

On my website have a TGA texture loader, needs not outside library to work.

Look at my blackjack or glball demos.
http://www.angelfire.com/linux/nexusone/

Originally posted by I_NeedHelp:
The thing is dough, all these tutorials use auxDIBImageLoadA. I’m doin a console project and i’m having trouble with this function, i keep gettin the error:
[Linker Error] Unresolved external ‘auxDIBImageLoadA’ referenced from…
I’ve included the glaux.h header file. Is there anything else???

I got a newer version of glaux form nehe’s tutorial 6 and added the line:
#include comment (lib, “glaux.lib”)

Everyting works fine now