【问题标题】:Building Hello World Gstreamer 1.2.3 Application in Visual Studio 2012在 Visual Studio 2012 中构建 Hello World Gstreamer 1.2.3 应用程序
【发布时间】:2015-03-25 14:02:20
【问题描述】:

我从 http://gstreamer.freedesktop.org/data/pkg/windows/ 下载并安装了 Gstreamer 1.2.3,在 Visual Studio 2012 上创建了新项目,并从 http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-helloworld.html#section-helloworld 添加了 hello world 代码。 但是我无法构建此应用程序,因为我不知道如何将 Gstreamer 框架依赖项添加到我的 Visual Studio 解决方案中。我尝试了 Gstreamer 0.1 Visual Studio 教程http://docs.gstreamer.com/display/GstSDK/Installing+on+Windows,它适用于 0.1 版本并且它是基本项目,但是我无法在 1.2.3 版本上采取类似步骤,因为这个新版本的 gstreamer 具有不同的文件组织,我只是可以'找不到相同的文件。 如何设置可以让我构建 gstreamer 项目的 Visual Studio 环境?

【问题讨论】:

    标签: c visual-studio-2012 gstreamer


    【解决方案1】:

    看来我必须从 http://gstreamer.freedesktop.org/data/pkg/windows/1.2.3/ 下载并安装 gstreamer-1.0-devel-x86-1.2.3.msi 和 gstreamer-1.0-x86-1.2.3.msi。 配置过程类似于0.1版本的配置过程。哦对了,在Visual Studio中“properties->configuration properties->debugging”工作目录需要设置为$(GSTREAMER_1_0_ROOT_X86)\bin

    【讨论】:

    • 你在哪里验证 GSTREAMER_1_0_ROOT_X86 是默认设置的?
    • @YumYumYum GSTREAMER_1_0_ROOT_X86 是环境变量。其他 Gstreamer 版本可能有不同的环境变量。
    猜你喜欢
    • 2020-05-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-04-25
    • 1970-01-01
    • 1970-01-01
    • 2017-11-14
    • 1970-01-01
    相关资源
    最近更新 更多