-
Notifications
You must be signed in to change notification settings - Fork 52
Windows Setup Guide
David A. Mellis edited this page Aug 12, 2016
·
11 revisions
This guide assumes you have Visual Studio Community 2015 installed. If not, you may follow this openFrameworks setup guide to install VS2015 first.
Below is a step-by-step guide of setting up ESP project.
- Use Git to clone this project. Remember to clone all the submodules (Github client will do a recursive clone automatically; if you are using other clients, please check that you have contents in 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 need to rename it toopenFrameworks
. - Copy openFrameworks plugin dependencies (
third-party/ofxDatGui
,third-party/ofxGrt
,third-party/ofxParagraph
) into openFrameworks add-on folder (third-party/openFrameworks/addons/
). - Download the pre-compiled GRT libraries for windows. Links here. Put the binary inside ESP folder
Xcode/ESP
and rename it asgrt.lib
. - Navigate to
Xcode/ESP/
and open the project by double clicking onESP.sln
. - In Visual Studio, go to Debug > ESP Properties. In the properties dialog, select "All Configurations" at the top. Then go to "Debugging" and change "Working Directory" from
$(ProjectDir)
to$(TargetDir)
You can then build the project and run it inside Visual Studio.
- GRT Windows 64 Release (13.5 MB)
- GRT Windows 64 Debug (94.7 MB)
Previous GRT Windows 64 Release (13.5 MB)Previous GRT Windows 64 Debug (94.7 MB)
third-party/
├── SpaceInvaders
├── googletest
├── grt
├── ofxDatGui
├── ofxGrt
├── ofxParagraph
└── openFrameworks
├── CHANGELOG.md
├── CODE_OF_CONDUCT.md
├── INSTALL.md
├── LICENSE.md
├── README.md
├── addons
├── apps
├── docs
├── examples
├── export
├── libs
├── other
├── projectGenerator-osx
└── scripts
- 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.