'GstElement', 'GstBus', 'GstCaps' could not be resolved (among others)

Asgaro yenmertens at gmail.com
Fri May 1 16:20:31 PDT 2015


I'm trying to get a project up and running based primarily on GTK and
GStreamer: it's a video app.

I have no compile errors - I can clean and build without problems - but I
have unresolved types all over the place.

My understanding is that most are related to either the GTK or GStreamer
frameworks.

Examples:
Description	Resource	Path	Location	Type
Type 'GtkWidget' could not be resolved	gui_f.h	/ProjectV5	line 30	Semantic
Error
Description	Resource	Path	Location	Type
Type 'GtkEntry' could not be resolved	gui_f.c	/ProjectV5	line 120	Semantic
Error
Description	Resource	Path	Location	Type
Symbol 'GST_STATE_NULL' could not be resolved	gui_f.c	/ProjectV5	line 46
Semantic Error
Description	Resource	Path	Location	Type
Type 'GstElement' could not be resolved	gst_f.h	/ProjectV5	line 21	Semantic
Error


My options for GCC:

-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/at-spi-2.0
-I/usr/include/harfbuzz -I/usr/include/at-spi2-atk/2.0
-I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/freetype2
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1
-I/usr/include/mircommon
-I/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h -I/usr/include/cairo
-I/usr/include/mirclient -I/usr/include/dbus-1.0 -I/usr/include/pango-1.0
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gio-unix-2.0/
-I/usr/include/gio-unix-2.0 -I/usr/include/gtk-3.0 -I/usr/include/gtk-2.0
-I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -O0 -g3 -Wall -c
-fmessage-length=0

I added all dependencies via: Project Properties -- C/C++ Build -- Settings
-- tab Tool Settings -- and there in the right section (Includes or
Libraries)

Screenshot:
https://dl.dropboxusercontent.com/u/2648/Eclipseproblems/eclipse%20screenshot%202.PNG

I can provide code and screenshots from anything. Thank you for your time.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/GstElement-GstBus-GstCaps-could-not-be-resolved-among-others-tp4671758.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list