-
Notifications
You must be signed in to change notification settings - Fork 52
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.
- 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). - Download openFrameworks 0.9.3.zip and unzip it into
third-party
folder. By default this will create anof_v0.9.3_vs_release
folder. You will need to rename it toopenFrameworks
. - Copy openFrameworks plugin dependencies (
third-party/ofxDatGui
,third-party/ofxGrt
,third-party/ofxParagraph
) into openFrameworks add-on folders (third-party/openFrameworks/addons/
). - 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 asgrt.lib
. - Navigate to
Xcode/ESP/
and open the project by double clicking onESP.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.
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.
- Download and install CMake
- Clone ESP repository recursively.
- Use CMake to generate GRT VS project (remember to enable static library)
- Navigate to the generated project (in the above example image, it's under
third-party/grt/build/tmp
. - Click any project will open the whole GRT solution.
- 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.