RSS/Atom feed Twitter
Site is read-only, email is disabled

error: 'GeglOp' undeclared

This discussion is connected to the gegl-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

4 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

error: 'GeglOp' undeclared Florent Monnier 09 Jan 20:50
error: 'GeglOp' undeclared Sven Neumann 10 Jan 22:17
error: 'GeglOp' undeclared Florent Monnier 11 Jan 08:39
error: 'GeglOp' undeclared Sven Neumann 11 Jan 14:19
Florent Monnier
2006-01-09 20:50:42 UTC (about 18 years ago)

error: 'GeglOp' undeclared

pkg-config --cflags gegl
will give you the compilation flags.

pkg-config --libs gegl will give you the linker flags.

gcc -o test-01 `pkg-config --libs gegl` `pkg-config --cflags gegl` test-01.c

Here is the error I get:

test-01.c: In function 'main': test-01.c:11: error: 'GeglOp' undeclared (first use in this function) test-01.c:11: error: (Each undeclared identifier is reported only once test-01.c:11: error: for each function it appears in.) test-01.c:11: error: 'color0' undeclared (first use in this function) test-01.c:12: error: 'color1' undeclared (first use in this function) test-01.c:13: error: 'iadd' undeclared (first use in this function) test-01.c:15: error: 'GEGL_TYPE_COLOR' undeclared (first use in this function) test-01.c:23: error: 'GEGL_TYPE_I_ADD' undeclared (first use in this function)

Here the exemple 'test-01.c' I'm trying to compile:

Sven Neumann
2006-01-10 22:17:23 UTC (about 18 years ago)

error: 'GeglOp' undeclared

Hi,

Florent Monnier writes:

Here the exemple 'test-01.c' I'm trying to compile:

What code is that? Why do you think it would work?

Sven

Florent Monnier
2006-01-11 08:39:31 UTC (about 18 years ago)

error: 'GeglOp' undeclared

Here the exemple 'test-01.c' I'm trying to compile:

What code is that? Why do you think it would work?

Because I found it in the documentation (the reference).

Sven Neumann
2006-01-11 14:19:29 UTC (about 18 years ago)

error: 'GeglOp' undeclared

Hi,

Florent Monnier writes:

Here the exemple 'test-01.c' I'm trying to compile:

What code is that? Why do you think it would work?

Because I found it in the documentation (the reference).

In the outdated reference that is not any longer online or in the current one? I explained earlier that the API is subject to changes. We have done a major code cleanup this summer. None of the old example files will work any longer.

The source code as found in CVS has working test files (which aren't really meant as examples though).

Sven