Support Support Home » Building OpenCV version 31

Building OpenCV version 3.1

In order to successfully build OpenCV version 3.1 with support for XIMEA cameras several source files must be replaced:
  1. Download OpenCV package version 3.1 from here and unzip it.
  2. Replace the file in ..\sources\modules\videoio\include\opencv2\videoio with videoio_c.h
  3. Replace the file in ..\sources\modules\videoio\include\opencv2 with videoio.hpp
  4. Replace the file in ..\sources\modules\videoio\src with cap_ximea.cpp
  5. Replace the file in the ..\sources\modules\videoio folder with CMakeLists.txt
  6. rebuild OpenCV WITH_XIMEA option enabled according to the guide for Windows or Linux.