On Fri, 2010-02-12 at 23:43 +0100, Piñeiro wrote:

> after an update on clutter, trying to compile it I get this error (and
> several compilation warnings).
> 
>   CC     test_conformance-test-cogl-pixel-buffer.o
> test-cogl-pixel-buffer.c: In function ‘create_map_tile’:
> test-cogl-pixel-buffer.c:69: warning: implicit declaration of function 
> ‘cogl_pixel_buffer_new’
> test-cogl-pixel-buffer.c:69: warning: assignment makes pointer from integer 
> without a cast
> test-cogl-pixel-buffer.c:71: warning: implicit declaration of function 
> ‘cogl_is_pixel_buffer’
> test-cogl-pixel-buffer.c:72: warning: implicit declaration of function 
> ‘cogl_is_buffer’
> test-cogl-pixel-buffer.c:75: warning: implicit declaration of function 
> ‘cogl_buffer_set_usage_hint’
> test-cogl-pixel-buffer.c:75: error: ‘COGL_BUFFER_USAGE_HINT_TEXTURE’ 
> undeclared (first use in this function)
> test-cogl-pixel-buffer.c:75: error: (Each undeclared identifier is reported 
> only once
> test-cogl-pixel-buffer.c:75: error: for each function it appears in.)
> 
> etc.
> 
> I can workaround this problem by using the option
> --disable-conformance (although I still get several compilation
> warnings).
> 
> I'm doing something wrong?

seems to me you are stuck with an old cogl lying around your build.

could you try cleaning your clone with:

  git clean -xdf

?

I just cloned from scratch and everything worked fine.

> These days there were a lot of changes on cogl, so probably the issue
> is that the conformance tests are outdated.

not that I can see. the test-cogl-pixel-buffer explicitly enables the
experimental API it is testing by defining COGL_ENABLE_EXPERIMENTAL_API
before including cogl/cogl.h.

>  It is a know issue? It has sense to open a bug?

no, it's not known; and no, we can track it on the mailing list for now.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, Open Source Software Engineer
Intel Open Source Technology Center

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com

Reply via email to