[Gtk-sharp-list] Trying to get gst# working
Philip Van Hoof
me@freax.org
08 Mar 2003 21:47:06 +0100
First I fixed a tiny problem in the gst/generated/Event.cs file, then I
compiled gst# which worked with a few warnings :
[freax@pluisje gst]$ make
mcs --unsafe --target library -L ../glib -r glib-sharp.dll -o
gst-sharp.dll --recurse '*.cs'
./generated/Object.cs(147) warning CS0114: `Gst.Object.Unref' hides
inherited member `Object.Unref'. To make the current member override
that implementation, add the override keyword, otherwise use the new
keyword
./generated/Element.cs(322) warning CS0108: The keyword new is required
on `Gst.Element.SetProperty' because it hides inherited member
`Object.SetProperty'
./generated/Element.cs(404) warning CS0108: The keyword new is required
on `Gst.Element.GetProperty' because it hides inherited member
`Object.GetProperty'
./generated/RealPad.cs(30) warning CS0108: The keyword new is required
on `Gst.RealPad.Active' because it hides inherited member `Pad.Active'
Compilation succeeded - 4 warning(s)
[freax@pluisje gst]$
Then, of course, I did a make install, exit and went to the sample
directory.
I compiled the GstSample.cs file using :
mcs GstPlayer.cs -r ../gst/gst-sharp.dll -r glib-sharp
Which worked ..
Then I started it and it claimed that it did not find a libgstreamer.so
file so I made a link from my libgstreamer-0.7.so.7 to libgstreamer.so :
[root@pluisje sample]# ln -s /usr/lib/libgstreamer-0.7.so
/usr/lib/libgstreamer.so
But ...
[root@pluisje sample]# exit
exit
[freax@pluisje sample]$ mono GstPlayer.exe
** (GstPlayer.exe:30005): WARNING **: Failed to load function
gst_element_connect_filtered from gstreamer
** (GstPlayer.exe:30005): WARNING **: Failed to load function
gst_element_connect_filtered from gstreamer
** (GstPlayer.exe:30005): WARNING **: Failed to load function
gst_element_connect from gstreamer
** (GstPlayer.exe:30005): WARNING **: Failed to load function
gst_element_connect from gstreamer
** (GstPlayer.exe:30005): WARNING **: Failed to load function
gst_element_disconnect from gstreamer
** (GstPlayer.exe:30005): WARNING **: Failed to load function
gst_element_disconnect from gstreamer
** (GstPlayer.exe:30005): WARNING **: Failed to load function
gst_element_default_deep_notify from gstreamer
** (GstPlayer.exe:30005): WARNING **: Failed to load function
gst_element_default_deep_notify from gstreamer
** (GstPlayer.exe:30005): WARNING **: Failed to load function
gst_element_connect_pads_filtered from gstreamer
** (GstPlayer.exe:30005): WARNING **: Failed to load function
gst_element_connect_pads_filtered from gstreamer
** (GstPlayer.exe:30005): WARNING **: Failed to load function
gst_element_get_parent from gstreamer
** (GstPlayer.exe:30005): WARNING **: Failed to load function
gst_element_get_parent from gstreamer
** (GstPlayer.exe:30005): WARNING **: Failed to load function
gst_element_set_parent from gstreamer
** (GstPlayer.exe:30005): WARNING **: Failed to load function
gst_element_set_parent from gstreamer
** (GstPlayer.exe:30005): WARNING **: Failed to load function
gst_element_connect_pads from gstreamer
** (GstPlayer.exe:30005): WARNING **: Failed to load function
gst_element_connect_pads from gstreamer
** (GstPlayer.exe:30005): WARNING **: Failed to load function
gst_element_disconnect_pads from gstreamer
** (GstPlayer.exe:30005): WARNING **: Failed to load function
gst_element_disconnect_pads from gstreamer
INFO (30005: 0) Initializing GStreamer Core Library version 0.7.0.1
INFO (30005: 0) CPU features: (0c040882) MMX SSE
INFO (30005: 0) registry: loaded user_registry in 0.000294 seconds
(/home/freax/.gstreamer/registry.xml)
INFO (30005: 0) registry: loaded global_registry in 0.318425 seconds
(/usr/var/cache/gstreamer-0.7/registry.xml)
Unhandled Exception: System.IndexOutOfRangeException: Array index is out
of range
in <0x0008e> 00 .GstTest:Main (string[])
[freax@pluisje sample]$
So my question, Are there people working on the Gstreamer binding ?!
--
Philip Van Hoof a.k.a. freax
me at freax dot org -- only use this E-mail adres for replies
http://www.freax.be -- http://www.freax.eu.org -- http://www.freax.org