I am having trouble installing OpenCV on my machine. I run Ubuntu 12.04.
I have followed this guide: http://www.raben.com/book/export/html/3 in order to install OpenCV 2.4.3 on my linux machine. However, when I execute the
make
command, "making" stops at 14%, returns the following error
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
and then terminates. I have also installed all the required dependencies.
Thanks