Le lundi 28 mai 2012 23:08:20 Jesus a écrit :
>
> Mmm... I should figured it out! Adding
> "libgstreamer-plugins-base0.10-dev" does the trick for configuring,
> however now I got an error when compiling:
>
>
> make[4]: se ingresa al directorio `/home/jesus/trunk/gb.media/src'
> /bin/bash ../libtool  --tag�   --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I..  -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2    -pipe -Wall
> -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os  -MT
> gb_media_la-main.lo -MD -MP -MF .deps/gb_media_la-main.Tpo -c -o
> gb_media_la-main.lo `test -f 'main.c' || echo './'`main.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pthread
> -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall
> -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT
> gb_media_la-main.lo -MD -MP -MF .deps/gb_media_la-main.Tpo -c main.c
> -fPIC -DPIC -o .libs/gb_media_la-main.o
> mv -f .deps/gb_media_la-main.Tpo .deps/gb_media_la-main.Plo
> /bin/bash ../libtool  --tag�   --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I..  -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2    -pipe -Wall
> -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os  -MT
> gb_media_la-c_media.lo -MD -MP -MF .deps/gb_media_la-c_media.Tpo -c -o
> gb_media_la-c_media.lo `test -f 'c_media.c' || echo './'`c_media.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pthread
> -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall
> -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT
> gb_media_la-c_media.lo -MD -MP -MF .deps/gb_media_la-c_media.Tpo -c
> c_media.c  -fPIC -DPIC -o .libs/gb_media_la-c_media.o
> c_media.c: In function ‘to_gambas_type’:
> c_media.c:82: warning: implicit declaration of function
> ‘GST_VALUE_HOLDS_DATE_TIME’
> c_media.c: In function ‘to_gambas_value’:
> c_media.c:151: error: ‘GstDateTime’ undeclared (first use in this function)
> c_media.c:151: error: (Each undeclared identifier is reported only once
> c_media.c:151: error: for each function it appears in.)
> c_media.c:151: error: ‘date’ undeclared (first use in this function)
> c_media.c:151: error: expected expression before ‘)’ token
> c_media.c:154: warning: implicit declaration of function
> ‘gst_date_time_get_year’
> c_media.c:155: warning: implicit declaration of function
> ‘gst_date_time_get_month’
> c_media.c:156: warning: implicit declaration of function
> ‘gst_date_time_get_day’
> c_media.c:157: warning: implicit declaration of function
> ‘gst_date_time_get_hour’
> c_media.c:158: warning: implicit declaration of function
> ‘gst_date_time_get_minute’
> c_media.c:159: warning: implicit declaration of function
> ‘gst_date_time_get_second’
> c_media.c:160: warning: implicit declaration of function
> ‘gst_date_time_get_microsecond’
> c_media.c:161: warning: implicit declaration of function
> ‘gst_date_time_get_time_zone_offset’
> c_media.c: In function ‘MediaControl_get’:
> c_media.c:533: error: ‘G_VALUE_INIT’ undeclared (first use in this function)
> c_media.c: In function ‘MediaControl_put’:
> c_media.c:551: error: ‘G_VALUE_INIT’ undeclared (first use in this function)
> c_media.c: In function ‘MediaControl_SetWindow’:
> c_media.c:733: warning: implicit declaration of function
> ‘gst_x_overlay_set_window_handle’
> c_media.c: In function ‘cb_message’:
> c_media.c:911: warning: implicit declaration of function
> ‘gst_tag_list_to_string’
> c_media.c:911: warning: assignment makes pointer from integer without a cast
> c_media.c:929: error: ‘GST_MESSAGE_PROGRESS’ undeclared (first use in this
> function)
> make[4]: *** [gb_media_la-c_media.lo] Error 1
> make[4]: se sale del directorio `/home/jesus/trunk/gb.media/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: se sale del directorio `/home/jesus/trunk/gb.media'
> make[2]: *** [all] Error 2
> make[2]: se sale del directorio `/home/jesus/trunk/gb.media'
> make[1]: *** [all-recursive] Error 1
> make[1]: se sale del directorio `/home/jesus/trunk'
> make: *** [all] Error 2
>
>
> Perhaps I might go to sleep now... today has been a hard day at work.
>
> Thanks for your help, guys

What is the output of:

pkg-config --modversion gstreamer-0.10 gstreamer-interfaces-0.10

?

++

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to