building opencv with cuda8

asked 2017-09-24 14:15:15 -0500

i had downloaded latest opencv and i am trying to build it with cuda 8.

window - ubuntu16.04

compiler - gcc5.4

i had installed cuda using "sudo apt-get install nvidia-cuda-toolkit"

here is my cmake command "cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D WITH_TBB=ON -D WITH_V4L=ON -D WITH_QT=ON -D WITH_OPENGL=ON -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules -D WITH_CUDA=ON -D VTK_DIR=/home/vaibhav/VTK-8.0.1/build -D CXX_FLAGS="-std=c++11" -D BUILD_EXAMPLES=ON .."

and also i have tried this build fix which led to this . I changed those scripts accordingly. but no result.

error while using make -j4 is here

and also cmake output here

edit retag flag offensive close merge delete