bol*_*ano 2 opencv 12.04 make cmake
我在我的机器上安装 OpenCV 时遇到问题。我运行 Ubuntu 12.04。
我遵循了本指南:http : //www.raben.com/book/export/html/3,以便在我的 linux 机器上安装 OpenCV 2.4.3。但是,当我执行
make
Run Code Online (Sandbox Code Playgroud)
命令,“制作”在14%处停止,返回以下错误
13%] Built target opencv_imgproc
[ 13%] Generating qrc_window_QT.cxx
[ 14%] Generating src/moc_window_QT.cxx
moc: Cannot open options file specified with @
Usage: moc [options] <header-file>
-o<file> write output to file rather than stdout
-I<dir> add dir to the include path for header files
-E preprocess only; do not generate meta object code
-D<macro>[=<def>] define macro, with optional definition
-U<macro> undefine macro
-i do not generate an #include statement
-p<path> path prefix for included file
-f[<file>] force #include, optional file name
-nn do not display notes
-nw do not display warnings
@<file> read additional options from file
-v display version of moc
make[2]: *** [modules/highgui/src/moc_window_QT.cxx] Error 1
make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
make: *** [all] Error 2
Run Code Online (Sandbox Code Playgroud)
然后终止。我还安装了所有必需的依赖项。
谢谢