Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Something wrong with your build system. It uses header files from different locations.

For example opencv2/nonfree/gpu.hpp is used from

/ debug/src/OpenCV2.4.5/modules/nonfree/include/opencv2/nonfree/gpu.hpp

but opencv2/gpu/gpu.hpp is used from

/ debug/include/opencv2/gpu/gpu.hpp

It must be used from

/ debug/src/OpenCV2.4.5/modules/gpu/include/opencv2/gpu/gpu.hpp