Ask Your Question

abhiemanyu's profile - activity

2016-03-28 20:55:23 -0600 received badge  Supporter (source)
2016-03-28 02:15:28 -0600 commented question undefined reference to gp_camera_autodetect

I want to install opencv 3.0 side-by-side with opencv 2.8, so i installed opencv 3.0 from source, run cmake and set -DCMAKE_INSTALL_PREFIX to certain path (so i dont want to mess up with existing opencv 2.8). just like this post, any idea? i also reinstall gphoto2...

2016-03-28 01:55:30 -0600 received badge  Editor (source)
2016-03-28 01:28:30 -0600 asked a question 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 this post

How do i solve this error?