Skip to content

Windows Setup Guide

Ben Zhang edited this page Jul 29, 2016 · 11 revisions

Assumes you have Visual Studio Community 2015 installed. If not, you may follow this guide.

  1. Use Git to clone this project. Remember to clone all the projects (Github client will also clone all modules automatically; if you are using other clients, please check the third-party folder).
  2. Download openFrameworks 0.9.3.zip and unzip it into third-party folder. By default this will create an of_v0.9.3_vs_release folder. You will need to rename it to openFrameworks.
  3. Copy openFrameworks plugin dependencies (third-party/ofxDatGui, third-party/ofxGrt, third-party/ofxParagraph) into openFrameworks add-on folders (third-party/openFrameworks/addons/).
  4. Download pre-compiled GRT libraries for windows from here. This is built on a 64-bit machine in debug mode. Put this inside ESP folder Xcode/ESP and rename it as grt.lib.
  5. Navigate to Xcode/ESP/ and open the project by double clicking on ESP.sln.

You can then build the project. It would take a while to build for the first time because the dependency openFrameworks need to be built.

Note:

It won't compile successfully for now. ofxParagraph should #include <cctype>. See https://github.com/braitsch/ofxParagraph/issues/3. You can simply ask Visual Studio to point you to the error place (ofxParagraph.h and add #include <cctype> to fix it for now.

GRT binary download link:

Build GRT on your own

  1. Download and install CMake
  2. Clone ESP repository recursively.
  3. Use CMake to generate GRT VS project (remember to enable static library) CMake example
  4. Navigate to the generated project (in the above example image, it's under third-party/grt/build/tmp.
  5. Click any project will open the whole GRT solution.
  6. You can now build the project. This will build all GRT libraries, tools and examples.

Most importantly, we need grt.lib (third-party\grt\build\tmp\Debug\grt.lib). Copy this file over to Xcode/ESP folder.