allow to compile/run 64bit version of VR lib, workaround for issue that both 32bit and 64bit version is called openvr_api.dll
Now 64bit version is called openvr64pi.dll (patched the 64bit binary library openvr_api.lib) See also https://github.com/ValveSoftware/openvr/issues/412
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
IF NOT EXIST bin mkdir bin
|
IF NOT EXIST bin mkdir bin
|
||||||
IF NOT EXIST bin\openvr_api.dll copy examples\ThirdPartyLibs\openvr\bin\win32\openvr_api.dll bin
|
IF NOT EXIST bin\openvr_api.dll copy examples\ThirdPartyLibs\openvr\bin\win32\openvr_api.dll bin
|
||||||
|
IF NOT EXIST bin\openvr64pi.dll copy examples\ThirdPartyLibs\openvr\bin\win64\openvr_api.dll bin\openvr64pi.dll
|
||||||
|
|
||||||
|
#aargh, see https://github.com/ValveSoftware/openvr/issues/412
|
||||||
|
|
||||||
#optionally, hardcode the python path or
|
|
||||||
#SET myvar=c:\python-3.5.3
|
|
||||||
|
|
||||||
#find a python version (hopefully just 1) and use this
|
#find a python version (hopefully just 1) and use this
|
||||||
dir c:\python* /b /ad > tmp1234.txt
|
dir c:\python* /b /ad > tmp1234.txt
|
||||||
|
|||||||
@@ -318,7 +318,11 @@ if os.is("Windows") then
|
|||||||
"../ThirdPartyLibs/openvr/samples/shared/Vectors.h",
|
"../ThirdPartyLibs/openvr/samples/shared/Vectors.h",
|
||||||
}
|
}
|
||||||
if os.is("Windows") then
|
if os.is("Windows") then
|
||||||
libdirs {"../ThirdPartyLibs/openvr/lib/win32"}
|
configuration {"x32"}
|
||||||
|
libdirs {"../ThirdPartyLibs/openvr/lib/win32"}
|
||||||
|
configuration {"x64"}
|
||||||
|
libdirs {"../ThirdPartyLibs/openvr/lib/win64"}
|
||||||
|
configuration{}
|
||||||
end
|
end
|
||||||
|
|
||||||
if os.is("Linux") then initX11() end
|
if os.is("Linux") then initX11() end
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user