Open nmanjofo opened 8 years ago
There are a couple different problems demonstrated here. Let's tackle them one at a time:
vrpathreg.exe
program and attempting to parse its output. It appears that we're not finding this program on your system. Where does this program live on your computer? (It's usually in C:/Program Files (x86)/Steam/steamapps/common/SteamVR/bin/win32/
, but you may have it on another directory.)
Since we're not finding that program, as a fallback, we attempt to read directly from the openvrpaths.vrpath
file. This is usually located in the C:\Users\YOUR_USERNAME\AppData\Local\openvr
directory.cleanup
branch if you'd like to test it. The cmake/cmake-3.3.0-modules/WriteCompilerDetectionHeader.cmake
file was looking in a hard-coded path for a couple of the modules it wanted to include when it should've been looking in the main CMake modules directory. The fix should just be replacing the following two lines:include(${CMAKE_CURRENT_LIST_DIR}/CMakeParseArguments.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/CMakeCompilerIdDetection.cmake)
with these two lines:
include(CMakeParseArguments)
include(CMakeCompilerIdDetection)
Your responses to the following questions will help me improve the code that finds the vrpathreg
program and parses the information it provides:
vrpathreg.exe
program live on your computer?openvrpaths.vrpath
file live on your computer?Thanks!
1
D:\hry\steam\steamapps\common\SteamVR\bin\win64
There are actually two, one in win64, the other in win32.
2
Runtime path = D:\hry\steam\steamapps\common\SteamVR\ Config path = D:\hry\steam\config Log path = D:\hry\steam\logs
3
C:\Users\pc\AppData\Local\openvr
4
{ "config" : [ "D:\hry\steam\config" ], "external_drivers" : null, "log" : [ "D:\hry\steam\logs" ], "runtime" : [ "D:\hry\steam\steamapps\common\SteamVR\", "D:\hry\steam\steamapps\common\SteamVR" ] }
I am trying to build the plugin, but CMAKE seems to complain... (I recursively cloned the latest snapshot, set BOOST_INCLUDE_DIR to boost and CMAKE_PREFIX_PATH to jsoncpp)