Skip to content
klahaag edited this page Apr 24, 2015 · 37 revisions

Build Tutorial

Windows 7 Build

Simple steps to run the trackers on Windows 7 using Visual Studio 2013, cmake and OpenCV 3.0. It is assumed that a 64bit Windows is installed. If you use a 32bit Windows, update to 64bit.

Download and Install

OpenCV 3

  • Download "OpenCV for Windows" from www.opencv.org.
  • Execute the file. It is a self-extracting archive. Throughout this tutorial, h:\opencv_3_0_rc1 is used as install path for opencv: Extract
  • Setup the required OpenCV Paths:
    • Right-click on Computer -> Properties -> Advanced System Settings -> Environment Variables
    • On the System variables scroll list, select Path and click Edit. CAUTION: if you screw up your environment variables, you can break your system. Thus, ensure that you do not change anything else!: Prepend: H:\opencv_3_0_rc1\opencv\build\x64\vc12\bin; and click ok.
    • Click on new and create a system variable with name OPENCV_DIR and value H:\opencv_3_0_rc1\opencv\build\x64\vc12

Cmake

  • Download cmake Windows Installer from http://www.cmake.org/
  • Execute it. Install it anywhere on your system. Use default options for the rest of the dialogues.

Visual Studio 2013

Download and build the project

Linux Build

Clone this wiki locally