From 851054ae01b1aaf245fd8614cf7f019f7bcf3beb Mon Sep 17 00:00:00 2001 From: bjorn Date: Tue, 18 Oct 2016 13:02:02 -0700 Subject: [PATCH] Notes about compiling gotchas; --- CMakeLists.txt | 2 +- doc/COMPILING.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 02e08668..30551a7d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,7 +84,7 @@ else() set(LOVR_OPENVR ${OPENVR_DIR}/lib/linux32/libopenvr_api.so) endif() else() - message(FATAL_ERROR "Please specify the location of OpenVR (-DOPENVR_DIR=/path/to/openvr)") + message(FATAL_ERROR "Please specify the absolute location of OpenVR (-DOPENVR_DIR=/path/to/openvr)") endif() endif() diff --git a/doc/COMPILING.md b/doc/COMPILING.md index a14f71a8..cf658fc3 100644 --- a/doc/COMPILING.md +++ b/doc/COMPILING.md @@ -55,6 +55,9 @@ Next, install the other dependencies above using your package manager of choice: brew install assimp glfw3 luajit ``` +On OSX, you'll need to set the `DYLD_LIBRARY_PATH` environment variable to be +`/path/to/openvr/lib/osx32`. + Next, build using CMake: ```sh