【问题标题】:error with creating framework创建框架时出错
【发布时间】:2013-02-07 18:43:46
【问题描述】:

我尝试按照instruction在macbook pro上安装opencv

我在构建 OpenCV 框架时遇到问题。当我输入 $ python opencv/ios/build_framework.py iOS 我遇到了这个问题:

CMake Error: Internal CMake error, TryCompile configure of cmake failed -- Looking for linux/videodev.h - not found
-- Looking for linux/videodev2.h CMake Error at /opt/local/share/cmake-2.8/Modules/CMakeCInformation.cmake:37
Configuring incomplete, errors occurred!
error: can't exec '/Developer/usr/bin/xcodebuild' (No such file or directory)

我检查了 Developer/usr/bin/xcodebuild。我有这个文件夹。但我需要在前面不输入“/”。这里有什么问题?

【问题讨论】:

    标签: ios opencv terminal xcode4.2


    【解决方案1】:

    你需要安装cmake

    然后再次运行

    http://www.cmake.org/cmake/help/install.html

    【讨论】:

    • 也许更多解释会有所帮助?
    猜你喜欢
    • 2013-12-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-02-10
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多