forked from Omnifinity/OpenVR-Tracking-Example
-
Notifications
You must be signed in to change notification settings - Fork 4
CompileGuide
Kevin Kellar edited this page Aug 16, 2017
·
4 revisions
Make sure g++ and python are installed. If using cygwin for Windows (recommended), these packages may need to be installed from the cygwin installer.
Have openvr cloned somewhere convenient
This example code shows how to build/run the project:
git clone https://github.com/flipturnapps/OpenVR-Tracking-Example.git ViveTrack
cd ViveTrack
python build.py ~/path/to/openvr/
bash build/compile.sh
# Start up SteamVR and connect the Vive
./build/track
These screenshots show the terminal at the different stages of building and running the example:
Linux | Windows (Cygwin) |
---|---|
If there are Vive/SteamVR errors with getting the tracking example to work, see the Vive troubleshooting guide.