Open piede828 opened 5 years ago
You are probably using Debug configuration which lacks the directory configuration for all the third-party files.
Change configuration to Release
and it should work.
If you use VS2017, please also change VCInstallDir to VCToolsInstallDir. Otherwise many libraries won't be found.
I get cannot open file 'msvcprt.lib' even after doing the above changes.
Oh also had to inherit from project defaults.
If you use VS2017, please also change VCInstallDir to VCToolsInstallDir. Otherwise many libraries won't be found.
I'm using $(VC_LibraryPath_x86)
instead of the VCToolsInstallDir ones for both Debug and Release Library Directories.
Also using $(WindowsSDK_LibraryPath_x86)
for both.
Thanks to @RobertasRudys , its working on my VS2019 without the msvcprt.lib
error.
When trying to launch on Windows 10, I get a series of these messages:
Severity Code Description Project File Line Suppression State Error LNK2019 unresolved external symbol __imp__VR_IsHmdPresent referenced in function "int __cdecl init_OpenVR(void)" (?init_OpenVR@@YAHXZ) openvrsimplexamples xxxxxx/openvrsimplexamples-master\openvrsimplexamples\main.obj 1