Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Include folder structure: opencv and/or opencv2?

Hello all,

Could someone explain why OpenCV has two different folders in the include directory, please?

I'm trying to build a project, and am creating a local (to that project) include folder. The OpenCV file structure looks as though it has been designed purposefully. My instinct is to drag'n'drop the contents of include/opencv and include/opencv2 into one folder in my project, but am a little worried that this might have unintended bad consequences...

Thanks for reading, and many thanks if you can help!

Zadacka

Include folder structure: opencv and/or opencv2?

Hello all,

Could someone explain why OpenCV has two different folders in the include directory, please?

I'm trying to build a project, and am creating a local (to that project) include folder. The OpenCV file structure looks as though it has been designed purposefully. My instinct is to drag'n'drop the contents of include/opencv and include/opencv2 into one folder in my project, but am a little worried that this might have unintended bad consequences...

edit: I know that my project will definitely use cv/h and highgui.h so must have some files from both folders...

Thanks for reading, and many thanks if you can help!

Zadacka