ofxOpenVR
ofxOpenVR copied to clipboard
unresolved external symbol __imp__VR_<symbol>
I'm trying to get ofxOpenVR to work with the latest nighly of openFrameworks, using Visual Studio 2015 on Windows 10 (which is kind of a challenge as I'm normally a Linux user, but as the Vive still isn't properly supported on Linux I want to try and get something to work on Windows first).
I've added ofxOpenVR as an addon, and cloned the openvr repository inside the libs/openvr folder, removing the samples folder to prevent problems compiling (multiplemain.cpp etc.).
While trying to compile your example-simple projects, I get the following errors:
Error LNK2001 unresolved external symbol __imp__VR_GetVRInitErrorAsEnglishDescription example-simple
Error LNK2001 unresolved external symbol __imp__VR_GetGenericInterface example-simple
Error LNK2001 unresolved external symbol __imp__VR_IsInterfaceVersionValid example-simple
Error LNK2001 unresolved external symbol __imp__VR_GetInitToken example-simple
Error LNK2001 unresolved external symbol __imp__VR_InitInternal example-simple
Error LNK2001 unresolved external symbol __imp__VR_ShutdownInternal example-simple
All errors come from
<my ofPath\apps\myApps\example-simple\ofxOpenVR.obj
Before I'm going to mess around too much: any clue as to what I'm doing wrong? Is this just an error in my setup which I need to resolve, is the version of openvr I'm using not compatible anymore, or...
I'd really like to get this to work, so any form of help is appreciated.