[SDL] [sdl_image] Compile errors on darwin8 with libSDL_image and libPNG
Frank Becker
crittermail2005 at telus.net
Sun Jul 16 17:47:48 PDT 2006
Simon wrote:
>> /usr/bin/libtool: can't locate file for: -ljpeg
>> /usr/bin/libtool: file: -ljpeg is not an object file (not allowed in a library)
>> /usr/bin/libtool: can't locate file for: -ltiff
>> /usr/bin/libtool: file: -ltiff is not an object file (not allowed in a library)
>> make: *** [libSDL_image.la] Error 1
>
> Nope, tried deleting and recompiling from scratch, still getting the
> exact same problem...
> Even tried removing the optimization "-Os" that Frank suggested, but
> with no luck...
>
I was cut'n pasting from my build script. The -Os isn't needed.
Try manually disabling the image types you don't want.
E.g..:
configure --disable-tif --disable-tif-shared ...
Cheers,
--
Frank Becker - Need a break? http://criticalmass.sf.net/
More information about the SDL
mailing list