Re: [clutter] Undefined references to pango?

2008-08-08 Thread Tomas Frydrych

[EMAIL PROTECTED] wrote:
 I am trying to build clutter 0.8, I have pango 1.20.5. Configure
 succeeds but compiling gives the following errors:
 
 ../clutter/.libs/libclutter-glx-0.8.so: undefined reference to
 `pango_cairo_font_get_scaled_font'
 ../clutter/.libs/libclutter-glx-0.8.so: undefined reference to
 `pango_layout_iter_get_line_readonly'
 ../clutter/.libs/libclutter-glx-0.8.so: undefined reference to
 `pango_extents_to_pixels'
 
 Do I need a newer version of pango (1.21)?

The first of these functions is available as of 1.18 and the other two
since 1.16 (the configure check is for 1.18); I just run a test build of
the 0.8 tarball against pango 1.20.5, and it was fine, so chances are
there is something not entirely right with your Pango install. Is it
possible you have more than one version of Pango installed (e.g., one
under /usr and one under /usr/local) ?

Tomas

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



Re: [clutter] Undefined references to pango?

2008-08-08 Thread Christian_Gavin
Oh, I got it... LD_LIBRARY_PATH was set to another version of gtk+.

It builds now.

Thanks!
CG



   
   
   
To 
 clutter clutter@o-hand.com  
 Tomas Frydrych cc 
 [EMAIL PROTECTED]   
   Subject 
 Re: [clutter] Undefined   
 references to pango?  
 08/08/2008 05:56 AM   
   
   
   
   
   





[EMAIL PROTECTED] wrote:
 I am trying to build clutter 0.8, I have pango 1.20.5. Configure
 succeeds but compiling gives the following errors:

 ../clutter/.libs/libclutter-glx-0.8.so: undefined reference to
 `pango_cairo_font_get_scaled_font'
 ../clutter/.libs/libclutter-glx-0.8.so: undefined reference to
 `pango_layout_iter_get_line_readonly'
 ../clutter/.libs/libclutter-glx-0.8.so: undefined reference to
 `pango_extents_to_pixels'

 Do I need a newer version of pango (1.21)?

The first of these functions is available as of 1.18 and the other two
since 1.16 (the configure check is for 1.18); I just run a test build of
the 0.8 tarball against pango 1.20.5, and it was fine, so chances are
there is something not entirely right with your Pango install. Is it
possible you have more than one version of Pango installed (e.g., one
under /usr and one under /usr/local) ?

Tomas

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


inline: graycol.gifinline: pic28423.gifinline: ecblank.gif

[clutter] tidy svn has a forgotten clutter-0.6

2008-08-08 Thread Mike Massonnet
Hi devs,

Tidy svn has still a clutter-0.6 in the way, it doesn't do anything
except that pkg-config --cflags tidy-0.1 returns
-I/usr/include/clutter-0.6.

Attached is a diff.

Cheers,
Mike
Index: configure.ac
===
--- configure.ac	(révision 233)
+++ configure.ac	(copie de travail)
@@ -64,7 +64,7 @@
 
 GLIB_PREFIX=`$PKG_CONFIG --variable=prefix glib-2.0`
 PANGO_PREFIX=`$PKG_CONFIG --variable=prefix pango`
-CLUTTER_PREFIX=`$PKG_CONFIG --variable=prefix clutter-0.6`
+CLUTTER_PREFIX=`$PKG_CONFIG --variable=prefix clutter-0.8`
 
 AC_SUBST(GLIB_PREFIX)
 AC_SUBST(PANGO_PREFIX)


[clutter] Re: tidy svn has a forgotten clutter-0.6

2008-08-08 Thread Mike Massonnet
Meh, it is actually in tidy.pc.in /o\

Anyhow, I fetched two 0.6's still in tidy.

2008/8/8 Mike Massonnet [EMAIL PROTECTED]:
 Hi devs,

 Tidy svn has still a clutter-0.6 in the way, it doesn't do anything
 except that pkg-config --cflags tidy-0.1 returns
 -I/usr/include/clutter-0.6.

 Attached is a diff.

 Cheers,
 Mike

Index: tidy.pc.in
===
--- tidy.pc.in	(révision 233)
+++ tidy.pc.in	(copie de travail)
@@ -8,4 +8,4 @@
 Version: @VERSION@
 Libs: -L${libdir} -ltidy-1.0
 Cflags: -I${includedir}/tidy-1.0
-Requires: gobject-2.0 clutter-0.6
+Requires: gobject-2.0 clutter-0.8


[clutter] [win32] Problem linking without libtool

2008-08-08 Thread ere wer
I get undefined reference to all _gl* functions when trying to compile:

$ gcc -o mytest test-actors.c `pkg-config clutter-0.8 --cflags --libs`
C:/dev/msys/lib/libclutter-win32-0.8.a(clutter-main.o): In function 
`_clutter_do_pick':
C:/dev/msys/src/clutter/clutter/clutter/clutter-main.c:367: undefined reference 
to [EMAIL PROTECTED]'
C:/dev/msys/src/clutter/clutter/clutter/clutter-main.c:377: undefined reference 
to [EMAIL PROTECTED]'
C:/dev/msys/src/clutter/clutter/clutter/clutter-main.c:382: undefined reference 
to [EMAIL PROTECTED]'
C:/dev/msys/src/clutter/clutter/clutter/clutter-main.c:388: undefined reference 
to [EMAIL PROTECTED]'
C:/dev/msys/lib/libclutter-win32-0.8.a(clutter-stage.o): In function 
`clutter_stage_read_pixels':
C:/dev/msys/src/clutter/clutter/clutter/clutter-stage.c:1177: undefined 
reference to [EMAIL PROTECTED]'
C:/dev/msys/src/clutter/clutter/clutter/clutter-stage.c:1195: undefined 
reference to [EMAIL PROTECTED]'
C:/dev/msys/lib/libclutter-win32-0.8.a(cogl.o): In function 
`cogl_get_proc_address':
...
...
...
However when using libtool --mode=link (as suggested here 
http://www.busydoingnothing.co.uk/blog)
it compiles and links fine.
It seems the problem is finding the gl libs... but do not even know where to 
look for them (in mingw? in msys? in some system dir?).
Please clarify the situation for me.
And another question: Why the redhand.png image fails to load when dubble 
clicking the .exe (of some test sample using it) , or calling the exe from 
windows cmd?
10x!
MihailNajdenov


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



Re: [clutter] Re: tidy svn has a forgotten clutter-0.6

2008-08-08 Thread Chris Lord
On Fri, 2008-08-08 at 19:30 +0200, Mike Massonnet wrote:
 Meh, it is actually in tidy.pc.in /o\
 
 Anyhow, I fetched two 0.6's still in tidy.
 
 2008/8/8 Mike Massonnet [EMAIL PROTECTED]:
  Hi devs,
 
  Tidy svn has still a clutter-0.6 in the way, it doesn't do anything
  except that pkg-config --cflags tidy-0.1 returns
  -I/usr/include/clutter-0.6.

Thanks, both fixed in trunk.

--Chris


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