i was having some trouble getting -ljpeg and -lpng and
-liconv working
i kept getting messages like
d:\mingw\bin\..\lib\gcc-lib\mingw32\3.2.3\..\..\..
\..\mingw32\bin\ld.exe: cannot find -ljpeg
running ld -verbose -l jpeg would output something like
attempt to open d:\mingw\bin\../mingw32/lib/libjpeg.dll.a
failed
attempt to open d:\mingw\bin\../mingw32/lib/jpeg.dll.a
failed
attempt to open d:\mingw\bin\../mingw32/lib/libjpeg.a
failed
attempt to open d:\mingw\bin\../mingw32/lib/libjpeg.dll
failed
attempt to open d:\mingw\bin\../mingw32/lib/jpeg.dll
failed
attempt to open d:\mingw\bin\../mingw32/lib\libjpeg.a
failed
attempt to open /mingw/mingw32/lib/libjpeg.dll.a failed
attempt to open /mingw/mingw32/lib/jpeg.dll.a failed
attempt to open /mingw/mingw32/lib/libjpeg.a failed
attempt to open /mingw/mingw32/lib/libjpeg.dll failed
attempt to open /mingw/mingw32/lib/jpeg.dll failed
attempt to open /mingw/mingw32/lib\libjpeg.a failed
attempt to open /mingw/lib/libjpeg.dll.a failed
attempt to open /mingw/lib/jpeg.dll.a failed
attempt to open /mingw/lib/libjpeg.a failed
attempt to open /mingw/lib/libjpeg.dll failed
attempt to open /mingw/lib/jpeg.dll failed
attempt to open /mingw/lib\libjpeg.a failed
attempt to open /usr/local/lib/libjpeg.dll.a failed
attempt to open /usr/local/lib/jpeg.dll.a failed
attempt to open /usr/local/lib/libjpeg.a failed
attempt to open /usr/local/lib/libjpeg.dll failed
attempt to open /usr/local/lib/jpeg.dll failed
attempt to open /usr/local/lib\libjpeg.a failed
attempt to open /lib/libjpeg.dll.a failed
attempt to open /lib/jpeg.dll.a failed
attempt to open /lib/libjpeg.a failed
attempt to open /lib/libjpeg.dll failed
attempt to open /lib/jpeg.dll failed
attempt to open /lib\libjpeg.a failed
attempt to open /usr/lib/libjpeg.dll.a failed
attempt to open /usr/lib/jpeg.dll.a failed
attempt to open /usr/lib/libjpeg.a failed
attempt to open /usr/lib/libjpeg.dll failed
attempt to open /usr/lib/jpeg.dll failed
attempt to open /usr/lib\libjpeg.a failed
but /usr/lib/libjpeg.a was there.
i found out that ld.exe will only 'find' libjpeg.a if its
in /mingw/lib/
same with jpeglib.h in /mingw/include and not /include
this is probably just my mingw build and not putting
/include in the right area
just thought i'd post this for future reference.
-compn
_______________________________________________
MPlayer-cygwin mailing list
MPlayer-cygwin mplayerhq.hu
http://lists.mplayerhq.hu/mailman/listinfo/mplayer-cygw
in
|