compilation errors on GstMapInfo

somanath sahoo somanath.sahoo at outlook.com
Fri Sep 21 00:57:20 PDT 2012


Hi,

As newbie to Gstreamer app development, while i was going through gstreamer app dev manual (0.11.91.1) chapter 18(pipeline manipulation), i tried to build the example under section 18.1 in ubuntu 12.04 with all gstreamer libs installed. I am facing compilation errors on GstMapInfo as unknown type. 

I have pasted the log below - 

somanath at somanath:~/som_streaming/som_gst_example$ gcc test-buffer-pad.c -o test-buffer-pad `pkg-config --cflags --libs gstreamer-0.10`

test-buffer-pad.c: In function ‘cb_have_data’:
test-buffer-pad.c:6:2: error: unknown type name ‘GstMapInfo’
test-buffer-pad.c:9:33: error: ‘GST_MAP_WRITE’ undeclared (first use in this function)
test-buffer-pad.c:9:33: note: each undeclared identifier is reported only once for each function it appears in
test-buffer-pad.c:11:12: error: request for member ‘data’ in something not a structure or union
--------
I have included gst/gst.h as per example. I have googled a lot on this error. But i am little unclear about the root cause.

Could any one please let me know some pointers about this above error so that i can able to resolve this ?

Thanks.

Regards,
Somanath
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120921/d9b5e9ad/attachment.html>


More information about the gstreamer-devel mailing list