Ask Your Question

Revision history [back]

it is possible to compile using only C, but you will run into problems when you start using functions that weren't available in OpenCV v.1 due to not being able to compile some of the libraries in C. If you look at the online reference manual it gives the code for both C and C++, conversion between the two can be tricky but it is possible. Also if you look at the header files for some there is a just a .hpp version but some have a _c.h version which you need to include instead.

If you're struggling to convert the code then upload it and I can provide some help