Configuring the use of OpenCV (Ubuntu system) in the Codeblocks development environment

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.