How to build openxr as a static lib for c++ project
lintianfang opened this issue · 1 comments
lintianfang commented
I built the openxr as a static lib, I got openxr_loader.lib in the build file. and I added it into my vs project, but i cannot open the lib. Anyone can give me a hint?
jherico commented
What do you mean by "open the lib"? Open it how? It's a binary file and not intended to be opened by any editor. If you want your project to link against it it needs to be listed in the additional dependencies in the linker settings for the binary... like this:
Also, this isn't the project for the OpenXR library as such, but for the C++ bindings for it. You should probably be asking on stack overflow, or on https://github.com/KhronosGroup/OpenXR-SDK