linux - Gstreamer-sharp,构建 libgstreamersharpglue.so

标签 linux makefile shared-libraries gstreamer

我尝试使用 gstreamer-sharp 为 Linux 构建 libgstreamersharpglue-1.0.0.so .

我使用 ./autogen.sh --prefix=/usr && make install 下载并安装了它。之后我去了 /gstreamer-sharp-master/sources/glue/ 并尝试使用 make 构建胶水,但它只构建了 libgstreamersharpglue-1.0.0 .la。那么我如何使用这个适用于 Linux 的粘合源构建 libgstreamersharpglue.so(共享库)?或者如何获取 libgstreamersharpglue.so

最佳答案

libgstreamersharpglue-1.0.0.so 应该在 gstreamer-sharp 安装后自动添加到 /usr/lib 目录中,但由于我跳过了所有建筑物./Playback.cs(31,24): error CS0117: 'Gst.Parse' 不包含 'Launch' 的定义 它尚未构建并添加到 /usr/lib

解决方案:

我在 Makefile.amconfigure.ac 中删除了所有关于 samples 的提及。之后我执行 ./autogen.sh --prefix=/usr && make install。现在 libgstreamersharpglue-1.0.0.so 存在于 /usr/lib 中。

关于linux - Gstreamer-sharp,构建 libgstreamersharpglue.so,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35144114/

相关文章:

C++ 共享库显示内部符号

linux - 从 tomcat 日志中提取 ORACLE 错误列表

c - GCC -c 选项的 CMake 等价物是什么?

c++ - 如果链接到未使用的库,可执行文件的构建是否不同?

c - 使用 Makefile 创建库文件的正确方法是什么? [C]

c++ - Makefile 头目录错误

c++ - 在 Qt 中使用第三方 dll(没有可用的 .lib 文件)

linux - 树莓派 : wifi plus ethernet static IPs

linux - Netplan 监听一系列 IP 地址

c - cat 命令中的 "-u"选项有什么用?