RE: Link errors building gdk-pixbuf under CygWin



> -----Original Message-----
> From: Tor Lillqvist [mailto:tml iki fi]
> Sent: Thursday, March 08, 2007 2:18 PM
> 
> If the latter, I strongly recommend using mingw and MSYS instead of
> Cygwin as a development environment.


So far, I've had no success running GTK's configure in Win32 under mingw
msys. I haven't been able to get it to detect cairo-pdf.h which is present
in my C:/GTK directory:

[gtk+-2.10.9]: CC='gcc -march=pentium' CPPFLAGS='-Ic:/GTK/include
-Ic:/GTK/include/cairo' CFLAGS='-O2' LDFLAGS='-Lc:/GTK/lib' ./configure
--disable-static --prefix=c:/GTK --with-gdktarget=win32
--host=i386-pc-mingw32  --includedir=c:/GTK/include
--includedir=c:/GTK/include/cairo

configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes

  ...

checking ATK flags... -Ic:/GTK/include/atk-1.0 -Ic:/GTK/include/glib-2.0
-Ic:/GTK/lib/glib-2.0/include   -Lc:/GTK/lib -latk-1.0 -lgobject-2.0
-lgmodule-2.0 -lglib-2.0 -lintl -liconv  
checking for cups-config... no
checking cairo-pdf.h usability... no
checking cairo-pdf.h presence... no
checking for cairo-pdf.h... no
configure: error:
*** Can't find cairo-pdf.h. You must build Cairo with the pdf
*** backend enabled.
[gtk+-2.10.9]: 
[gtk+-2.10.9]: find c:/GTK/include -name "cairo-pdf.h"
c:/GTK/include/cairo/cairo-pdf.h
[gtk+-2.10.9]: 

Any ideas on how to tell it where to look to find this?

Ian






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]