我尝试按照此说明在 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。我有这个文件夹。但我需要在前面不输入“/”。这里有什么问题?