Problem:
I am installing OpenCV 3.1.0 with CUDA support in ubuntu 16.04 and for that I chose defined by myself destination folder instead of /usr/local
.
cmake
and make
go on properly, however I get an error upon make install
(sudo make install
does not alleviate it, anyway I do not build into directory that requires root priviledges).
I don't know what I am doing wrong and which direction to go now. I basically wanted to replicate from this tutorial and I did not omit any step. Please help.
Information:
error:
CMake Error at apps/annotation/cmake_install.cmake:42 (file):
file INSTALL cannot find
"~/libraries/opencv-3.1.0/release/installed/bin/opencv_annotation".
Call Stack (most recent call first):
apps/cmake_install.cmake:39 (include)
cmake_install.cmake:84 (include)
Makefile:116: recipe for target 'install' failed
my cmake configuration:
cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=~/libraries/opencv-3.1.0/release/installed \
-D WITH_CUDA=ON \
-D ENABLE_FAST_MATH=1 \
-D CUDA_FAST_MATH=1 \
-D WITH_CUBLAS=1 \
-D INSTALL_C_EXAMPLES=OFF \
-D INSTALL_PYTHON_EXAMPLES=ON \
-D OPENCV_EXTRA_MODULES_PATH=~/libraries/opencv_contrib/modules \
-D BUILD_EXAMPLES=ON ~/libraries/opencv