Skip to content

Windows Installation

tobiaskunz edited this page Apr 28, 2013 · 9 revisions

Prerequisites

DART: Follow the installation instructions for DART at https://github.com/dartsim/dart/wiki/Windows-Installation

wxWidgets: Install wxWidgets using this installer: http://www.prism.gatech.edu/~tkunz3/wxWidgets28.msi

GRIP

Get Source

You have 2 options for getting the source code.

Using GIT: If you have a GIT client installed, clone the DART repository from https://github.com/dartsim/grip.git. Checkout the tagged version with the same version number as the DART version you installed.

Download as zip file: Go to https://github.com/dartsim/grip/tags and download the source code for the same version number as the DART version you installed. Unpack it.

Generate Project Files

Run CMake (cmake-gui). Select the directory where you downloaded GRIP. Name a directory where you want the Visual Studio project files to be placed. You should probably place it under the GRIP directory, e. g. "[GRIP directory]\build"

Click "Configure" and choose your development environment (Visual Studio 10).

Click "Generate"

Build and Install

The previous process should create Visual Studio project files. Open "[GRIP directory]\build\grip-all.sln". Choose the "Release" configuration. Right click on the "INSTALL" project and choose "Build". This will build and install GRIP in C:\Golems. Do the same for the "Debug" configuration.

GRIP Samples (Optional)

We are providing samples on how to extend the functionality of GRIP in a separate repository.

Get Source

You have 2 options for getting the source code.

Using GIT: If you have a GIT client installed, clone the GRIP samples repository from https://github.com/dartsim/grip-samples.git. Checkout the tagged version with the same version number as the DART and GRIP versions you installed.

Download as zip file: Go to https://github.com/dartsim/grip-samples/tags and download the source code for the same version number as the DART and GRIP versions you installed. Unpack it.

Generate Project Files

Run CMake (cmake-gui). Select the directory where you downloaded the GRIP Samples. Name a directory where you want the Visual Studio project files to be placed. You should probably place it under the DART directory, e. g. "[GRIP Samples directory]\build"

Click "Configure" and choose your development environment (Visual Studio 10).

Click "Generate"

Build and Run

The previous process should create Visual Studio project files. Open "[GRIP Samples directory]\build\grip-samples.sln". Choose the "Release" configuration. Right click on the sample project you want to run and choose "Set as StartUp Project". Press Ctrl + F5.