干杯!
我正在尝试使用 Visual Studio 2010 打开新项目,我想使用的版本是 1.0。
所以,这些是我曾经这样做的步骤:
1. installed windows DDK 7.1.0
2. opened (I tried regular and gstreamer SDK) new project with VS-2010
3. added x86.props (from C:\gstreamer\1.0\x86\share\vs\2010\msvc)
4. added gstreamer-1.0.props (from C:\gstreamer\1.0\x86\share\vs\2010\libs)
5. changed the working directory to "C:\gstreamer\1.0\x86\bin"
6. copied the basic code (Hello World) from here- [Hello World][1]
我做了完全相同的事情,但是使用 0.10(并且它有效),现在使用 1.0,当我构建代码时,我得到了错误:
错误 1 错误 LNK1104:无法打开文件 'gstreamer-1.0.lib'
在我将“gstreamer-1.0.lib”(来自 C:\gstreamer\1.0\x86\lib)添加到“附加库目录”之后
我得到了错误:
错误 1 错误 LNK1104:无法打开文件“msvcrt_winxp.obj”
对于启动新 gstreamer 项目的一些指导,我会很高兴。
谢谢!