Autonomous Space Robotics Lab

Speeded Up SURF

UTIAS ASRL

Build instructions for Windows

These build instructions are for Windows using Microsoft Visual Studio 2005 or 2008. Building the library on windows using compilers may be possible, but we have not tested it. If you get it to work, let us know!

1) INSTALL CUDA 2.3

http://developer.nvidia.com/object/cuda_2_3_downloads.html

You will need

  1. the development driver
  2. the CUDA toolkit and
  3. the CUDA SDK code samples

2) INSTALL BOOST

Go to http://www.boostpro.com/download and get the precompiled binaries for Win32 Choose the following options:

  • Visual C++ 8.0 (for VS2005) or Visual C++ 9.0 (for VS2008)
  • Multithreaded DLL
  • Multithreaded Debug DLL

Choose the following components:

  • all of the defaults
  • Boost Program Options
  • add to path

Wait while the installer downloads and installs Boost

3) INSTALL OPENCV 2.1

Download and run the latest version of the Windows installer for OpenCV.

http://opencv.willowgarage.com/wiki/

When installing, select

  • Add OpenCV to the path for all users

4) INSTALL CMAKE

We use the CMake library to manage the complexity of cross-platform builds with dependencies. Download and install the latest version of CMake.

http://www.cmake.org/

5) RESTART

Windows explorer has a lot of trouble seeing environment variable and path updates. The easiest fix after installing everything above is to restart your computer.

6) BUILD CUDPP

The segmented scan from the CUDPP project is used to build the integral images.

http://code.google.com/p/cudpp/

We have included the sources for this project in the 3rdParty directory. Open the solution file cudpp.sln and build it in Release mode.

7) BUILD GPU SURF

open a console in the build directory. type:

  cmake -G "Visual Studio 8 2005" ..

or

  cmake -G "Visual Studio 9 2008" ..

This gets cmake to construct the appropriate version of the Visual Studio solution and project files. Now open gpusurf.sln and build. This produces the following files

  1. The <config>/gpusurf_engine.exe command line utility.
  2. The <config>/gpusurf.dll dynamically linked library file.

<config> is the name of the configuration that was build, either Debug or Release.


Generated on Fri Apr 30 20:06:20 2010 for gpusurf by doxygen 1.6.2