[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] libtiff error
From: |
Mark Brand |
Subject: |
Re: [Mingw-cross-env-list] libtiff error |
Date: |
Thu, 26 Jan 2012 22:50:41 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20111220 Firefox/9.0.1 SeaMonkey/2.6.1 |
Martin Gerhardy wrote:
/opt/mingw-cross-env/tmp-tiff/tiff-4.0.0/libtiff/tif_lzma.c:193:
undefined reference to `_lzma_code'
Any ideas? Was libtiff updated?
libtiff has dependencies. Try using pkg-config, which is supported
now with libtiff 4.
sorry, i should have noted, that i'm not linking libtiff directly, but
via gtk (resp. gdk-pixbuf)
and i'm using pkg-config for all the used gtk/gdk libs
Hi Martin,
Could you give some more detail? I just checked the pkg-config
configuration for gdk-pixbuf and gtk+ and they look fine as far as I can
tell. In particular, -llzma is there. Here is my output:
i686-pc-mingw32-pkg-config --libs-only-l gdk-pixbuf-2.0
-lgdk_pixbuf-2.0 -ltiff -llzma -ljpeg -lgobject-2.0 -lgmodule-2.0
-lpng15 -lz -lgthread-2.0 -lglib-2.0 -lws2_32 -lole32 -lshlwapi -lpcre
-lintl -liconv
i686-pc-mingw32-pkg-config --libs-only-l gtk+-2.0
-lgtk-win32-2.0 -lwinspool -lcomctl32 -lcomdlg32 -lgdk-win32-2.0 -limm32
-lshell32 -luuid -latk-1.0 -lpangocairo-1.0 -lgio-2.0 -ldnsapi
-lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpangowin32-1.0 -lpango-1.0 -lm -lusp10
-lcairo -lmsimg32 -lgdi32 -lpixman-1 -lfontconfig -lexpat -lfreetype
-ltiff -llzma -ljpeg -lpng15 -lz -lgobject-2.0 -lgmodule-2.0
-lgthread-2.0 -lglib-2.0 -lws2_32 -lole32 -lshlwapi -lpcre -lintl -liconv
The test program in gtk2.mk also links successfully.
Mark