Ask Your Question

Revision history [back]

netbeans 7.2.1 integration

Dear OpenCV experts,

I am new to OpenCV and am trying to configure OpenCV v2.4.6 with Netbeans v7.2.1 with Cygwin. I have configured Cygwin for netbeans and can succefully compile and run C and C++ programs. There is a tutorial guiding opencv v2.0 and netbeans v6.8 integration which I followed but got stuck at one point.

First of all, in all the tutorials may it be with cygwin, mingw or cmake, all says, "setup OpenCV!!". The file that I downloaded from sourceforge (http://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.4.6/OpenCV-2.4.6.0.exe/download) gets extracted and not installed! Second thing, all the tutorials mention about a library folder (lib) in the main OpenCV directory, which is NOT there. I checked with OpenCV 2.4.3 also, there is no such folder. There are lib folders in build->x64 and x86 -> migwin, vc9, vc10 and vc11 but not in the main directory.

These are the steps I followed, I extracted the contents of OpenCV 2.4.6 to "D:\opencv". Then I created a new project (C/C++ application) in Netbeans and in Properties, Category -> Build -> C++ Compiler -> Include Directories I added: D:\opencv\include\opencv

Now in the tutorials which I referred, said to next go to Category -> Linker, and add: D:\opencv\lib in the "Additional Library Directories". But there is no "lib" folder in the opencv directory! So here I get stuck. I tried different libraries from other folders but doesn't work.

I have included D:\cygwin\bin to my "Path" in Environment Variable (Windows System Properties -> Advance -> Environment Variable). Is any folder from OpenCV to be added here?

If anyone of you have integrated opencv with netbeans and can help me out, it would be great!

Thank you in advance!

BR!

Jainam