I have tried it again on a diff comp, and everything worked fine, I guess there 
was a mess-up with msys/libtool or whatever...
Even compiled clutter-cairo *without* the need of any of those libs!

Really do not know what happened... guess msys is a fragile thing.

sorry for the noise:/
MihailNaydenov



----- Original Message ----
From: ere wer <[EMAIL PROTECTED]>
To: clutter <[email protected]>
Sent: Wednesday, October 8, 2008 5:55:46 PM
Subject: [clutter] [win32]clutter-gtk-0.8.1 can not compile because of 
gtk-clutter-test

Im trough a hard time compiling clutter-gtk-0.8.1 under msys.

configure passed but I got a ton of missing libraries when make, and the 
problem seams to be the gtk-clutter-test, not the clutter-gtk-0.8.1 itself:

/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2   -o gtk-clutter-test.exe 
gtk-clutter-test.o ../clutter-gtk/libclutter-gtk-0.8.la -LG:/dev/msys/lib 
-lclutter-win32-0.8 -lpangocairo-1.0 -lgthread-2.0 -lgdk_pixbuf-2.0 -lpango-1.0 
-lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl   -LG:/dev/msys/lib 
-lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 
-lgdi32 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 
-lglib-2.0 -lintl  
libtool: link: warning: library `G:/dev/msys/lib/libcairo.la' was moved.
libtool: link: warning: library `G:/dev/msys/lib/libcairo.la' was moved.
libtool: link: warning: library `G:/dev/msys/lib/libcairo.la' was moved.
gcc -g -O2 -o gtk-clutter-test.exe gtk-clutter-test.o  
../clutter-gtk/.libs/libclutter-gtk-0.8.a -LG:/dev/msys/lib -L/local/lib 
-LC:/dev/msys/lib -L/target/lib -Lc:/devlibs/lib /lib/libclutter-win32-0.8.a 
-lopengl32 -lwinmm -lgthread-2.0 -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 
-lgdk_pixbuf-2.0 -lpangowin32-1.0 -lpangocairo-1.0 -lpango-1.0 
G:/dev/msys/lib/libcairo.dll.a -lfreetype -lfontconfig -lpng12 -lz -lwsock32 
-lole32 -luuid -lgdi32 -lmsimg32 -lpixman-1 -lgobject-2.0 -lgmodule-2.0 
-lglib-2.0 -lintl -LG:/dev/msys/lib -LG:/dev/msys/lib
g:\dev\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: 
cannot find -lfreetype
collect2: ld returned 1 exit status
make: *** [gtk-clutter-test.exe] Error 1


-lfreetype -lfontconfig -lpng13 -lz -lpixman-1 ware all missing

after some digging, it turned out they are all Cairo dependencies.

***My question is, why is Cairo needed? Or is it really? The samples do not do 
anything cairo-related...

MihailNaydneov


PS here some info on these deps under win32

-lfreetype -lfontconfig -lz
can be obtained on gtk main package page : 
http://www.gtk.org/download-windows.html
Note: Read the instr. for the zlib, how to build the lib, and then rename the 
lib from libzdll.a to libz.a otherwise it will not be found (hope this does not 
break anything else)

-lpng13
I could not find this :( 
So I rename the dep to -lpng12 and installed the pnglib from the gtk pakage 
website

-lpixman-1
There no bins for this, only source. However after some googling It turned out 
this can be deleted as a dep because it is a static lib, used only when 
building cairo, and not needed when using it.

In the end everything compiles and runs great!


      
-- 
To unsubscribe send a mail to [EMAIL PROTECTED]


      
-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to