Я испытываю затруднения при установке OpenCV на моей машине. Я запускаю Ubuntu 12.04.
Я следовал этому руководству: http://www.raben.com/book/export/html/3 для установки OpenCV 2.4.3 на моей машине Linux. Однако, когда я выполняюсь
make
команда, "делая" остановки в 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
и затем завершается. Я также установил все необходимые зависимости.
Спасибо
Вы выделяли символы в имени вашего рабочего каталога? (см. https://bugreports.qt-project.org/browse/QTBUG-35480 )
.Если в имени пути к исходным файлам есть акцентированный символ, вы можете получить эту ошибку. Переместите исходный каталог в каталог, чтобы в имени пути не было символов с ударением. Затем перезапустите сборник.