Ask Your Question

shivsd's profile - activity

2019-08-31 13:03:16 -0600 marked best answer with Cuda support undefined reference to cv::imread

Hi,

I have built Opencv3.4.5 with cuda support and below is the cmake command and after compiling opencv 3.4.5 and installing it i get following error while testing it. Please can you correct me if there is anything wrong in cmake command. cuda10.0 installed on GTX 1080, OS- ubuntu.

g++ -o test test.cpp /tmp/ccK24DIr.o: In function main': test.cpp:(.text+0xfb): undefined reference to cv::imread(cv::String const&, int)'

cmake command: cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules -D WITH_CUDA=ON -D WITH_TBB=ON -D ENABLE_FAST_MATH=1 -D CUDA_FAST_MATH=1 -D WITH_CUBLAS=1 -D PYTHON_EXECUTABLE=~/.virtualenvs/cv/bin/python -D WITH_QT=OFF -D BUILD_EXAMPLES=OFF -D INSTALL_C_EXAMPLES=OFF -D INSTALL_PYTHON_EXAMPLES=OFF -D CUDA_NVCC_FLAGS=--expt-relaxed-constexpr -D WITH_LIBV4L=ON -D WITH_V4L=ON ..

thanks in advance

2019-08-31 12:58:24 -0600 commented question with Cuda support undefined reference to cv::imread

First i'm using cmake command to build opencv on my machine (build and install) And testing if my install is correct or

2019-08-31 12:47:14 -0600 commented question with Cuda support undefined reference to cv::imread

First i'm using cmake command to build opencv on my machine (build and install) And testing if my install is correct or

2019-08-31 12:46:58 -0600 commented question with Cuda support undefined reference to cv::imread

First i'm using cmake command to build opencv on my machine (build and install) And testing if my install is correct or

2019-08-31 12:44:42 -0600 commented question with Cuda support undefined reference to cv::imread

First i'm using cmake command to build opencv on my machine (build and install) And testing if my install is correct or

2019-08-30 20:49:32 -0600 asked a question with Cuda support undefined reference to cv::imread

with Cuda support undefined reference to cv::imread Hi, I have built Opencv3.4.5 with cuda support and below is the cma

2019-08-30 20:49:31 -0600 asked a question with Cuda support undefined reference to cv::imread

with Cuda support undefined reference to cv::imread Hi, I have built Opencv3.4.5 with cuda support and below is the cma