Re: clutter-gtk



Lionel,

Thanks for the pointer.

I searched the tree for CoglMaterial


cogl/cogl-material-compat.h:typedef struct _CoglMaterial      CoglMaterial;
cogl/cogl-material-compat.h:typedef struct _CoglMaterialLayer     CoglMaterialLayer;

Is there some compatibility layer I need to enable?

I do not see the error
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
#error "Only <cogl/cogl.h> can be included directly."
#endif

anywhere...

Jerry


On Sat, Nov 2, 2013 at 10:02 AM, Lionel Landwerlin <llandwerlin gmail com> wrote:
My reading of the --enable-deprecated is that you need to set it to yes.
Then if it still doesn't work, you need to figure out why CoglMaterial isn't found by the compiler.

Regards,

-
Lionel

On 02/11/13 13:33, Jerry Geis wrote:
I recompiled cogl with --enable-deprecated=no
• Features:
        Drivers:  gl
        Library name for GL: libGL.so.1
        GL Window System APIs: glx
        Building for emscripten environment: no
        Build libcogl-gles2 GLES 2.0 frontend api: no
        Image backend: gdk-pixbuf
        Cogl Pango: yes
        Cogl Gstreamer: no
        Cogl Path: yes

 • Build options:
        Debugging: no
        Profiling: no
        Enable deprecated symbols: no
        Compiler flags: -g -O2  -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS  -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES
        Linker flags: -L/usr/lib64

 • Extra:
        Build API reference: no
        Build introspection data: auto
        Build unit tests: yes


but I still get same error when compiling clutter-gtk

Thoughts?

Jerry


On Fri, Nov 1, 2013 at 5:28 PM, Lionel Landwerlin <llandwerlin gmail com> wrote:
It seems to defaults to yes if you're building from a tarball, not from git.
Are you building from git?

Regards,

-
Lionel

On 01/11/13 21:26, Jerry Geis wrote:
Lionel,

Thanks for the direction. However, after looking I'm not sure what to do.
I did compile cogl-1.16.0 with just defaults. 
./configure --prefix=/usr --libdir=/usr/lib64

the option --enable-deprecated defaults to yes

so can you tell me which option it is?

Thanks,

Jerry


On Fri, Nov 1, 2013 at 5:01 PM, Lionel Landwerlin <llandwerlin gmail com> wrote:
It might be that you've compiled Cogl without the deprecated symbols/API.
That would by why you have an error at clutter-offscreen-effect.h:97, CoglMaterial is deprecated in favor of CoglPipeline.

Regards,

-
Lionel

On 01/11/13 20:40, Jerry Geis wrote:
I am compiling clutter-gtk from source on centos 6.4

Cluttter-1.16.0 seems to have compiled and was fine.
I am getting this error below when compiling clutter-gtk

What am I missing?

make[2]: Entering directory `/home/silentm/MessageNet/totem/clutter-gtk-1.4.4/clutter-gtk'
  CC       gtk-clutter-actor.lo
  CC       gtk-clutter-embed.lo
In file included from /usr/include/clutter-1.0/clutter/clutter-deform-effect.h:33,
                 from /usr/include/clutter-1.0/clutter/clutter.h:57,
                 from ./gtk-clutter-actor.h:32,
                 from ./gtk-clutter-actor.c:42:
/usr/include/clutter-1.0/clutter/clutter-offscreen-effect.h:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from /usr/include/clutter-1.0/clutter/clutter-deform-effect.h:33,
                 from /usr/include/clutter-1.0/clutter/clutter.h:57,
                 from ./gtk-clutter-embed.h:31,
                 from ./gtk-clutter-embed.c:49:
/usr/include/clutter-1.0/clutter/clutter-offscreen-effect.h:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from /usr/include/clutter-1.0/clutter/clutter.h:84,


Jerry


_______________________________________________
clutter-list mailing list
clutter-list gnome org
https://mail.gnome.org/mailman/listinfo/clutter-list


_______________________________________________
clutter-list mailing list
clutter-list gnome org
https://mail.gnome.org/mailman/listinfo/clutter-list








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