I build PV5.9 with OpenVR(1.14.15) on windows 10 using vs2017(x64), however I got error like this:
I don’t know if FindOpenVR.cmake
is failing or if there’s a version mismatch. Could you show the values of OpenVR_LIBRARY
and OpenVR_INCLUDE_DIR
in the build’s CMakeCache.txt
file?
Cc: @martink
Are you building shared? I think it only works with shared builds due to some issues in OpenVR and how they handle exports.
Yes, I use static OpenVR library got the error. When I using shared library, it works.
Thank you!