Re: Problem in cluttermm compilation



Hi,

I took the checkout from svn and the pkg-config path is also correct. But the problem was the header files where generated from the old glibmm. When I regenerate them then the problem get resolved. But now the test compilation is failing, as I mentioned in my last mail.

Thanks

-Br
Naveen

On Jan 26, 2008 1:21 AM, José Alburquerque <jaalburquerque cox net> wrote:
Naveen Verma wrote:
> Hi all,
>
> I am trying to compile cluttermm and getting following errors:
> /bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H
> -DG_LOG_DOMAIN=\"cluttermm\"  -I../../clutter -I../../clutter -pthread
> -I/home/naveen/extra//include/glibmm-2.4
> -I/home/naveen/extra//lib/glibmm-2.4/include
> -I/home/naveen/extra//include/glib-2.0
> -I/home/naveen/extra//lib/glib-2.0/include
> -I/home/naveen/extra//include/clutter-0.5 -I/usr/include/gtkmm-2.4
> -I/usr/lib/gtkmm-2.4/include -I/usr/include/gdkmm-2.4
> -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4
> -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0
> -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include
> -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0
> -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2
> -I/usr/include/libpng12 -I/usr/include/atk-1.0    -g -O2 -MT actor.lo
> -MD -MP -MF .deps/actor.Tpo -c -o actor.lo actor.cc
>  g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"cluttermm\" -I../../clutter
> -I../../clutter -pthread -I/home/naveen/extra//include/glibmm-2.4
> -I/home/naveen/extra//lib/glibmm-2.4/include
> -I/home/naveen/extra//include/glib-2.0
> -I/home/naveen/extra//lib/glib-2.0/include
> -I/home/naveen/extra//include/clutter-0.5 -I/usr/include/gtkmm-2.4
> -I/usr/lib/gtkmm-2.4/include -I/usr/include/gdkmm-2.4
> -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4
> -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0
> -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include
> -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0
> -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2
> -I/usr/include/libpng12 -I/usr/include/atk-1.0 -g -O2 -MT actor.lo -MD
> -MP -MF .deps/actor.Tpo -c actor.cc  -fPIC -DPIC -o .libs/actor.o
> ../../clutter/cluttermm/actor.h:95: error: ISO C++ forbids declaration
> of '_DERIVES_INITIALLY_UNOWNED' with no type
> ../../clutter/cluttermm/actor.h:98: error: expected ';' before 'protected'
> actor.cc:1464: error: prototype for 'Clutter::Actor::Actor()' does not
> match any in class 'Clutter::Actor'
> actor.cc:1442: error: candidates are: Clutter::Actor::Actor(ClutterActor*)
> actor.cc:1437: error:                 Clutter::Actor::Actor(const
> Glib::ConstructParams&)
> ../../clutter/cluttermm/actor.h:67: error:
> Clutter::Actor::Actor(const Clutter::Actor&)
> make[4]: *** [actor.lo] Error 1
> make[4]: Leaving directory
> `/home/naveen/MyOwn/clutter/trunk/clutter/cluttermm'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/home/naveen/MyOwn/clutter/trunk/clutter/cluttermm'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/naveen/MyOwn/clutter/trunk/clutter'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/naveen/MyOwn/clutter/trunk/clutter'
> make: *** [all-recursive] Error 1
>
>
>
> Earlier I come to know I have older glibmm package but I just update
> the glibmm from svn (http://svn.gnome.org/svn/glibmm/trunk) and I can
> see the this macro define in class_gobject.m4 file in glibmm. But
> still  cluttermm compilation is failing.
>
> Any clue what else could be wrong?
>
> -Br
> Naveen
>
Did you build and install the glibmm from svn?  Once you do, make sure
pkg-config can find it when building cluttermm.

-Jose



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