我已经尝试了一段时间在我的11.10上安装openFrameworks。对于熟悉openFrameworks的人,提供了一个名为install_dependencies.sh的脚本,它应该安装openFrameworks所需的所有依赖项。在将我的操作系统更新为11.10之后运行脚本时,脚本最终会停止,这是它输出的最后一行:
Package gstreamer-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.10' found
compiling object for ../../../openFrameworks/video/ofVideoPlayer.cpp
mkdir -p obj/Debug/openFrameworks/video
g++ -g3 -Wall -fexceptions -I../../../FreeImage/include -I../../../assimp/include - I../../../assimp/include/Compiler -I../../../cairo/include -I../../../cairo/include/libpng15 -I../../../cairo/include/pixman-1 -I../../../cairo/include/cairo -I../../../fmodex/include -I../../../freetype/include -I../../../freetype/include/freetype2 -I../../../freetype/include/freetype2/freetype -I../../../freetype/include/freetype2/freetype/config -I../../../freetype/include/freetype2/freetype/internal -I../../../freetype/include/freetype2/freetype/internal/services -I../../../glew/include -I../../../glew/include/GL -I../../../kiss/include -I../../../portaudio/include -I../../../rtAudio/include -I../../../tess2/include -I../../../poco/include -I../../../glu/include -I../../../openFrameworks/ -I../../../openFrameworks/events -I../../../openFrameworks/video -I../../../openFrameworks/3d -I../../../openFrameworks/sound -I../../../openFrameworks/utils -I../../../openFrameworks/types -I../../../openFrameworks/math -I../../../openFrameworks/communication -I../../../openFrameworks/app -I../../../openFrameworks/gl -I../../../openFrameworks/graphics -MMD -MP - MFobj/Debug/openFrameworks/video/ofVideoPlayer.d - MTobj/Debug/openFrameworks/video/ofVideoPlayer.d -o obj/Debug/openFrameworks/video/ofVideoPlayer.o -c ../../../openFrameworks/video/ofVideoPlayer.cpp
In file included from ../../../openFrameworks/video/ofGstVideoPlayer.h:3:0,
from ../../../openFrameworks/video/ofVideoPlayer.h:9,
from ../../../openFrameworks/video/ofVideoPlayer.cpp:1:
../../../openFrameworks/video/ofGstUtils.h:5:21: fatal error: gst/gst.h: No such file or directory
compilation terminated.
make: *** [obj/Debug/openFrameworks/video/ofVideoPlayer.o] Error 1
there has been a problem compiling Debug OF library
please report this problem in the forums我已经安装了gstreamer-0.10,我已经尝试了从有类似问题的人那里找到的所有东西,但是我还没有能够完成这个脚本。
有人有什么建议吗?
发布于 2012-01-05 04:14:42
对于用户构建来说,for中的脚本有一点缺陷&除非从根终端运行,否则不会运行前2行。
它们应该或者您可以编辑脚本&将sudo添加到前2行的开头,如-
sudo apt-get update
sudo apt-get install 'blah blah'然后您可以从正常的用户终端提示符中运行。
另外,虽然libjack 0/libjack-dev或libjack-jack2 2-0/libjack-jack2 2-dev仍然可以使用,但它们/您应该将dep切换到后者,后者更适合当前。
https://askubuntu.com/questions/71746
复制相似问题