G4L
G4L copied to clipboard
Issue with the "Easy texture loading" with the libjpeg-turbo lib
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.
- I would like to hear if the error might be fixable ?
- If i could skip the image.c from in compiling process?
- 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
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