Gstreamer And Eclipse

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Gstreamer And Eclipse

frknml

   Hi Everyone;

 I'm very new for gstreamer.I want to use gstreamer with eclipse and linux.My eclipse is galileo and my linux   is 9.04 ubuntu.I installed gstreamer with synaptic package manager.I wrote below which packages i have installed.

libgstreamer-plugins-base0.10-0
libgstreamer-plugins-base0.10-dev
libgstreamer0.10-0
libgstreamer0.10-dev
libgstreamer0.10-0-dbg

I have created a c++ project in my eclipse,and gstreamer-0.10 folder in my /usr/include directory.

I'm only trying to include <gstreamer-0.10/gst/gst.h> library but it gives hundreds of errors :).

I looking forward to hearing your response which may help me .

Faruk Namlı

----------------------------error-----------------------------------------------------------

In file included from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
                 from ../main.cpp:1:
/usr/include/glib-2.0/glib/gtypes.h:397:2: error: #error unknown ENDIAN type
In file included from /usr/include/glib-2.0/glib.h:33,
                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
                 from ../main.cpp:1:
/usr/include/glib-2.0/glib/garray.h:50: error: expected \u2018;\u2019 before \u2018*\u2019 token
/usr/include/glib-2.0/glib/garray.h:144: error: expected constructor, destructor, or type conversion before \u2018*\u2019 token
/usr/include/glib-2.0/glib/garray.h:147: error: expected \u2018,\u2019 or \u2018...\u2019 before \u2018*\u2019 token
/usr/include/glib-2.0/glib/garray.h:150: error: expected \u2018,\u2019 or \u2018...\u2019 before \u2018*\u2019 token
In file included from /usr/include/glib-2.0/glib/gerror.h:28,
                 from /usr/include/glib-2.0/glib/gthread.h:34,
                 from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
                 from /usr/include/glib-2.0/glib.h:34,
                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
                 from ../main.cpp:1:
/usr/include/glib-2.0/glib/gquark.h:38: error: \u2018guint32\u2019 does not name a type
/usr/include/glib-2.0/glib/gquark.h:42: error: \u2018GQuark\u2019 does not name a type
/usr/include/glib-2.0/glib/gquark.h:43: error: \u2018GQuark\u2019 does not name a type
/usr/include/glib-2.0/glib/gquark.h:44: error: \u2018GQuark\u2019 does not name a type
/usr/include/glib-2.0/glib/gquark.h:45: error: \u2018GQuark\u2019 was not declared in this scope
In file included from /usr/include/glib-2.0/glib/gthread.h:34,
                 from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
                 from /usr/include/glib-2.0/glib.h:34,
                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
                 from ../main.cpp:1:
/usr/include/glib-2.0/glib/gerror.h:36: error: \u2018GQuark\u2019 does not name a type
/usr/include/glib-2.0/glib/gerror.h:41: error: \u2018GQuark\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gerror.h:42: error: expected primary-expression before \u2018code\u2019
/usr/include/glib-2.0/glib/gerror.h:43: error: expected primary-expression before \u2018const\u2019
/usr/include/glib-2.0/glib/gerror.h:44: error: expected primary-expression before \u2018...\u2019 token
/usr/include/glib-2.0/glib/gerror.h:44: error: initializer expression list treated as compound expression
/usr/include/glib-2.0/glib/gerror.h:46: error: \u2018GQuark\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gerror.h:47: error: expected primary-expression before \u2018code\u2019
/usr/include/glib-2.0/glib/gerror.h:48: error: expected primary-expression before \u2018const\u2019
/usr/include/glib-2.0/glib/gerror.h:48: error: initializer expression list treated as compound expression
/usr/include/glib-2.0/glib/gerror.h:54: error: \u2018GQuark\u2019 has not been declared
/usr/include/glib-2.0/glib/gerror.h:61: error: \u2018GQuark\u2019 has not been declared
/usr/include/glib-2.0/glib/gerror.h:67: error: \u2018GQuark\u2019 has not been declared
In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
                 from /usr/include/glib-2.0/glib.h:34,
                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
                 from ../main.cpp:1:
