This repository was archived by the owner on Jan 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Build Instructions
Luke Groeninger edited this page Mar 2, 2015
·
6 revisions
- Clone or copy the repository into a directory of your choice.
- Copy the
OculusSDKfolder from the Oculus Rift SDK into theexternaldirectory in the root of the repository. - If you are building SteamVR support, copy the Steamworks SDK folder
sdkinto theexternaldirectory and rename itSteam. - Open
quake2.slnin Visual Studio. By default this is a VS2012 project, but can be bludgeoned into working with VS2010 and VS2013. - Build it for your desired profile. If you are building without SteamVR support, build the
Release - No SteamVRprofile. - Binaries are created in the
builddirectory under the repository root.
For Ubuntu:
sudo apt-get install cmake libglew-dev libsdl2-dev libz-dev mesa-common-dev
git clone https://github.com/q2vr/quake2vr.git quake2vr
cd quake2vr/
cmake ./
make -j4
This will, by default, build it so that it attempts to dynamically load libovr. If you want to statically link to it, unzip the SDK into external/OculusSDK and re-run cmake. It should find and configure itself accordingly.
- Compress the contents of
misc\vrquake2.pk3\into a .zip file - Rename it to
vrquake2.pk3