Hello,
this does not really have to do with OpenGL but i have not found useful information anywhere else…
I am working on a Linux OpenGL application and i am trying to use .jpeg as file format for the texture maps… but libjpeg does not seem to work together with c++. My little test application works fine as “jpegest.c” compiled with “gcc jpegtest.c -ljpeg”, but renamed as “jpegtest.C” (and compiled the same way), the linking of the jpeg-library does not seem to work, I receive a lot of “undefined reference”-errors.
Does anybody know about this? Also, it would be interesting to find about using ohter file formats (e.g. .gif) for texture maps.
Kind regards,
Jan