Compiling Polyora with Microsoft Visual Studio

  1. Download OpenCV from http://opencv.willowgarage.com/
  2. If CMake is not installed, install it from http://www.cmake.org/
  3. The OpenCV distribution does not include MSVC binaries. You will need to compile them:
    1. Create a directory for the build, for example: C:\opencv20\build
    2. Start cmake-gui, select the opencv source directory and the build directory
    3. Click "Configure" twice, and "Generate"
    4. cmake should create a visual studio solution called OpenCV.sln. Open it.
    5. Select build/build solution (F7)
    6. Right-click on the INSTALL project, and click "build". That should be it!
  4. Everything should be ready to compile Polyora. Run cmake-gui and select the Polyora source directory.
  5. Click on "add entry"
  6. In Name, enter: OpenCV_ROOT_DIR
  7. In Type, select "PATH"
  8. In Value, enter the OpenCV build directory (for example: c:\opencv20\build)
  9. Click OK, Configure, and Generate. You should obtain a Visual Studio project file called polyora.sln.
  10. Open polyora.sln and select "Build Solution" from the "Build" menu.

Generated on Tue Mar 30 15:53:25 2010 for Polyora by  doxygen 1.5.9