Reputation: 11763
I have a question related to the structure of OpenCV source code (version 2.4.2), which can be downloaded from here. After downloading and extracting the source code, I notice that in the root directory there are eleven folders, and they are 3rdparty, android, apps, build, cmake, data doc, include, ios, modules and samples. I can understand all the folders expect the include folder and the build folder. For the build folder, if I understand well it includes the header files as well as several libraries that are needed for invoking the OpenCV libraries. So, what's the point of the include folder? Why will OpenCV organize the source code in this way? Any ideas will be appreciated.
Upvotes: 3
Views: 3240
Reputation: 3486
Include
folder typically contains header files. You will need them while developing (especially compiling) using OpenCV.
Build
and Bin
folders typically contains compiled libraries like .lib and .dll and also executables. You will need them in linking and execution phase.
This directory structuring is applied widely, so you will get used to it if you work enough with source code of libraries. And IMO, it's a good way to structure a library.
Upvotes: 1