Ask Your Question

Revision history [back]

I think that Dev-C++ should be quite similar to other IDE's out there. Basically you should pay attention to the following things (asuming you have windows OS x64, if not let me know)

  1. Download the latest openCV release which is 2.4.7 at this location and extract it to a folder under your root, for example C:/opencv/.
  2. Make sure that your windows operating system actually knows where the OpenCV dll's can be found by adding the following to your PATH variable: C:/opencv/build/x64/vc10/bin/. If you do not know how to add elements to PATH variable follow this link.
  3. In your Dev-C++ environment you need to set your project properties. You should first make sure that the include directories are added to the additional include directories (C:/opencv/include/, C:/opencv/include/opencv/ and C:/openc/include/opencv2/). And secondly you need to add information into your linker options. First you need to provide the additional linker path libraries (C:/opencv/build/c64/vc10/lib/) and then specify every included or needed module by its corresponding .lib name.

Does this help solving your problems?

I think that Dev-C++ should be quite similar to other IDE's out there. Basically you should pay attention to the following things (asuming you have windows OS x64, if not let me know)

  1. Download the latest openCV release which is 2.4.7 at this location and extract it to a folder under your root, for example C:/opencv/.
  2. Make sure that your windows operating system actually knows where the OpenCV dll's can be found by adding the following to your PATH variable: C:/opencv/build/x64/vc10/bin/. If you do not know how to add elements to PATH variable follow this link.
  3. In your Dev-C++ environment you need to set your project properties. You should first make sure that the include directories are added to the additional include directories (C:/opencv/include/, C:/opencv/include/opencv/ and C:/openc/include/opencv2/). And secondly you need to add information into your linker options. First you need to provide the additional linker path libraries (C:/opencv/build/c64/vc10/lib/) and then specify every included or needed module by its corresponding .lib name.

Does this help solving your problems?

EDIT:

A good tutorial with video on how to set the OpenCV compiler options in Dev-C++ can be found here