Greetings,
I’m having trouble getting OF example apps compiling in code blocks in Ubuntu 9.04 (32 FAT)
This is the error that code blocks pops up when I hit compile on the font example:
Found following issues with libraries:
Didn't found configuration for libraries:
* gstreamer-0.10 * gstreamer-base-0.10 * gstreamer-video-0.10 * libavcodec * libavformat * libavutil * libswscale
Would you like to go to detection dialog ?
And here are the error messages:
||=== moviePlayerExample, Debug ===|
../../../libs/openFrameworks/video/ofGstUtils.h|11|warning: gst/gst.h: No such file or directory|
../../../libs/openFrameworks/video/ofGstUtils.h|16|error: ISO C++ forbids declaration of GMainLoop with no type|
../../../libs/openFrameworks/video/ofGstUtils.h|16|error: expected ; before * token|
../../../libs/openFrameworks/video/ofGstUtils.h|17|error: ISO C++ forbids declaration of GstElement with no type|
../../../libs/openFrameworks/video/ofGstUtils.h|17|error: expected ; before * token|
../../../libs/openFrameworks/video/ofGstUtils.h|22|error: guint64 does not name a type|
../../../libs/openFrameworks/video/ofGstUtils.h|23|error: guint64 does not name a type|
../../../libs/openFrameworks/video/ofGstUtils.h|54|error: ISO C++ forbids declaration of GHashTable with no type|
../../../libs/openFrameworks/video/ofGstUtils.h|54|error: expected ; before * token|
../../../libs/openFrameworks/video/ofGstUtils.h|70|error: guint does not name a type|
../../../libs/openFrameworks/video/ofGstUtils.h|140|error: ISO C++ forbids declaration of GstElement with no type|
../../../libs/openFrameworks/video/ofGstUtils.h|140|error: expected ; before * token|
../../../libs/openFrameworks/video/ofGstUtils.h|141|error: ISO C++ forbids declaration of GstElement with no type|
../../../libs/openFrameworks/video/ofGstUtils.h|141|error: expected ; before * token|
../../../libs/openFrameworks/video/ofGstUtils.h|157|error: gint64 does not name a type|
../../../libs/openFrameworks/video/ofGstUtils.h|158|error: guint64 does not name a type|
||=== Build finished: 15 errors, 1 warnings ===|
Things I’ve tried:
- uninstalling code blocks, re-downloaded latest version of OF and re-installed Code Blocks and dependencies with the .sh files in scripts/ubuntu/
- Installing everything I can find in Synaptic with the word “gstreamer” in it.
- searched for all of the libs listed in the error message in Synaptic.
- tried suggestions in the forums
- asked google.
- Bothered friends.
I’m stuck, any suggestions would be much appreciated.
Thanks,
Evan