I have installed the latest version of OpenCV. Now I'm trying to configure NetBeans to use it. I put ../../../../../opencv/build/include in the C++ compiler and in the Linker ../../../../../opencv/build/x64/vc14/lib with the libraries opencv_world310 and opencv_world310d. I'm using Cygwin. When I build a simple project I receive the message BUILD FAILED (exit value 2, total time: 1s).
Thank you very much!