Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.
junderwood edited this page Aug 9, 2013 · 3 revisions

Building snark with opencv

Windows

Pre-built packages exist, meaning you don't need to build opencv on windows to link snark to it.

The following was tested with version 2.4.6.0

  1. download the pre-built windows package: [http://opencv.org/downloads.html]
  2. run the installer to extract to somewhere/opencv
  3. in cmake for snark, delete any previous references to opencv, hit configure
  4. set OpenCV_DIR = somewhere/opencv/build
  5. hit configure and everything should be set automatically

As an added bonus, the pre-built package comes with full source. This means if you share your windows code directory with a linux virtual box, you can build against the same source in linux. Just create a directory in linux for the build and target the root directory of the package (somewhere/source) with cmake.

Clone this wiki locally