qt3d-vr-example icon indicating copy to clipboard operation
qt3d-vr-example copied to clipboard

Unable to link with OpenVR on Windows with MSVS 2017

Open amesgames opened this issue 7 years ago • 2 comments

I modified vr-sdks.pri to point to my build of OpenVR and get a link error regarding libopenvr_api.so. I changed the virtualreality.pro to reflect the correct lib name of openvr_api.lib and still get the error regarding the missing .so.

I am using Import Project in Qt Creator to test this project against an installer build of Qt 5.9.

amesgames avatar Feb 05 '18 00:02 amesgames

Specifically, I get the following error at link time:

error: LNK1104: cannot open file 'C:\DevTools\openvr\lib\win64\libopenvr_api.so'

amesgames avatar Feb 05 '18 01:02 amesgames

Use the .dll/.lib on Windows. I don't think there is an .so file in the win64 folder. Modifying the pri is correct.

dabulla avatar Feb 06 '18 21:02 dabulla