试图建立gstreamer sharp,在'make'-command上返回错误

时间:2015-01-11 19:43:54

标签: c# ubuntu mono gstreamer

我正在尝试构建gstreamer sharp,以便我可以在monodevelop中使用它。我遵循github页面上提供的(简单)指令,但它在make-command上给出了错误。

这是github项目和说明:https://github.com/xDarkice/gstreamer-sharp

这是终端的输出:

Making all in sources
make[1]: Entering directory `/home/magnus/Downloads/GStreamer/gstreamer-sharp-master/sources'
/usr/bin/gmcs -nowarn:169 -unsafe -target:library -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/glib-sharp.dll   \
        AssemblyInfo.cs custom/*.cs  generated/*.cs -out:../out/gstreamer-sharp.dll
AssemblyInfo.cs(25,12): warning CS1699: Use compiler option `keyfile' or appropriate project settings instead of `AssemblyKeyFile' attribute
custom/Caps.cs(31,10): error CS0246: The type or namespace name `Structure' could not be found. Are you missing an assembly reference?
custom/FFTF32.cs(33,139): error CS0246: The type or namespace name `FFTF32Complex' could not be found. Are you missing an assembly reference?
custom/FFTF32.cs(35,45): error CS0234: The type or namespace name `FFTF32Complex' does not exist in the namespace `Gst.FFT'. Are you missing an assembly reference?
custom/FFTF32.cs(42,48): error CS0234: The type or namespace name `FFTWindow' does not exist in the namespace `Gst.FFT'. Are you missing an assembly reference?
custom/Iterator.cs(40,14): error CS0234: The type or namespace name `IteratorResult' does not exist in the namespace `Gst'. Are you missing an assembly reference?
custom/NavigationQuery.cs(23,41): error CS0234: The type or namespace name `Query' does not exist in the namespace `Gst'. Are you missing an assembly reference?
custom/NavigationQuery.cs(23,58): error CS0246: The type or namespace name `NavigationCommand' could not be found. Are you missing an assembly reference?
custom/TagList.cs(55,24): error CS0234: The type or namespace name `TagMergeMode' does not exist in the namespace `Gst'. Are you missing an assembly reference?
custom/Value.cs(456,10): error CS0104: `DateTime' is an ambiguous reference between `System.DateTime' and `GLib.DateTime'
/usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to previous error)
/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/glib-sharp.dll (Location of the symbol related to previous error)
custom/Value.cs(476,16): error CS0104: `DateTime' is an ambiguous reference between `System.DateTime' and `GLib.DateTime'
/usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to previous error)
/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/glib-sharp.dll (Location of the symbol related to previous error)
Compilation failed: 10 error(s), 1 warnings
make[1]: *** [../out/gstreamer-sharp.dll] Error 1
make[1]: Leaving directory `/home/magnus/Downloads/GStreamer/gstreamer-sharp-master/sources'
make: *** [all-recursive] Error 1

任何人都知道什么是错的?

1 个答案:

答案 0 :(得分:1)

您使用的是错误的存储库。 gstreamer-sharp在http://cgit.freedesktop.org/gstreamer/gstreamer-sharp

的github上用镜子移动到https://github.com/gstreamer-sharp/gstreamer-sharp