Ask Your Question

OpenCV_ATR's profile - activity

2017-01-18 17:33:14 -0600 answered a question Problem building Opencv 3.1 - cap_gphoto2.cpp errors

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.