make[2]: *** No rule to make target `/usr/lib/x86_64-linux-gnu/libGL.so', needed by `lib/libopencv_cudev.so.3.0.0'. Stop. [closed]

asked 2015-06-05 13:00:17 -0600

abhiguru gravatar image

Error during [make]: make[2]: * No rule to make target /usr/lib/x86_64-linux-gnu/libGL.so', needed bylib/libopencv_cudev.so.3.0.0'. Stop. make[2]: Waiting for unfinished jobs.... [ 28%] Building CXX object modules/cudev/CMakeFiles/opencv_cudev.dir/src/stub.cpp.o make[1]: [modules/cudev/CMakeFiles/opencv_cudev.dir/all] Error 2 make[1]: * Waiting for unfinished jobs....

Configuration: 1) Ubuntu 14.04 2) OpenCV3.0.0 3) CUDA 7.0 Running on AWS G2.8xLarge - 32 CPU and Quad Nvidia Grid GPU

Cmake; sudo cmake -D WITH_NVCUVID=ON -D BUILD_DOCS=ON -D WITH_XINE=ON -D WITH_CUDA=ON -D WITH_OPENGL=ON -D WITH_TBB=ON -D WITH_OPENNI=ON -D BUILD_EXAMPLES=ON -D WITH_OPENCL=ON -D CMAKE_BUILD_TYPE=RELEASE -D OPENCV_EXTRA_MODULES_PATH=../modules/opencv_contrib-master/modules/ -D ENABLE_FAST_MATH=1 -D WITH_QT=ON -D CUDA_FAST_MATH=1 -D WITH_CUBLAS=1 -D CMAKE_INSTALL_PREFIX=/home/ubuntu/cv ..

Verified CUDA Sample works ok independent of OpenCV. Tried sudo make clean, OpenCV3.0.0 and OpenCV3.0.0rc1

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by StevenPuttemans
close date 2015-06-07 04:21:51.047998

Comments

1

Found the solution in the link in case anyone runs into the same issue http://techtidings.blogspot.in/2012/0...

abhiguru gravatar imageabhiguru ( 2015-06-05 13:45:55 -0600 )edit