Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The file objdetect.hpp is the correct file. You shouldnt get distracted by the file end of the header. A modern compiler should get affected by this. Also, you should read about the use of extern "C" here: http://stackoverflow.com/questions/1041866/in-c-source-what-is-the-effect-of-extern-c

The file objdetect.hpp is the correct file. You shouldnt get distracted by the file end extension of the header. A modern compiler should not get affected by this. this. With gcc you can also call your extension .banana and it would still compile :) Also, you should read about the use of extern "C" here: http://stackoverflow.com/questions/1041866/in-c-source-what-is-the-effect-of-extern-c