Codeblocks is an open source, fully functional, cross-platform, C + + integrated development environment. Codeblocks was developed by the pure C + + language, it uses the Yarrow name of the graphical interface library wxwidgets. For the pursuit of the perfect C + + program ape, no longer have to endure the slow eclipse, no longer have to endure the huge and high price of vs.net. The interface is simple and easy to operate. Can be very good to extend the function through the plug-in, so I personally prefer this c++ide. In order to be able to use OPENCV in Codeblocks. Follow the steps for configuring OpenCV VS2010. Configuring the use of OPENCV in the Codeblocks development environment is, of course, under the Ubuntu system, assuming it is under Windows. The principle step is basically the same, no longer repeat.
1. Create a new project, such as the Opencvtest console project.
2. Codeblocks link Library configuration: Project--Build Options for example:
3. codeblocks Header File Folder configuration
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvewfuz2jpbmd6ag91/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/center ">
4. Codeblocks Path File Folder configuration
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvewfuz2jpbmd6ag91/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/center ">
Test results:
Configuring the use of OpenCV (Ubuntu system) in the Codeblocks development environment