G4L icon indicating copy to clipboard operation
G4L copied to clipboard

Issue with the "Easy texture loading" with the libjpeg-turbo lib

Open subject546 opened this issue 9 years ago • 1 comments

Hi,

i made a topic* on the crunchbang forums because i am using crunchbang but they couldn't solve the issue.

The issue is that i can't compile the code. specifically i can't compile the image.c code because of an error with the lib that is used for jpeg loading and decoding. (error message on the crunchbang topic) This isn't a huge issue for me because i will be using this library with the LUA-SDL2 binding witch should be able to import the image (and make the opengl context and window right?).

now i was thinking of skipping the compiling of the image.c since i in theory don't really need it.

  1. I would like to hear if the error might be fixable ?
  2. If i could skip the image.c from in compiling process?
  3. If there is another workaround?

also the people at the crunchbang forums pointed out that the MakeFile might have some errors to? i can't judge on this since i don't know a lot about compiling and makefiles.

Subject546

*http://crunchbang.org/forums/viewtopic.php?pid=432013#p432013 ps. i'm sorry for my english

subject546 avatar Jun 16 '15 19:06 subject546

in the crunchbang forums i wrote that it probably isn't a G4L bug but a wrong configuration for the "-lturbojpeg" library since it works when i manually link the lib and then it comes up with a more detailed error message:

/usr/bin/ld: cannot find -lturbojpeg

I thought i will update this post as well so that everyone has the same information (more updates soon?)

subject546

subject546 avatar Jun 18 '15 16:06 subject546