Ask Your Question

ozymandias's profile - activity

2016-01-05 09:32:21 -0600 received badge  Famous Question (source)
2014-11-26 04:48:28 -0600 received badge  Notable Question (source)
2014-06-25 08:56:04 -0600 received badge  Popular Question (source)
2012-11-21 10:32:20 -0600 received badge  Scholar (source)
2012-11-21 10:31:53 -0600 commented answer Include folder structure: opencv and/or opencv2?

Hi Martin,

Thanks muchly for your help!

The C function / C++ function schism sounds like a plausible explanation for the file structure. Unless anyone proposes a different explanation, then I'll mark your answer as 'correct' :)

Regarding dragging and dropping files... I am trying to make use of some opencv functions to get / process images from a webcam. The bulk of the project will be my own code. I've made a folder called "lib" in my solution directory and copied relevant opencv (and other 3rd party) libraries into that. This copying was the 'drag and drop' that I alluded to. The actual include is done properly within the VS2010 options.

Would you still use CMake, in this context? I've previously used it to build openCV, but am not sure how to use it to manage include files..

2012-11-21 10:14:07 -0600 received badge  Supporter (source)
2012-11-21 04:47:33 -0600 received badge  Editor (source)
2012-11-21 04:46:11 -0600 asked a question 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