|
@@ -15,8 +15,11 @@ For a full list of supported devices please check https://github.com/OpenHMD/Ope
|
|
* FreeBSD
|
|
* FreeBSD
|
|
|
|
|
|
## Requirements
|
|
## Requirements
|
|
- * Option 1: GNU Autotools (if you're building from the git repository)
|
|
|
|
- * Option 2: CMake
|
|
|
|
|
|
+ * Option 1: Meson + Ninja
|
|
|
|
+ * http://mesonbuild.com
|
|
|
|
+ * https://ninja-build.org
|
|
|
|
+ * Option 2: GNU Autotools (if you're building from the git repository)
|
|
|
|
+ * Option 3: CMake
|
|
* HIDAPI
|
|
* HIDAPI
|
|
* http://www.signal11.us/oss/hidapi/
|
|
* http://www.signal11.us/oss/hidapi/
|
|
* https://github.com/signal11/hidapi/
|
|
* https://github.com/signal11/hidapi/
|
|
@@ -37,6 +40,17 @@ For a full list of supported devices please check https://github.com/OpenHMD/Ope
|
|
* libvr - http://hg.sitedethib.com/libvr
|
|
* libvr - http://hg.sitedethib.com/libvr
|
|
|
|
|
|
## Compiling and Installing
|
|
## Compiling and Installing
|
|
|
|
+Using Meson:
|
|
|
|
+
|
|
|
|
+With Meson, you can enable and disable drivers to compile OpenHMD with.
|
|
|
|
+Current available drivers are: rift, deepon, psvr, vive, nolo, wmr, external, and android.
|
|
|
|
+These can be enabled or disabled by adding -Ddrivers=... with a comma separated list after the meson command (or using meson configure ./build -Ddrivers=...).
|
|
|
|
+By default all drivers except android are enabled.
|
|
|
|
+
|
|
|
|
+ meson ./build [-Dexamples=simple,opengl]
|
|
|
|
+ ninja -C ./build
|
|
|
|
+ sudo ninja -C ./build install
|
|
|
|
+
|
|
Using make:
|
|
Using make:
|
|
|
|
|
|
./autogen.sh # (if you're building from the git repository)
|
|
./autogen.sh # (if you're building from the git repository)
|
|
@@ -47,7 +61,7 @@ Using make:
|
|
Using CMake:
|
|
Using CMake:
|
|
|
|
|
|
With CMake, you can enable and disable drivers to compile OpenHMD with.
|
|
With CMake, you can enable and disable drivers to compile OpenHMD with.
|
|
-Current Available drivers are: OPENHMD_DRIVER_OCULUS_RIFT, OPENHMD_DRIVER_EXTERNAL and OPENHMD_DRIVER_ANDROID.
|
|
|
|
|
|
+Current Available drivers are: OPENHMD_DRIVER_OCULUS_RIFT, OPENHMD_DRIVER_DEEPOON, OPENHMD_DRIVER_WMR, OPENHMD_DRIVER_PSVR, OPENHMD_DRIVER_HTC_VIVE, OPENHMD_DRIVER_NOLO, OPENHMD_DRIVER_EXTERNAL and OPENHMD_DRIVER_ANDROID.
|
|
These can be enabled or disabled adding -DDRIVER_OF_CHOICE=ON after the cmake command (or using cmake-gui).
|
|
These can be enabled or disabled adding -DDRIVER_OF_CHOICE=ON after the cmake command (or using cmake-gui).
|
|
|
|
|
|
cmake .
|
|
cmake .
|