In SDL-image from hg, it is failing to build IMG_jpg, it seems to be
due to this change:
If I comment this section out it compiles fine on Haiku with jpeg-8c
installed. showimage works loading a jpeg file, so I assume it’s
working.
So perhaps this section needs to be #ifdef’d with:
#if JPEG_LIB_VERSION >= 80 && !defined(HAIKU)
or does it not compile on other platforms as well?
maybe it only affects MINGW?
#if JPEG_LIB_VERSION >= 80 && defined(MINGW)
-scottmc
Indeed i already filled a bug under bugzilla.It should be only for mingw.On Wed, Aug 10, 2011 at 8:17 PM, scottmc wrote:
In SDL-image from hg, it is failing to build IMG_jpg, it seems to be
due to this change:
http://hg.libsdl.org/SDL_image/rev/b1c1ec3a8d49
If I comment this section out it compiles fine on Haiku with jpeg-8c
installed. ?showimage works loading a jpeg file, so I assume it’s
working.
So perhaps this section needs to be #ifdef’d with:
#if JPEG_LIB_VERSION >= 80 && !defined(HAIKU)
or does it not compile on other platforms as well?
maybe it only affects MINGW?
#if JPEG_LIB_VERSION >= 80 && defined(MINGW)
-scottmc
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
http://bugzilla.libsdl.org/show_bug.cgi?id=1223
Confirmed. That patch is nearly the same as the one I made to get it
working on Haiku. @Ryan can you commit the patch from bugzilla 1223?
-scottmcOn Wed, Aug 10, 2011 at 5:28 PM, Dimitris Zenios <dimitris.zenios at gmail.com> wrote:
Indeed i already filled a bug under bugzilla.It should be only for mingw.