/usr/include/glib-2.0/glib/gthread.h:44: error: \u2018GQuark\u2019 does not name a type
/usr/include/glib-2.0/glib/gthread.h:120: error: \u2018g_thread_gettime\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gthread.h:120: error: expected \u2018,\u2019 or \u2018;\u2019 before \u2018(\u2019 token
/usr/include/glib-2.0/glib/gthread.h:246: error: variable or field \u2018g_static_mutex_init\u2019 declared void
/usr/include/glib-2.0/glib/gthread.h:246: error: \u2018GStaticMutex\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gthread.h:246: error: \u2018mutex\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gthread.h:247: error: variable or field \u2018g_static_mutex_free\u2019 declared void
/usr/include/glib-2.0/glib/gthread.h:247: error: \u2018GStaticMutex\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gthread.h:247: error: \u2018mutex\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gthread.h:266: error: \u2018GStaticMutex\u2019 does not name a type
/usr/include/glib-2.0/glib/gthread.h:268: error: \u2018GSystemThread\u2019 does not name a type
/usr/include/glib-2.0/glib/gthread.h:285: error: \u2018GStaticMutex\u2019 does not name a type
/usr/include/glib-2.0/glib/gthread.h:336: error: expected \u2018,\u2019 or \u2018...\u2019 before \u2018*\u2019 token
/usr/include/glib-2.0/glib/gthread.h:337: error: expected \u2018,\u2019 or \u2018...\u2019 before \u2018*\u2019 token
/usr/include/glib-2.0/glib/gthread.h:338: error: expected \u2018,\u2019 or \u2018...\u2019 before \u2018*\u2019 token
In file included from /usr/include/glib-2.0/glib.h:37,
                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
                 from ../main.cpp:1:
/usr/include/glib-2.0/glib/gbase64.h:32: error: \u2018gsize\u2019 does not name a type
/usr/include/glib-2.0/glib/gbase64.h:38: error: \u2018gsize\u2019 does not name a type
/usr/include/glib-2.0/glib/gbase64.h:43: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gbase64.h:44: error: \u2018gsize\u2019 does not name a type
/usr/include/glib-2.0/glib/gbase64.h:50: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gbase64.h:52: error: \u2018gsize\u2019 has not been declared
In file included from /usr/include/glib-2.0/glib.h:38,
                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
                 from ../main.cpp:1:
/usr/include/glib-2.0/glib/gbookmarkfile.h:48: error: \u2018GQuark\u2019 does not name a type
/usr/include/glib-2.0/glib/gbookmarkfile.h:63: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gbookmarkfile.h:70: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gbookmarkfile.h:97: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gbookmarkfile.h:107: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gbookmarkfile.h:119: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gbookmarkfile.h:172: error: \u2018gsize\u2019 has not been declared
In file included from /usr/include/glib-2.0/glib/gmem.h:34,
                 from /usr/include/glib-2.0/glib/glist.h:34,
                 from /usr/include/glib-2.0/glib/gcache.h:34,
                 from /usr/include/glib-2.0/glib.h:39,
                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
                 from ../main.cpp:1:
/usr/include/glib-2.0/glib/gslice.h:37: error: \u2018gsize\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gslice.h:38: error: \u2018gsize\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gslice.h:39: error: \u2018gsize\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gslice.h:40: error: expected primary-expression before \u2018mem_block\u2019
/usr/include/glib-2.0/glib/gslice.h:40: error: initializer expression list treated as compound expression
/usr/include/glib-2.0/glib/gslice.h:41: error: variable or field \u2018g_slice_free1\u2019 declared void
/usr/include/glib-2.0/glib/gslice.h:41: error: \u2018gsize\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gslice.h:42: error: expected primary-expression before \u2018mem_block\u2019
/usr/include/glib-2.0/glib/gslice.h:43: error: variable or field \u2018g_slice_free_chain_with_offset\u2019 declared void
/usr/include/glib-2.0/glib/gslice.h:43: error: \u2018gsize\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gslice.h:44: error: expected primary-expression before \u2018mem_chain\u2019
/usr/include/glib-2.0/glib/gslice.h:45: error: \u2018gsize\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gslice.h:84: error: \u2018gint64\u2019 has not been declared
/usr/include/glib-2.0/glib/gslice.h:85: error: \u2018gint64\u2019 does not name a type
/usr/include/glib-2.0/glib/gslice.h:86: error: expected constructor, destructor, or type conversion before \u2018*\u2019 token
In file included from /usr/include/glib-2.0/glib/glist.h:34,
                 from /usr/include/glib-2.0/glib/gcache.h:34,
                 from /usr/include/glib-2.0/glib.h:39,
                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
                 from ../main.cpp:1:
/usr/include/glib-2.0/glib/gmem.h:51: error: \u2018gsize\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gmem.h:52: error: \u2018gsize\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gmem.h:54: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gmem.h:56: error: \u2018gsize\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gmem.h:57: error: \u2018gsize\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gmem.h:59: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gmem.h:85: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gmem.h:87: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gmem.h:90: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gmem.h:91: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gmem.h:92: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gmem.h:94: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gmem.h:130: error: \u2018gsize\u2019 has not been declared
In file included from /usr/include/glib-2.0/glib.h:40,
                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
                 from ../main.cpp:1:
/usr/include/glib-2.0/glib/gchecksum.h:63: error: \u2018gssize\u2019 does not name a type
/usr/include/glib-2.0/glib/gchecksum.h:71: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gchecksum.h:74: error: \u2018guint8\u2019 has not been declared
/usr/include/glib-2.0/glib/gchecksum.h:75: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gchecksum.h:79: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gchecksum.h:82: error: \u2018gssize\u2019 has not been declared
In file included from /usr/include/glib-2.0/glib.h:41,
                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
                 from ../main.cpp:1:
/usr/include/glib-2.0/glib/gcompletion.h:47: error: \u2018gsize\u2019 has not been declared
In file included from /usr/include/glib-2.0/glib.h:42,
                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
                 from ../main.cpp:1:
/usr/include/glib-2.0/glib/gconvert.h:49: error: \u2018GQuark\u2019 does not name a type
/usr/include/glib-2.0/glib/gconvert.h:57: error: \u2018gsize\u2019 does not name a type
/usr/include/glib-2.0/glib/gconvert.h:66: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gconvert.h:69: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gconvert.h:70: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gconvert.h:73: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gconvert.h:75: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gconvert.h:76: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gconvert.h:79: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gconvert.h:83: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gconvert.h:84: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gconvert.h:91: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gconvert.h:92: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gconvert.h:93: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gconvert.h:96: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gconvert.h:97: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gconvert.h:98: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gconvert.h:112: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gconvert.h:113: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gconvert.h:114: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gconvert.h:117: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gconvert.h:118: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gconvert.h:119: error: \u2018gsize\u2019 has not been declared
In file included from /usr/include/glib-2.0/glib.h:43,
                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
                 from ../main.cpp:1:
/usr/include/glib-2.0/glib/gdataset.h:40: error: typedef \u2018GDataForeachFunc\u2019 is initialized (use __typeof__ instead)
/usr/include/glib-2.0/glib/gdataset.h:40: error: \u2018GQuark\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gdataset.h:41: error: expected primary-expression before \u2018data\u2019
/usr/include/glib-2.0/glib/gdataset.h:42: error: expected primary-expression before \u2018user_data\u2019
/usr/include/glib-2.0/glib/gdataset.h:49: error: \u2018GQuark\u2019 has not been declared
/usr/include/glib-2.0/glib/gdataset.h:51: error: \u2018GQuark\u2019 has not been declared
/usr/include/glib-2.0/glib/gdataset.h:55: error: \u2018GQuark\u2019 has not been declared
/usr/include/glib-2.0/glib/gdataset.h:57: error: \u2018GDataForeachFunc\u2019 has not been declared
/usr/include/glib-2.0/glib/gdataset.h:95: error: \u2018GQuark\u2019 has not been declared
/usr/include/glib-2.0/glib/gdataset.h:97: error: \u2018GQuark\u2019 has not been declared
/usr/include/glib-2.0/glib/gdataset.h:101: error: \u2018GQuark\u2019 has not been declared
/usr/include/glib-2.0/glib/gdataset.h:103: error: \u2018GDataForeachFunc\u2019 has not been declared
In file included from /usr/include/glib-2.0/glib.h:44,
                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
                 from ../main.cpp:1:
/usr/include/glib-2.0/glib/gdate.h:50: error: \u2018gint32\u2019 does not name a type
/usr/include/glib-2.0/glib/gdate.h:51: error: \u2018guint16\u2019 does not name a type
/usr/include/glib-2.0/glib/gdate.h:52: error: \u2018guint8\u2019 does not name a type
/usr/include/glib-2.0/glib/gdate.h:123: error: \u2018GDateDay\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gdate.h:124: error: expected primary-expression before \u2018month\u2019
/usr/include/glib-2.0/glib/gdate.h:125: error: \u2018GDateYear\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gdate.h:125: error: initializer expression list treated as compound expression
/usr/include/glib-2.0/glib/gdate.h:126: error: \u2018guint32\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gdate.h:135: error: \u2018GDateDay\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gdate.h:137: error: \u2018GDateYear\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gdate.h:139: error: \u2018guint32\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gdate.h:140: error: \u2018GDateDay\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gdate.h:141: error: expected primary-expression before \u2018month\u2019
/usr/include/glib-2.0/glib/gdate.h:142: error: \u2018GDateYear\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gdate.h:142: error: initializer expression list treated as compound expression
/usr/include/glib-2.0/glib/gdate.h:146: error: \u2018GDateYear\u2019 does not name a type
/usr/include/glib-2.0/glib/gdate.h:147: error: \u2018GDateDay\u2019 does not name a type
/usr/include/glib-2.0/glib/gdate.h:148: error: \u2018guint32\u2019 does not name a type
/usr/include/glib-2.0/glib/gdate.h:179: error: \u2018GTime\u2019 has not been declared
/usr/include/glib-2.0/glib/gdate.h:184: error: \u2018GDateDay\u2019 has not been declared
/usr/include/glib-2.0/glib/gdate.h:186: error: \u2018GDateYear\u2019 has not been declared
/usr/include/glib-2.0/glib/gdate.h:188: error: \u2018GDateDay\u2019 has not been declared
/usr/include/glib-2.0/glib/gdate.h:190: error: \u2018GDateYear\u2019 has not been declared
/usr/include/glib-2.0/glib/gdate.h:192: error: \u2018guint32\u2019 has not been declared
/usr/include/glib-2.0/glib/gdate.h:213: error: \u2018GDateYear\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gdate.h:214: error: \u2018guint8\u2019 does not name a type
/usr/include/glib-2.0/glib/gdate.h:216: error: \u2018guint8\u2019 does not name a type
/usr/include/glib-2.0/glib/gdate.h:217: error: \u2018guint8\u2019 does not name a type
/usr/include/glib-2.0/glib/gdate.h:240: error: \u2018gsize\u2019 does not name a type
In file included from /usr/include/glib-2.0/glib.h:47,
                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
                 from ../main.cpp:1:
/usr/include/glib-2.0/glib/gfileutils.h:76: error: \u2018GQuark\u2019 does not name a type
/usr/include/glib-2.0/glib/gfileutils.h:91: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gfileutils.h:95: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gfileutils.h:108: error: \u2018goffset\u2019 was not declared in this scope
In file included from /usr/include/glib-2.0/glib/giochannel.h:35,
                 from /usr/include/glib-2.0/glib.h:50,
                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
                 from ../main.cpp:1:
/usr/include/glib-2.0/glib/gmain.h:40: error: typedef \u2018GChildWatchFunc\u2019 is initialized (use __typeof__ instead)
/usr/include/glib-2.0/glib/gmain.h:40: error: \u2018GPid\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gmain.h:41: error: expected primary-expression before \u2018status\u2019
/usr/include/glib-2.0/glib/gmain.h:42: error: expected primary-expression before \u2018data\u2019
/usr/include/glib-2.0/glib/gmain.h:223: error: \u2018GPid\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gmain.h:277: error: \u2018GPid\u2019 has not been declared
/usr/include/glib-2.0/glib/gmain.h:278: error: \u2018GChildWatchFunc\u2019 has not been declared
/usr/include/glib-2.0/glib/gmain.h:281: error: \u2018GPid\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gmain.h:282: error: \u2018GChildWatchFunc\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gmain.h:283: error: expected primary-expression before \u2018data\u2019
/usr/include/glib-2.0/glib/gmain.h:283: error: initializer expression list treated as compound expression
In file included from /usr/include/glib-2.0/glib/gstring.h:35,
                 from /usr/include/glib-2.0/glib/giochannel.h:36,
                 from /usr/include/glib-2.0/glib.h:50,
                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
                 from ../main.cpp:1:
/usr/include/glib-2.0/glib/gunicode.h:34: error: \u2018guint32\u2019 does not name a type
/usr/include/glib-2.0/glib/gunicode.h:35: error: \u2018guint16\u2019 does not name a type
/usr/include/glib-2.0/glib/gunicode.h:220: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:221: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:222: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:223: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:224: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:225: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:226: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:227: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:228: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:229: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:230: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:231: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:232: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:233: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:234: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:235: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:236: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:240: error: \u2018gunichar\u2019 does not name a type
/usr/include/glib-2.0/glib/gunicode.h:241: error: \u2018gunichar\u2019 does not name a type
/usr/include/glib-2.0/glib/gunicode.h:242: error: \u2018gunichar\u2019 does not name a type
/usr/include/glib-2.0/glib/gunicode.h:246: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:248: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:251: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:254: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:257: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:263: error: variable or field \u2018g_unicode_canonical_ordering\u2019 declared void
/usr/include/glib-2.0/glib/gunicode.h:263: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:263: error: \u2018string\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:264: error: \u2018gsize\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:269: error: expected constructor, destructor, or type conversion before \u2018*\u2019 token
/usr/include/glib-2.0/glib/gunicode.h:278: error: \u2018gunichar\u2019 does not name a type
/usr/include/glib-2.0/glib/gunicode.h:279: error: \u2018gunichar\u2019 does not name a type
/usr/include/glib-2.0/glib/gunicode.h:293: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gunicode.h:298: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gunicode.h:303: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gunicode.h:304: error: \u2018gunichar\u2019 has not been declared
/usr/include/glib-2.0/glib/gunicode.h:306: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gunicode.h:307: error: \u2018gunichar\u2019 has not been declared
/usr/include/glib-2.0/glib/gunicode.h:309: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gunicode.h:311: error: expected constructor, destructor, or type conversion before \u2018*\u2019 token
/usr/include/glib-2.0/glib/gunicode.h:316: error: expected constructor, destructor, or type conversion before \u2018*\u2019 token
/usr/include/glib-2.0/glib/gunicode.h:321: error: expected constructor, destructor, or type conversion before \u2018*\u2019 token
/usr/include/glib-2.0/glib/gunicode.h:324: error: expected constructor, destructor, or type conversion before \u2018*\u2019 token
/usr/include/glib-2.0/glib/gunicode.h:329: error: expected \u2018,\u2019 or \u2018...\u2019 before \u2018*\u2019 token
/usr/include/glib-2.0/glib/gunicode.h:334: error: expected constructor, destructor, or type conversion before \u2018*\u2019 token
/usr/include/glib-2.0/glib/gunicode.h:339: error: expected \u2018,\u2019 or \u2018...\u2019 before \u2018*\u2019 token
/usr/include/glib-2.0/glib/gunicode.h:349: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:350: error: expected primary-expression before \u2018*\u2019 token
/usr/include/glib-2.0/glib/gunicode.h:350: error: \u2018outbuf\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:350: error: initializer expression list treated as compound expression
/usr/include/glib-2.0/glib/gunicode.h:357: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gunicode.h:361: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:364: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gunicode.h:366: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gunicode.h:368: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gunicode.h:382: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gunicode.h:388: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gunicode.h:390: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gunicode.h:392: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:393: error: \u2018gunichar\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:393: error: \u2018mirrored_ch\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:393: error: initializer expression list treated as compound expression
/usr/include/glib-2.0/glib/gunicode.h:395: error: \u2018gunichar\u2019 was not declared in this scope
In file included from /usr/include/glib-2.0/glib/giochannel.h:36,
                 from /usr/include/glib-2.0/glib.h:50,
                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
                 from ../main.cpp:1:
/usr/include/glib-2.0/glib/gstring.h:46: error: \u2018gsize\u2019 does not name a type
/usr/include/glib-2.0/glib/gstring.h:47: error: \u2018gsize\u2019 does not name a type
/usr/include/glib-2.0/glib/gstring.h:52: error: \u2018gsize\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gstring.h:59: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gstring.h:68: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gstring.h:69: error: \u2018gsize\u2019 was not declared in this scope
/usr/include/glib-2.0/glib/gstring.h:78: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gstring.h:80: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gstring.h:82: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gstring.h:84: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gstring.h:89: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gstring.h:93: error: \u2018gunichar\u2019 has not been declared
/usr/include/glib-2.0/glib/gstring.h:99: error: \u2018gunichar\u2019 has not been declared
/usr/include/glib-2.0/glib/gstring.h:102: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gstring.h:104: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gstring.h:107: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gstring.h:110: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gstring.h:111: error: \u2018gunichar\u2019 has not been declared
/usr/include/glib-2.0/glib/gstring.h:113: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gstring.h:116: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/gstring.h:118: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gstring.h:120: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/gstring.h:121: error: \u2018gssize\u2019 has not been declared
In file included from /usr/include/glib-2.0/glib.h:50,
                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
                 from ../main.cpp:1:
/usr/include/glib-2.0/glib/giochannel.h:88: error: expected `}' before \u2018GLIB_SYSDEF_POLLIN\u2019
/usr/include/glib-2.0/glib/giochannel.h:89: error: expected initializer before \u2018GLIB_SYSDEF_POLLOUT\u2019
/usr/include/glib-2.0/glib/giochannel.h:94: error: expected constructor, destructor, or type conversion before \u2018;\u2019 token
/usr/include/glib-2.0/glib/giochannel.h:120: error: \u2018gsize\u2019 does not name a type
/usr/include/glib-2.0/glib/giochannel.h:140: error: \u2018GIOCondition\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:146: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:147: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:151: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:152: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:155: error: \u2018gint64\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:161: error: \u2018GIOCondition\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:176: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:177: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:180: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:181: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:183: error: \u2018gint64\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:193: error: \u2018GIOCondition\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:198: error: \u2018GIOCondition\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:200: error: \u2018GIOCondition\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:208: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:209: error: \u2018gsize\u2019 does not name a type
/usr/include/glib-2.0/glib/giochannel.h:210: error: \u2018GIOCondition\u2019 does not name a type
/usr/include/glib-2.0/glib/giochannel.h:236: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:237: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:241: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:245: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:249: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:250: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:253: error: \u2018gunichar\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:257: error: \u2018gssize\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:258: error: \u2018gsize\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:261: error: \u2018gunichar\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:264: error: \u2018gint64\u2019 has not been declared
/usr/include/glib-2.0/glib/giochannel.h:277: error: \u2018GQuark\u2019 does not name a type
/usr/include/glib-2.0/glib/giochannel.h:364: error: expected declaration before \u2018}\u2019 token
make: *** [main.o] Error 1

 
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer And Eclipse

Clark, Rob
maybe not really a gst topic.. these comments apply to any autotools C project.

That said, you might find the linuxtools plugin useful: http://www.eclipse.org/linuxtools/

It include support for autotools projects, among other niceties.  Setup one autotools C project per gst tree (and optionally glib), and spend a bit of time setting up header file search paths (ie. in gst-plugins-good, right click on project, choose properties, C/C++ General -> Paths and Symbols -> Includes -> Add..., then click all the checkboxes, hit the 'Workspace...' button, and add gstreamer, gstreamer/lib, gst-plugins-base, and gst-plugins-base/gst-libs (assuming you already setup projects for gstreamer and gst-plugins-base).  And so on.  When you close the properties dialog, it will re-index everything.  Hopefully your PC is not short on RAM.  


BR,
-R

On Aug 31, 2010, at 2:38 AM, frknml wrote:

>
>
>   Hi Everyone;
>
> I'm very new for gstreamer.I want to use gstreamer with eclipse and
> linux.My eclipse is galileo and my linux   is 9.04 ubuntu.I installed
> gstreamer with synaptic package manager.I wrote below which packages i have
> installed.
>
> libgstreamer-plugins-base0.10-0
> libgstreamer-plugins-base0.10-dev
> libgstreamer0.10-0
> libgstreamer0.10-dev
> libgstreamer0.10-0-dbg
>
> I have created a c++ project in my eclipse,and gstreamer-0.10 folder in my
> /usr/include directory.
>
> I'm only trying to include <gstreamer-0.10/gst/gst.h> library but it gives
> hundreds of errors :).
>
> I looking forward to hearing your response which may help me .
>
> Faruk Namlı
>
> ----------------------------error-----------------------------------------------------------
>
> In file included from /usr/include/glib-2.0/glib/galloca.h:34,
>                 from /usr/include/glib-2.0/glib.h:32,
>                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
>                 from ../main.cpp:1:
> /usr/include/glib-2.0/glib/gtypes.h:397:2: error: #error unknown ENDIAN type
> In file included from /usr/include/glib-2.0/glib.h:33,
>                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
>                 from ../main.cpp:1:
> /usr/include/glib-2.0/glib/garray.h:50: error: expected \u2018;\u2019 before
> \u2018*\u2019 token
> /usr/include/glib-2.0/glib/garray.h:144: error: expected constructor,
> destructor, or type conversion before \u2018*\u2019 token
> /usr/include/glib-2.0/glib/garray.h:147: error: expected \u2018,\u2019 or
> \u2018...\u2019 before \u2018*\u2019 token
> /usr/include/glib-2.0/glib/garray.h:150: error: expected \u2018,\u2019 or
> \u2018...\u2019 before \u2018*\u2019 token
> In file included from /usr/include/glib-2.0/glib/gerror.h:28,
>                 from /usr/include/glib-2.0/glib/gthread.h:34,
>                 from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
>                 from /usr/include/glib-2.0/glib.h:34,
>                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
>                 from ../main.cpp:1:
> /usr/include/glib-2.0/glib/gquark.h:38: error: \u2018guint32\u2019 does not
> name a type
> /usr/include/glib-2.0/glib/gquark.h:42: error: \u2018GQuark\u2019 does not
> name a type
> /usr/include/glib-2.0/glib/gquark.h:43: error: \u2018GQuark\u2019 does not
> name a type
> /usr/include/glib-2.0/glib/gquark.h:44: error: \u2018GQuark\u2019 does not
> name a type
> /usr/include/glib-2.0/glib/gquark.h:45: error: \u2018GQuark\u2019 was not
> declared in this scope
> In file included from /usr/include/glib-2.0/glib/gthread.h:34,
>                 from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
>                 from /usr/include/glib-2.0/glib.h:34,
>                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
>                 from ../main.cpp:1:
> /usr/include/glib-2.0/glib/gerror.h:36: error: \u2018GQuark\u2019 does not
> name a type
> /usr/include/glib-2.0/glib/gerror.h:41: error: \u2018GQuark\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gerror.h:42: error: expected primary-expression
> before \u2018code\u2019
> /usr/include/glib-2.0/glib/gerror.h:43: error: expected primary-expression
> before \u2018const\u2019
> /usr/include/glib-2.0/glib/gerror.h:44: error: expected primary-expression
> before \u2018...\u2019 token
> /usr/include/glib-2.0/glib/gerror.h:44: error: initializer expression list
> treated as compound expression
> /usr/include/glib-2.0/glib/gerror.h:46: error: \u2018GQuark\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gerror.h:47: error: expected primary-expression
> before \u2018code\u2019
> /usr/include/glib-2.0/glib/gerror.h:48: error: expected primary-expression
> before \u2018const\u2019
> /usr/include/glib-2.0/glib/gerror.h:48: error: initializer expression list
> treated as compound expression
> /usr/include/glib-2.0/glib/gerror.h:54: error: \u2018GQuark\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gerror.h:61: error: \u2018GQuark\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gerror.h:67: error: \u2018GQuark\u2019 has not
> been declared
> In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
>                 from /usr/include/glib-2.0/glib.h:34,
>                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
>                 from ../main.cpp:1:
> /usr/include/glib-2.0/glib/gthread.h:44: error: \u2018GQuark\u2019 does not
> name a type
> /usr/include/glib-2.0/glib/gthread.h:120: error:
> \u2018g_thread_gettime\u2019 was not declared in this scope
> /usr/include/glib-2.0/glib/gthread.h:120: error: expected \u2018,\u2019 or
> \u2018;\u2019 before \u2018(\u2019 token
> /usr/include/glib-2.0/glib/gthread.h:246: error: variable or field
> \u2018g_static_mutex_init\u2019 declared void
> /usr/include/glib-2.0/glib/gthread.h:246: error: \u2018GStaticMutex\u2019
> was not declared in this scope
> /usr/include/glib-2.0/glib/gthread.h:246: error: \u2018mutex\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gthread.h:247: error: variable or field
> \u2018g_static_mutex_free\u2019 declared void
> /usr/include/glib-2.0/glib/gthread.h:247: error: \u2018GStaticMutex\u2019
> was not declared in this scope
> /usr/include/glib-2.0/glib/gthread.h:247: error: \u2018mutex\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gthread.h:266: error: \u2018GStaticMutex\u2019
> does not name a type
> /usr/include/glib-2.0/glib/gthread.h:268: error: \u2018GSystemThread\u2019
> does not name a type
> /usr/include/glib-2.0/glib/gthread.h:285: error: \u2018GStaticMutex\u2019
> does not name a type
> /usr/include/glib-2.0/glib/gthread.h:336: error: expected \u2018,\u2019 or
> \u2018...\u2019 before \u2018*\u2019 token
> /usr/include/glib-2.0/glib/gthread.h:337: error: expected \u2018,\u2019 or
> \u2018...\u2019 before \u2018*\u2019 token
> /usr/include/glib-2.0/glib/gthread.h:338: error: expected \u2018,\u2019 or
> \u2018...\u2019 before \u2018*\u2019 token
> In file included from /usr/include/glib-2.0/glib.h:37,
>                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
>                 from ../main.cpp:1:
> /usr/include/glib-2.0/glib/gbase64.h:32: error: \u2018gsize\u2019 does not
> name a type
> /usr/include/glib-2.0/glib/gbase64.h:38: error: \u2018gsize\u2019 does not
> name a type
> /usr/include/glib-2.0/glib/gbase64.h:43: error: \u2018gsize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gbase64.h:44: error: \u2018gsize\u2019 does not
> name a type
> /usr/include/glib-2.0/glib/gbase64.h:50: error: \u2018gsize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gbase64.h:52: error: \u2018gsize\u2019 has not
> been declared
> In file included from /usr/include/glib-2.0/glib.h:38,
>                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
>                 from ../main.cpp:1:
> /usr/include/glib-2.0/glib/gbookmarkfile.h:48: error: \u2018GQuark\u2019
> does not name a type
> /usr/include/glib-2.0/glib/gbookmarkfile.h:63: error: \u2018gsize\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/gbookmarkfile.h:70: error: \u2018gsize\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/gbookmarkfile.h:97: error: \u2018gsize\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/gbookmarkfile.h:107: error: \u2018gsize\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/gbookmarkfile.h:119: error: \u2018gsize\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/gbookmarkfile.h:172: error: \u2018gsize\u2019 has
> not been declared
> In file included from /usr/include/glib-2.0/glib/gmem.h:34,
>                 from /usr/include/glib-2.0/glib/glist.h:34,
>                 from /usr/include/glib-2.0/glib/gcache.h:34,
>                 from /usr/include/glib-2.0/glib.h:39,
>                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
>                 from ../main.cpp:1:
> /usr/include/glib-2.0/glib/gslice.h:37: error: \u2018gsize\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gslice.h:38: error: \u2018gsize\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gslice.h:39: error: \u2018gsize\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gslice.h:40: error: expected primary-expression
> before \u2018mem_block\u2019
> /usr/include/glib-2.0/glib/gslice.h:40: error: initializer expression list
> treated as compound expression
> /usr/include/glib-2.0/glib/gslice.h:41: error: variable or field
> \u2018g_slice_free1\u2019 declared void
> /usr/include/glib-2.0/glib/gslice.h:41: error: \u2018gsize\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gslice.h:42: error: expected primary-expression
> before \u2018mem_block\u2019
> /usr/include/glib-2.0/glib/gslice.h:43: error: variable or field
> \u2018g_slice_free_chain_with_offset\u2019 declared void
> /usr/include/glib-2.0/glib/gslice.h:43: error: \u2018gsize\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gslice.h:44: error: expected primary-expression
> before \u2018mem_chain\u2019
> /usr/include/glib-2.0/glib/gslice.h:45: error: \u2018gsize\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gslice.h:84: error: \u2018gint64\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gslice.h:85: error: \u2018gint64\u2019 does not
> name a type
> /usr/include/glib-2.0/glib/gslice.h:86: error: expected constructor,
> destructor, or type conversion before \u2018*\u2019 token
> In file included from /usr/include/glib-2.0/glib/glist.h:34,
>                 from /usr/include/glib-2.0/glib/gcache.h:34,
>                 from /usr/include/glib-2.0/glib.h:39,
>                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
>                 from ../main.cpp:1:
> /usr/include/glib-2.0/glib/gmem.h:51: error: \u2018gsize\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gmem.h:52: error: \u2018gsize\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gmem.h:54: error: \u2018gsize\u2019 has not been
> declared
> /usr/include/glib-2.0/glib/gmem.h:56: error: \u2018gsize\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gmem.h:57: error: \u2018gsize\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gmem.h:59: error: \u2018gsize\u2019 has not been
> declared
> /usr/include/glib-2.0/glib/gmem.h:85: error: \u2018gsize\u2019 has not been
> declared
> /usr/include/glib-2.0/glib/gmem.h:87: error: \u2018gsize\u2019 has not been
> declared
> /usr/include/glib-2.0/glib/gmem.h:90: error: \u2018gsize\u2019 has not been
> declared
> /usr/include/glib-2.0/glib/gmem.h:91: error: \u2018gsize\u2019 has not been
> declared
> /usr/include/glib-2.0/glib/gmem.h:92: error: \u2018gsize\u2019 has not been
> declared
> /usr/include/glib-2.0/glib/gmem.h:94: error: \u2018gsize\u2019 has not been
> declared
> /usr/include/glib-2.0/glib/gmem.h:130: error: \u2018gsize\u2019 has not been
> declared
> In file included from /usr/include/glib-2.0/glib.h:40,
>                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
>                 from ../main.cpp:1:
> /usr/include/glib-2.0/glib/gchecksum.h:63: error: \u2018gssize\u2019 does
> not name a type
> /usr/include/glib-2.0/glib/gchecksum.h:71: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gchecksum.h:74: error: \u2018guint8\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gchecksum.h:75: error: \u2018gsize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gchecksum.h:79: error: \u2018gsize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gchecksum.h:82: error: \u2018gssize\u2019 has not
> been declared
> In file included from /usr/include/glib-2.0/glib.h:41,
>                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
>                 from ../main.cpp:1:
> /usr/include/glib-2.0/glib/gcompletion.h:47: error: \u2018gsize\u2019 has
> not been declared
> In file included from /usr/include/glib-2.0/glib.h:42,
>                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
>                 from ../main.cpp:1:
> /usr/include/glib-2.0/glib/gconvert.h:49: error: \u2018GQuark\u2019 does not
> name a type
> /usr/include/glib-2.0/glib/gconvert.h:57: error: \u2018gsize\u2019 does not
> name a type
> /usr/include/glib-2.0/glib/gconvert.h:66: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gconvert.h:69: error: \u2018gsize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gconvert.h:70: error: \u2018gsize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gconvert.h:73: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gconvert.h:75: error: \u2018gsize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gconvert.h:76: error: \u2018gsize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gconvert.h:79: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gconvert.h:83: error: \u2018gsize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gconvert.h:84: error: \u2018gsize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gconvert.h:91: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gconvert.h:92: error: \u2018gsize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gconvert.h:93: error: \u2018gsize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gconvert.h:96: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gconvert.h:97: error: \u2018gsize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gconvert.h:98: error: \u2018gsize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gconvert.h:112: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gconvert.h:113: error: \u2018gsize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gconvert.h:114: error: \u2018gsize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gconvert.h:117: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gconvert.h:118: error: \u2018gsize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gconvert.h:119: error: \u2018gsize\u2019 has not
> been declared
> In file included from /usr/include/glib-2.0/glib.h:43,
>                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
>                 from ../main.cpp:1:
> /usr/include/glib-2.0/glib/gdataset.h:40: error: typedef
> \u2018GDataForeachFunc\u2019 is initialized (use __typeof__ instead)
> /usr/include/glib-2.0/glib/gdataset.h:40: error: \u2018GQuark\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gdataset.h:41: error: expected primary-expression
> before \u2018data\u2019
> /usr/include/glib-2.0/glib/gdataset.h:42: error: expected primary-expression
> before \u2018user_data\u2019
> /usr/include/glib-2.0/glib/gdataset.h:49: error: \u2018GQuark\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gdataset.h:51: error: \u2018GQuark\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gdataset.h:55: error: \u2018GQuark\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gdataset.h:57: error:
> \u2018GDataForeachFunc\u2019 has not been declared
> /usr/include/glib-2.0/glib/gdataset.h:95: error: \u2018GQuark\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gdataset.h:97: error: \u2018GQuark\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gdataset.h:101: error: \u2018GQuark\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gdataset.h:103: error:
> \u2018GDataForeachFunc\u2019 has not been declared
> In file included from /usr/include/glib-2.0/glib.h:44,
>                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
>                 from ../main.cpp:1:
> /usr/include/glib-2.0/glib/gdate.h:50: error: \u2018gint32\u2019 does not
> name a type
> /usr/include/glib-2.0/glib/gdate.h:51: error: \u2018guint16\u2019 does not
> name a type
> /usr/include/glib-2.0/glib/gdate.h:52: error: \u2018guint8\u2019 does not
> name a type
> /usr/include/glib-2.0/glib/gdate.h:123: error: \u2018GDateDay\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gdate.h:124: error: expected primary-expression
> before \u2018month\u2019
> /usr/include/glib-2.0/glib/gdate.h:125: error: \u2018GDateYear\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gdate.h:125: error: initializer expression list
> treated as compound expression
> /usr/include/glib-2.0/glib/gdate.h:126: error: \u2018guint32\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gdate.h:135: error: \u2018GDateDay\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gdate.h:137: error: \u2018GDateYear\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gdate.h:139: error: \u2018guint32\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gdate.h:140: error: \u2018GDateDay\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gdate.h:141: error: expected primary-expression
> before \u2018month\u2019
> /usr/include/glib-2.0/glib/gdate.h:142: error: \u2018GDateYear\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gdate.h:142: error: initializer expression list
> treated as compound expression
> /usr/include/glib-2.0/glib/gdate.h:146: error: \u2018GDateYear\u2019 does
> not name a type
> /usr/include/glib-2.0/glib/gdate.h:147: error: \u2018GDateDay\u2019 does not
> name a type
> /usr/include/glib-2.0/glib/gdate.h:148: error: \u2018guint32\u2019 does not
> name a type
> /usr/include/glib-2.0/glib/gdate.h:179: error: \u2018GTime\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gdate.h:184: error: \u2018GDateDay\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gdate.h:186: error: \u2018GDateYear\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gdate.h:188: error: \u2018GDateDay\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gdate.h:190: error: \u2018GDateYear\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gdate.h:192: error: \u2018guint32\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gdate.h:213: error: \u2018GDateYear\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gdate.h:214: error: \u2018guint8\u2019 does not
> name a type
> /usr/include/glib-2.0/glib/gdate.h:216: error: \u2018guint8\u2019 does not
> name a type
> /usr/include/glib-2.0/glib/gdate.h:217: error: \u2018guint8\u2019 does not
> name a type
> /usr/include/glib-2.0/glib/gdate.h:240: error: \u2018gsize\u2019 does not
> name a type
> In file included from /usr/include/glib-2.0/glib.h:47,
>                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
>                 from ../main.cpp:1:
> /usr/include/glib-2.0/glib/gfileutils.h:76: error: \u2018GQuark\u2019 does
> not name a type
> /usr/include/glib-2.0/glib/gfileutils.h:91: error: \u2018gsize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gfileutils.h:95: error: \u2018gssize\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/gfileutils.h:108: error: \u2018goffset\u2019 was
> not declared in this scope
> In file included from /usr/include/glib-2.0/glib/giochannel.h:35,
>                 from /usr/include/glib-2.0/glib.h:50,
>                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
>                 from ../main.cpp:1:
> /usr/include/glib-2.0/glib/gmain.h:40: error: typedef
> \u2018GChildWatchFunc\u2019 is initialized (use __typeof__ instead)
> /usr/include/glib-2.0/glib/gmain.h:40: error: \u2018GPid\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gmain.h:41: error: expected primary-expression
> before \u2018status\u2019
> /usr/include/glib-2.0/glib/gmain.h:42: error: expected primary-expression
> before \u2018data\u2019
> /usr/include/glib-2.0/glib/gmain.h:223: error: \u2018GPid\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gmain.h:277: error: \u2018GPid\u2019 has not been
> declared
> /usr/include/glib-2.0/glib/gmain.h:278: error: \u2018GChildWatchFunc\u2019
> has not been declared
> /usr/include/glib-2.0/glib/gmain.h:281: error: \u2018GPid\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gmain.h:282: error: \u2018GChildWatchFunc\u2019
> was not declared in this scope
> /usr/include/glib-2.0/glib/gmain.h:283: error: expected primary-expression
> before \u2018data\u2019
> /usr/include/glib-2.0/glib/gmain.h:283: error: initializer expression list
> treated as compound expression
> In file included from /usr/include/glib-2.0/glib/gstring.h:35,
>                 from /usr/include/glib-2.0/glib/giochannel.h:36,
>                 from /usr/include/glib-2.0/glib.h:50,
>                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
>                 from ../main.cpp:1:
> /usr/include/glib-2.0/glib/gunicode.h:34: error: \u2018guint32\u2019 does
> not name a type
> /usr/include/glib-2.0/glib/gunicode.h:35: error: \u2018guint16\u2019 does
> not name a type
> /usr/include/glib-2.0/glib/gunicode.h:220: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:221: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:222: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:223: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:224: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:225: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:226: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:227: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:228: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:229: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:230: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:231: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:232: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:233: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:234: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:235: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:236: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:240: error: \u2018gunichar\u2019 does
> not name a type
> /usr/include/glib-2.0/glib/gunicode.h:241: error: \u2018gunichar\u2019 does
> not name a type
> /usr/include/glib-2.0/glib/gunicode.h:242: error: \u2018gunichar\u2019 does
> not name a type
> /usr/include/glib-2.0/glib/gunicode.h:246: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:248: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:251: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:254: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:257: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:263: error: variable or field
> \u2018g_unicode_canonical_ordering\u2019 declared void
> /usr/include/glib-2.0/glib/gunicode.h:263: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:263: error: \u2018string\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:264: error: \u2018gsize\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:269: error: expected constructor,
> destructor, or type conversion before \u2018*\u2019 token
> /usr/include/glib-2.0/glib/gunicode.h:278: error: \u2018gunichar\u2019 does
> not name a type
> /usr/include/glib-2.0/glib/gunicode.h:279: error: \u2018gunichar\u2019 does
> not name a type
> /usr/include/glib-2.0/glib/gunicode.h:293: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gunicode.h:298: error: \u2018gsize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gunicode.h:303: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gunicode.h:304: error: \u2018gunichar\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/gunicode.h:306: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gunicode.h:307: error: \u2018gunichar\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/gunicode.h:309: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gunicode.h:311: error: expected constructor,
> destructor, or type conversion before \u2018*\u2019 token
> /usr/include/glib-2.0/glib/gunicode.h:316: error: expected constructor,
> destructor, or type conversion before \u2018*\u2019 token
> /usr/include/glib-2.0/glib/gunicode.h:321: error: expected constructor,
> destructor, or type conversion before \u2018*\u2019 token
> /usr/include/glib-2.0/glib/gunicode.h:324: error: expected constructor,
> destructor, or type conversion before \u2018*\u2019 token
> /usr/include/glib-2.0/glib/gunicode.h:329: error: expected \u2018,\u2019 or
> \u2018...\u2019 before \u2018*\u2019 token
> /usr/include/glib-2.0/glib/gunicode.h:334: error: expected constructor,
> destructor, or type conversion before \u2018*\u2019 token
> /usr/include/glib-2.0/glib/gunicode.h:339: error: expected \u2018,\u2019 or
> \u2018...\u2019 before \u2018*\u2019 token
> /usr/include/glib-2.0/glib/gunicode.h:349: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:350: error: expected
> primary-expression before \u2018*\u2019 token
> /usr/include/glib-2.0/glib/gunicode.h:350: error: \u2018outbuf\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:350: error: initializer expression
> list treated as compound expression
> /usr/include/glib-2.0/glib/gunicode.h:357: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gunicode.h:361: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:364: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gunicode.h:366: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gunicode.h:368: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gunicode.h:382: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gunicode.h:388: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gunicode.h:390: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gunicode.h:392: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:393: error: \u2018gunichar\u2019 was
> not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:393: error: \u2018mirrored_ch\u2019
> was not declared in this scope
> /usr/include/glib-2.0/glib/gunicode.h:393: error: initializer expression
> list treated as compound expression
> /usr/include/glib-2.0/glib/gunicode.h:395: error: \u2018gunichar\u2019 was
> not declared in this scope
> In file included from /usr/include/glib-2.0/glib/giochannel.h:36,
>                 from /usr/include/glib-2.0/glib.h:50,
>                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
>                 from ../main.cpp:1:
> /usr/include/glib-2.0/glib/gstring.h:46: error: \u2018gsize\u2019 does not
> name a type
> /usr/include/glib-2.0/glib/gstring.h:47: error: \u2018gsize\u2019 does not
> name a type
> /usr/include/glib-2.0/glib/gstring.h:52: error: \u2018gsize\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gstring.h:59: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gstring.h:68: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gstring.h:69: error: \u2018gsize\u2019 was not
> declared in this scope
> /usr/include/glib-2.0/glib/gstring.h:78: error: \u2018gsize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gstring.h:80: error: \u2018gsize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gstring.h:82: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gstring.h:84: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gstring.h:89: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gstring.h:93: error: \u2018gunichar\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gstring.h:99: error: \u2018gunichar\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gstring.h:102: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gstring.h:104: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gstring.h:107: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gstring.h:110: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gstring.h:111: error: \u2018gunichar\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/gstring.h:113: error: \u2018gsize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gstring.h:116: error: \u2018gsize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gstring.h:118: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gstring.h:120: error: \u2018gssize\u2019 has not
> been declared
> /usr/include/glib-2.0/glib/gstring.h:121: error: \u2018gssize\u2019 has not
> been declared
> In file included from /usr/include/glib-2.0/glib.h:50,
>                 from /usr/include/gstreamer-0.10/gst/gst.h:27,
>                 from ../main.cpp:1:
> /usr/include/glib-2.0/glib/giochannel.h:88: error: expected `}' before
> \u2018GLIB_SYSDEF_POLLIN\u2019
> /usr/include/glib-2.0/glib/giochannel.h:89: error: expected initializer
> before \u2018GLIB_SYSDEF_POLLOUT\u2019
> /usr/include/glib-2.0/glib/giochannel.h:94: error: expected constructor,
> destructor, or type conversion before \u2018;\u2019 token
> /usr/include/glib-2.0/glib/giochannel.h:120: error: \u2018gsize\u2019 does
> not name a type
> /usr/include/glib-2.0/glib/giochannel.h:140: error: \u2018GIOCondition\u2019
> has not been declared
> /usr/include/glib-2.0/glib/giochannel.h:146: error: \u2018gsize\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/giochannel.h:147: error: \u2018gsize\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/giochannel.h:151: error: \u2018gsize\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/giochannel.h:152: error: \u2018gsize\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/giochannel.h:155: error: \u2018gint64\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/giochannel.h:161: error: \u2018GIOCondition\u2019
> has not been declared
> /usr/include/glib-2.0/glib/giochannel.h:176: error: \u2018gsize\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/giochannel.h:177: error: \u2018gsize\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/giochannel.h:180: error: \u2018gsize\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/giochannel.h:181: error: \u2018gsize\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/giochannel.h:183: error: \u2018gint64\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/giochannel.h:193: error: \u2018GIOCondition\u2019
> has not been declared
> /usr/include/glib-2.0/glib/giochannel.h:198: error: \u2018GIOCondition\u2019
> has not been declared
> /usr/include/glib-2.0/glib/giochannel.h:200: error: \u2018GIOCondition\u2019
> has not been declared
> /usr/include/glib-2.0/glib/giochannel.h:208: error: \u2018gsize\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/giochannel.h:209: error: \u2018gsize\u2019 does
> not name a type
> /usr/include/glib-2.0/glib/giochannel.h:210: error: \u2018GIOCondition\u2019
> does not name a type
> /usr/include/glib-2.0/glib/giochannel.h:236: error: \u2018gsize\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/giochannel.h:237: error: \u2018gsize\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/giochannel.h:241: error: \u2018gsize\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/giochannel.h:245: error: \u2018gsize\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/giochannel.h:249: error: \u2018gsize\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/giochannel.h:250: error: \u2018gsize\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/giochannel.h:253: error: \u2018gunichar\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/giochannel.h:257: error: \u2018gssize\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/giochannel.h:258: error: \u2018gsize\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/giochannel.h:261: error: \u2018gunichar\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/giochannel.h:264: error: \u2018gint64\u2019 has
> not been declared
> /usr/include/glib-2.0/glib/giochannel.h:277: error: \u2018GQuark\u2019 does
> not name a type
> /usr/include/glib-2.0/glib/giochannel.h:364: error: expected declaration
> before \u2018}\u2019 token
> make: *** [main.o] Error 1
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-And-Eclipse-tp2401173p2401173.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer And Eclipse

