I want to use OpenCV-2.4.11 on my laptop on OpenSUSE-13.2 and i have tried
to compile it. As third part library i have taken ffmpeg-2.6.1 because
newer versions causing some troubles. Because my laptop has an integrated
gpu from Intel and an NVIDIA Geforce 940M gpu i have to use bumblebee and
all that nice stuff to get full access to all the power reserves my laptop
I have compiled opencv with the needed options WITH_CUDA=ON for example. I
always get these error while compilation at 15%
Linking CXX executable ../../bin/opencv_perf_core
../../lib/libopencv_core.so.2.4.11: undefined reference to
I believe cuda, or a gpu running software is not really in any version of Opencv except OpenCv 3.0.
Bumble bee is used in computers that have Intel and Nvidia GPU at the same time. Because, int the past,
Linux Operating System could not handle it, But 3rd source bumble bee could, some what.
I have the intel and cuda sett up on my laptop.
But now, I stopped using it in Mint 17 Linux, A Ubuntu 14 clone, Debian class OS. The Mint OS can
deal with it, Like windows OS can. But i still had to use install Cuda and Ubuntu software to make it work right.
So then, you must have installed Cuda 5.0 because the latest is 7.5.
Did the install of work of Cuda. And did you get the cuda hello world program to work.
For trouble shooting purposes, do not use cmake or Qt, or any other codeblock, or any other stuff. Want to get rid
of all the moving parts that can go wrong, simplicity.
Open a terminal and type GPP compile command:
nvcc program.cu -lm -o program -lopencv_core -lopencv_highgui -lopencv_gpu
nvcc program.cu -lm -o program -lopencv_core -lopencv_highgui -lopencv_gpu -rdc=true -c
Use a simplest openCV Cuda program.
See what happens.
Cmake is used for installing Cuda and Opencv and also compiling a single little program. I avoid cmake
if given a choice.