Install OpenCV 3.2 with Eclipse NEON on Windows 10

Step-by-Step Tutorial


Visit http://www.eclipse.org/downloads/, under Get Eclipse NEON, click Download Packages link, and under Eclipse IDE for C/C++ Developers, click 64 bit.

Download Eclipse

Visit http://opencv.org. On the right, click OpenCV for Windows. This automatically redirects to the download page on sourceforge at https://sourceforge.net/projects/opencvlibrary/files/opencv-win/3.2.0/opencv-3.2.0-vc14.exe/download.

Download OpenCV

The build folder contains the prebuilt libraries, the sources folder can be used to build your own build. In contrast to older versions of OpenCV, such as version 2.3.1, for which several library files (opencv_core231d.lib, opencv_highgui231d.lib, opencv_imgproc231d.lib, opencv_objdetect231d.lib) had to be added as dependencies for programming environments, OpenCV 3.2 requires two files only: opencv_world320.lib (for production) and opencv_world320d.lib (for debugging).

Since the prebuilt version was released for Visual Studio 2015, a new version has to be built for Eclipse with a tool such as MinGW using the content of the sources folder.

Visit https://sourceforge.net/projects/mingw-w64/ and click Download, which automatically redirects to https://sourceforge.net/projects/mingw-w64/

Download MinGW

Click Cortana, and start typing env, then click Edit the system environment variables. The System properties window appears with the Advanced tab active. Click Environment Variables…. Under System variables, double-click Path. Add C:\Program Files\mingw-w64\x86_64-6.2.0-posix-seh-rt_v5-rev1\mingw64\bin

Visit https://cmake.org, click Download on the top, and click latest stable. Under Binary distributions:, select the latest version (cmake-3.7.2-win64-x64.msi).

Go to the binary subfolder of the installation folder of Cmake (e.g., C:\Program Files\CMake\bin), and click cmake-gui.exe. Click Browse Source… in the top right corner. Select the sources folder of OpenCV (e.g., C:\OpenCV-3.2.0-vc14/opencv/sources). Add a destination folder for the new build (e.g., C:\OpenCV-3.2.0-vc14/opencv/newbuild). Click Configure. A popup window appears to confirm the creation of the new directory specified. Click Yes. In the Specify the generator for this projects window, select Eclipse CDT4 – MinGW Makefiles from the dropdown. Leave the radio button on default settings (first option – Use default native compilers). Click Finish. The custom OpenCV built is now created.

Launch Eclipse

  • Right click on the Project Explorer (on the left by default)
  • Import…
  • Existing Projects into Workspace
  • Next to Select root directory, click Browse
  • Browse to the newbuild folder created earlier (…/OpenCV-3.2.0-vc14/newbuild/)
  • Click OK
  • Under Projects, the custom OpenCV release should be visible and checked
  • Click Finish

On the Project Explorer, the files are being indexed, which takes some time (as indicated in the bottom right corner).