Tim-Philipp Müller-2
In reply to this post by frknml
On Tue, 2010-08-31 at 00:38 -0700, frknml wrote:

> I have created a c++ project in my eclipse,and gstreamer-0.10 folder in my
> /usr/include directory.
>
> I'm only trying to include <gstreamer-0.10/gst/gst.h> library but it gives
> hundreds of errors :)

That's not going to work, and not how it's supposed to work.

You need to get the include paths to pass to the compiler using

 pkg-config --cflags gstreamer-0.10

and then

 #include <gst/gst.h>

How this has to be done exactly in Eclipse I don't know, but pkg-config
is a pretty standard tool on linux so I'm sure there's a solution for
this.

(The reason this doesn't work is that there are includes in other
directories as well - glib for example may have platform-specific
headers in /usr/lib/glib-2.0/include that are needed).

Cheers
 -Tim


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer And Eclipse

Michael Joachimiak
You shoul be able to setup additional include directories in Project properties -> C/C++ Build -> Settings -> Tool settings tab ->directories.
Libraries you can add at the same tab but look to the cross g++ linker -> libraries. On the right you'll have libraries (-l) and library search path. Put there what pkg-config gives you for the library you need.

2010/9/3 Tim-Philipp Müller <[hidden email]>
On Tue, 2010-08-31 at 00:38 -0700, frknml wrote:

> I have created a c++ project in my eclipse,and gstreamer-0.10 folder in my
> /usr/include directory.
>
> I'm only trying to include <gstreamer-0.10/gst/gst.h> library but it gives
> hundreds of errors :)

That's not going to work, and not how it's supposed to work.

You need to get the include paths to pass to the compiler using

 pkg-config --cflags gstreamer-0.10

and then

 #include <gst/gst.h>

How this has to be done exactly in Eclipse I don't know, but pkg-config
is a pretty standard tool on linux so I'm sure there's a solution for
this.

(The reason this doesn't work is that there are includes in other
directories as well - glib for example may have platform-specific
headers in /usr/lib/glib-2.0/include that are needed).

Cheers
 -Tim


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



--
Your Sincerely
Michael Joachimiak

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel