Help analyze 'make' error in opencv-contrib3

asked 2016-04-29 22:19:38 -0500

skypickle gravatar image

OS X 10.9.5 Mavericks python 2.7.11 homebrew installation opencv 3.1.0, opencv contrib3 cmake 2.5.2

build with

cmake -D CMAKE_BUILD_TYPE=RELEASE -D BUILD_OPENCV_PYTHON2=ON \
    -D WITH_FFMPEG=OFF  -D WITH_QT=OFF \
    -D WITH_CUDA=OFF -D CMAKE_INSTALL_PREFIX=/Users/stefan/Downloads/opencv-3.1.0dl/build \
    -D PYTHON2_LIBRARIES=/usr/local/Cellar/python/2.7.10/Frameworks/Python.framework/Versions/2.7/bin \
    -D PYTHON2_PACKAGES_PATH=~/.virtualenvs/cv/lib/python2.7/site-packages \
    -D PYTHON2_NUMPY_INCLUDE_DIRS=~/.virtualenvs/cv/lib/python2.7/site-packages/numpy/core/include \
    -D PYTHON2_INCLUDE_DIR=/usr/local/Frameworks/Python.framework/Headers \
    -D INSTALL_PYTHON_EXAMPLES=ON\
    -D BUILD_EXAMPLES=ON  \
    -D OPENCV_EXTRA_MODULES_PATH=~/Downloads/opencv_contrib-3.0.0/modules ..

make results in 46% build with error /opencv_contrib-3.0.0/modules/optflow/src/motempl.cpp:215:9: error: use of undeclared identifier 'hal' hal::fastAtan2(dY_max_row, dX_min_row, orient_row, size.width, true);

Does anyone have insight on how to proceed?

edit retag flag offensive close merge delete

Comments

there were recent changes wrt. the hal code, please try to update both opencv & opencv contrib to latest master (not 3.0.0 or such)

berak gravatar imageberak ( 2016-04-30 00:13:03 -0500 )edit