Ask Your Question

Revision history [back]

undefined reference to gp_camera_autodetect

Hi, i'm trying to install OpenCV 3.0 on my Ubuntu 12.04, i'm getting error

../../lib/libopencv_videoio.so.3.0.0: undefined reference to `gp_camera_autodetect' 
collect2: error: ld returned 1 exit status
make[2]: *** [bin/opencv_perf_video] Error 1

make[1]: *** [modules/video/CMakeFiles/opencv_perf_video.dir/all] Error 2

make: *** [all] Error 2

I guess this is all about gphoto2 library, i've tried to install libgphoto2 and gphoto2 from source based on link text

How do i solve this error?

undefined reference to gp_camera_autodetect

Hi, i'm trying to install OpenCV 3.0 on my Ubuntu 12.04, i'm getting error

../../lib/libopencv_videoio.so.3.0.0: undefined reference to `gp_camera_autodetect' 
collect2: error: ld returned 1 exit status
make[2]: *** [bin/opencv_perf_video] Error 1

make[1]: *** [modules/video/CMakeFiles/opencv_perf_video.dir/all] Error 2

make: *** [all] Error 2

I guess this is all about gphoto2 library, i've tried to install libgphoto2 and gphoto2 from source based on link textthis post

How do i solve this error?