Ask Your Question

Revision history [back]

I had the same exact problem compiling OpenCV 3.1 on CentOS 6.8. I worked around it by disabling gphoto2 in the build by adding the following to the cmake command:

cmake -D WITH_GPHOTO2=OFF

It seems like the cap_gphoto2.cpp file has compilation issues with gcc 4.4.7.