Problem running GEGL hello-world example
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.
Problem running GEGL hello-world example | ChristophK | 30 Mar 21:46 |
Problem running GEGL hello-world example | Michael Henning | 30 Mar 22:11 |
Problem running GEGL hello-world example | ChristophK | 31 Mar 10:31 |
Problem running GEGL hello-world example | ChristophK | 31 Mar 11:17 |
Problem running GEGL hello-world example | Michael Henning | 31 Mar 13:56 |
Problem running GEGL hello-world example
GEGL-0.2.0 on Window 7 64bit / mingw32 / msys
Hello,
after compiling GEGL I'm trying to run the hello-world example and get the following errors:
----
christoph@HTPC /k/daten/programmierung/libraries/gegl-0.2.0/examples
$ export GEGL_PATH=/k/daten/programmierung/libraries/gegl-0.2.0/
christoph@HTPC /k/daten/programmierung/libraries/gegl-0.2.0/examples
$ ./hello-world.exe
GEGL-geglmodule.c-Message: Module
'k:/daten/programmierung/libraries/gegl-0.2.0\ gegl\.libs
\libgegl-0.2-0.dll' load error: Missing gegl_module_query() symbol
(hello-world.exe:2980): GEGL-display.c-WARNING **: No display handler operation found for gegl:display
(hello-world.exe:2980): GEGL-gegl-operation-context.c-WARNING **: gegl_operation _context_take_object: No paramspec found for pad 'output' on "gegl:display"
... same message repeated many times ...
(hello-world.exe:1132): GEGL-gegl-operation-context.c-WARNING **: gegl_operation _context_take_object: No paramspec found for pad 'output' on "gegl:display"
EEEEeEeek! 2 GeglBuffers leaked
christoph@HTPC /k/daten/programmierung/libraries/gegl-0.2.0/examples
$
----
That's what happened during configure:
---- Building GEGL with prefix=/usr/local
Optional features:
GEGL docs: yes
Build workshop: no
Build website: no (asciidoc not found)
SIMD: sse:yes mmx:yes
Vala support: no (vapigen executable not found)
Optional dependencies:
asciidoc: no (asciidoc not found)
enscript: no (enscript not found)
Ruby: no
Lua: no (usable lua not found)
Cairo: yes
Pango: yes
pangocairo: yes
GDKPixbuf: yes
JPEG: yes
PNG: yes
OpenEXR: no (OpenEXR library not found)
rsvg: no (usable librsvg not found)
SDL: no (SDL library not found)
openraw: no (openraw library not found)
Jasper: no (jasper library not found)
graphviz: no (graphviz not found)
avformat: no (libavformat not found)
V4L: no
spiro: no (usable SPIRO library not found)
EXIV: no (exiv2 library not found)
umfpack: no (usable umfpack library not found)
christoph@HTPC /k/daten/programmierung/libraries/gegl-0.2.0
$
----
What do I have to do to make the hello-world example work?
Chris
Problem running GEGL hello-world example
The example program uses a gegl:display op. The issue you're running into is that you didn't compile gegl against any libraries that can provide the display op.
You can fix this by either compiling gegl with SDL support (there are SDL binaries for windows online, so that shouldn't be too difficult to set up), or by modifying the example to save a png file instead of trying to display a window (I'd recommend you try this anyway, if you're trying to learn gegl's api).
Feel free to post back with any more questions you have.
On Sat, Mar 30, 2013 at 5:46 PM, ChristophK wrote:
GEGL-0.2.0 on Window 7 64bit / mingw32 / msys
Hello,
after compiling GEGL I'm trying to run the hello-world example and get the following errors:
----
christoph@HTPC /k/daten/programmierung/libraries/gegl-0.2.0/examples $ export GEGL_PATH=/k/daten/programmierung/libraries/gegl-0.2.0/christoph@HTPC /k/daten/programmierung/libraries/gegl-0.2.0/examples $ ./hello-world.exe
GEGL-geglmodule.c-Message: Module
'k:/daten/programmierung/libraries/gegl-0.2.0\ gegl\.libs \libgegl-0.2-0.dll' load error: Missing gegl_module_query() symbol(hello-world.exe:2980): GEGL-display.c-WARNING **: No display handler operation found for gegl:display
(hello-world.exe:2980): GEGL-gegl-operation-context.c-WARNING **: gegl_operation _context_take_object: No paramspec found for pad 'output' on "gegl:display"
... same message repeated many times ...
(hello-world.exe:1132): GEGL-gegl-operation-context.c-WARNING **: gegl_operation _context_take_object: No paramspec found for pad 'output' on "gegl:display"
EEEEeEeek! 2 GeglBuffers leaked christoph@HTPC /k/daten/programmierung/libraries/gegl-0.2.0/examples $
----That's what happened during configure:
---- Building GEGL with prefix=/usr/local
Optional features: GEGL docs: yes
Build workshop: no
Build website: no (asciidoc not found) SIMD: sse:yes mmx:yes
Vala support: no (vapigen executable not found)Optional dependencies: asciidoc: no (asciidoc not found) enscript: no (enscript not found) Ruby: no
Lua: no (usable lua not found) Cairo: yes
Pango: yes
pangocairo: yes
GDKPixbuf: yes
JPEG: yes
PNG: yes
OpenEXR: no (OpenEXR library not found) rsvg: no (usable librsvg not found) SDL: no (SDL library not found) openraw: no (openraw library not found) Jasper: no (jasper library not found) graphviz: no (graphviz not found) avformat: no (libavformat not found) V4L: no
spiro: no (usable SPIRO library not found) EXIV: no (exiv2 library not found) umfpack: no (usable umfpack library not found)christoph@HTPC /k/daten/programmierung/libraries/gegl-0.2.0 $
----What do I have to do to make the hello-world example work?
Chris _______________________________________________ gegl-developer-list mailing list
gegl-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gegl-developer-list
Problem running GEGL hello-world example
On Sat, 30 Mar 2013 18:11:14 -0400 Michael Henning wrote:
The example program uses a gegl:display op. The issue you're running into is that you didn't compile gegl against any libraries that can provide the display op.
You can fix this by either compiling gegl with SDL support (there are SDL binaries for windows online, so that shouldn't be too difficult to set up), or by modifying the example to save a png file instead of trying to display a window (I'd recommend you try this anyway, if you're trying to learn gegl's api).
Feel free to post back with any more questions you have.
Hi Michael,
thanks so far. Can I also use GTK+ for a display op? How?
Christoph
Problem running GEGL hello-world example
Hi again,
I now compiled GEGL against SDL. I keep getting the same error. Did you notice this line?:
GEGL-geglmodule.c-Message: Module 'k:/daten/programmierung/libraries/gegl-0.2.0\ gegl\.libs \libgegl-0.2-0.dll' load error: Missing gegl_module_query() symbol
I guess it has nothing to do with the gegl:display op, but this might be the reason why it wouldn't find any display op.
Chris
On Sat, 30 Mar 2013 18:11:14 -0400 Michael Henning wrote:
The example program uses a gegl:display op. The issue you're running into is that you didn't compile gegl against any libraries that can provide the display op.
You can fix this by either compiling gegl with SDL support (there are SDL binaries for windows online, so that shouldn't be too difficult to set up), or by modifying the example to save a png file instead of trying to display a window (I'd recommend you try this anyway, if you're trying to learn gegl's api).
Feel free to post back with any more questions you have.
On Sat, Mar 30, 2013 at 5:46 PM, ChristophK wrote:
GEGL-0.2.0 on Window 7 64bit / mingw32 / msys
Hello,
after compiling GEGL I'm trying to run the hello-world example and get the following errors:
----
christoph@HTPC /k/daten/programmierung/libraries/gegl-0.2.0/examples $ export GEGL_PATH=/k/daten/programmierung/libraries/gegl-0.2.0/christoph@HTPC /k/daten/programmierung/libraries/gegl-0.2.0/examples $ ./hello-world.exe
GEGL-geglmodule.c-Message: Module
'k:/daten/programmierung/libraries/gegl-0.2.0\ gegl\.libs \libgegl-0.2-0.dll' load error: Missing gegl_module_query() symbol(hello-world.exe:2980): GEGL-display.c-WARNING **: No display handler operation found for gegl:display
(hello-world.exe:2980): GEGL-gegl-operation-context.c-WARNING **: gegl_operation _context_take_object: No paramspec found for pad 'output' on "gegl:display"
... same message repeated many times ...
(hello-world.exe:1132): GEGL-gegl-operation-context.c-WARNING **: gegl_operation _context_take_object: No paramspec found for pad 'output' on "gegl:display"
EEEEeEeek! 2 GeglBuffers leaked christoph@HTPC /k/daten/programmierung/libraries/gegl-0.2.0/examples $
----That's what happened during configure:
---- Building GEGL with prefix=/usr/local
Optional features: GEGL docs: yes
Build workshop: no
Build website: no (asciidoc not found) SIMD: sse:yes mmx:yes
Vala support: no (vapigen executable not found)Optional dependencies: asciidoc: no (asciidoc not found) enscript: no (enscript not found) Ruby: no
Lua: no (usable lua not found) Cairo: yes
Pango: yes
pangocairo: yes
GDKPixbuf: yes
JPEG: yes
PNG: yes
OpenEXR: no (OpenEXR library not found) rsvg: no (usable librsvg not found) SDL: no (SDL library not found) openraw: no (openraw library not found) Jasper: no (jasper library not found) graphviz: no (graphviz not found) avformat: no (libavformat not found) V4L: no
spiro: no (usable SPIRO library not found) EXIV: no (exiv2 library not found) umfpack: no (usable umfpack library not found)christoph@HTPC /k/daten/programmierung/libraries/gegl-0.2.0 $
----What do I have to do to make the hello-world example work?
Chris _______________________________________________ gegl-developer-list mailing list
gegl-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gegl-developer-list_______________________________________________ gegl-developer-list mailing list
gegl-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gegl-developer-list
Problem running GEGL hello-world example
As a general note, you should probably grab a development version from git, not a release tarball. GEGL has gone through massive numbers of bugfixes since the release, as it's still under heavy development. (I'm hoping that will fix the bug you're running into now.)
The gtk+ display op is separate from GEGL itself. You can find it here:
https://git.gnome.org/browse/gegl-gtk/
The op is named "gegl-gtk3:display". (or, if you compile against gtk+
2, it's "gegl-gtk2:display")
There's also a clutter and a qt helper library, if you're interested.
On Sun, Mar 31, 2013 at 7:17 AM, ChristophK wrote:
Hi again,
I now compiled GEGL against SDL. I keep getting the same error. Did you notice this line?:
GEGL-geglmodule.c-Message: Module 'k:/daten/programmierung/libraries/gegl-0.2.0\ gegl\.libs \libgegl-0.2-0.dll' load error: Missing gegl_module_query() symbol
I guess it has nothing to do with the gegl:display op, but this might be the reason why it wouldn't find any display op.
Chris
On Sat, 30 Mar 2013 18:11:14 -0400 Michael Henning wrote:
The example program uses a gegl:display op. The issue you're running into is that you didn't compile gegl against any libraries that can provide the display op.
You can fix this by either compiling gegl with SDL support (there are SDL binaries for windows online, so that shouldn't be too difficult to set up), or by modifying the example to save a png file instead of trying to display a window (I'd recommend you try this anyway, if you're trying to learn gegl's api).
Feel free to post back with any more questions you have.
On Sat, Mar 30, 2013 at 5:46 PM, ChristophK wrote:
GEGL-0.2.0 on Window 7 64bit / mingw32 / msys
Hello,
after compiling GEGL I'm trying to run the hello-world example and get the following errors:
----
christoph@HTPC /k/daten/programmierung/libraries/gegl-0.2.0/examples $ export GEGL_PATH=/k/daten/programmierung/libraries/gegl-0.2.0/christoph@HTPC /k/daten/programmierung/libraries/gegl-0.2.0/examples $ ./hello-world.exe
GEGL-geglmodule.c-Message: Module
'k:/daten/programmierung/libraries/gegl-0.2.0\ gegl\.libs \libgegl-0.2-0.dll' load error: Missing gegl_module_query() symbol(hello-world.exe:2980): GEGL-display.c-WARNING **: No display handler operation found for gegl:display
(hello-world.exe:2980): GEGL-gegl-operation-context.c-WARNING **: gegl_operation _context_take_object: No paramspec found for pad 'output' on "gegl:display"
... same message repeated many times ...
(hello-world.exe:1132): GEGL-gegl-operation-context.c-WARNING **: gegl_operation _context_take_object: No paramspec found for pad 'output' on "gegl:display"
EEEEeEeek! 2 GeglBuffers leaked christoph@HTPC /k/daten/programmierung/libraries/gegl-0.2.0/examples $
----That's what happened during configure:
---- Building GEGL with prefix=/usr/local
Optional features: GEGL docs: yes
Build workshop: no
Build website: no (asciidoc not found) SIMD: sse:yes mmx:yes
Vala support: no (vapigen executable not found)Optional dependencies: asciidoc: no (asciidoc not found) enscript: no (enscript not found) Ruby: no
Lua: no (usable lua not found) Cairo: yes
Pango: yes
pangocairo: yes
GDKPixbuf: yes
JPEG: yes
PNG: yes
OpenEXR: no (OpenEXR library not found) rsvg: no (usable librsvg not found) SDL: no (SDL library not found) openraw: no (openraw library not found) Jasper: no (jasper library not found) graphviz: no (graphviz not found) avformat: no (libavformat not found) V4L: no
spiro: no (usable SPIRO library not found) EXIV: no (exiv2 library not found) umfpack: no (usable umfpack library not found)christoph@HTPC /k/daten/programmierung/libraries/gegl-0.2.0 $
----What do I have to do to make the hello-world example work?
Chris _______________________________________________ gegl-developer-list mailing list
gegl-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gegl-developer-list_______________________________________________ gegl-developer-list mailing list
gegl-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gegl-developer-list_______________________________________________ gegl-developer-list mailing list
gegl-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gegl-developer-list