[SDL] building SDL_image from svn with cygwin

neil at cloudsprinter.com neil at cloudsprinter.com
Fri Jun 29 08:06:06 PDT 2007


right.. i could say i'm being a n00b but i'm not really a n00b i'm just a bit
lazy and stupid when it comes to these things..

i built SDL in cygwin with the svn checkout. (yay)

i built SDL_mixer in cygwin with the svn checkout. (yay)

but when it comes to building SDL_image, it dosnt seem to want to find the jpeg
png zlib tiff .h files, which are in /usr/include, so i'm thinking perhaps
there is someting amiss with the configure script.

and after doing the usual just crack the header files in the directory and type
make again routine to try to get SDL_image i got this

(jpeg lib 6b)

.libs/IMG_jpg.o: In function `IMG_InitJPG':
/home/ROEHRIG/SDL_image/IMG_jpg.c:145: undefined reference to
`_jpeg_calc_output_dimensions'
/home/ROEHRIG/SDL_image/IMG_jpg.c:146: undefined reference to
`_jpeg_CreateDecompress'
/home/ROEHRIG/SDL_image/IMG_jpg.c:147: undefined reference to
`_jpeg_destroy_decompress'
/home/ROEHRIG/SDL_image/IMG_jpg.c:148: undefined reference to
`_jpeg_finish_decompress'
/home/ROEHRIG/SDL_image/IMG_jpg.c:149: undefined reference to
`_jpeg_read_header'
/home/ROEHRIG/SDL_image/IMG_jpg.c:150: undefined reference to
`_jpeg_read_scanlines'
/home/ROEHRIG/SDL_image/IMG_jpg.c:151: undefined reference to
`_jpeg_resync_to_restart'
/home/ROEHRIG/SDL_image/IMG_jpg.c:152: undefined reference to
`_jpeg_start_decompress'
/home/ROEHRIG/SDL_image/IMG_jpg.c:153: undefined reference to `_jpeg_std_error'
Creating library file: .libs/libSDL_image.dll.a
collect2: ld returned 1 exit status
make: *** [libSDL_image.la] Error 1


i know svn is a testing type scenario, and i am probably being a n00b, just
wondering is all

;-)

ok, i'm off to drool in the corner




More information about the SDL mailing list