-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hello_xr is not aware of BSD #241
Comments
An issue (number 1523) has been filed to correspond to this issue in the internal Khronos GitLab (Khronos members only: KHR:openxr/openxr#1523 ), to facilitate working group processes. This GitHub issue will continue to be the main site of discussion. |
Ah, I assume this isn't the only error you're seeing, since it means that you are missing an OS define for that file. I'm guessing you're on a BSD based on the source path? I suspect the OS_LINUX defines will actually get you what you want here, so if you can confirm that (e.g. adding -DOS_LINUX to CMAKE_C_FLAGS and CMAKE_CXX_FLAGS) we can adjust the build system accordingly. I think most of the stuff labeled "Linux" is actually just Posix. |
Yeah, it actually looks like all the utils and such from Facebook/Oculus that are used mainly in hello_xr are unaware of BSD and will need ports: see external/include/utils in addition to gfxwrapper. Hopefully the ports aren't too hard. |
FWIW, the platform plugins have been renamed, though there is still an OS_LINUX define in gfxwrapper. This should not be an impediment to getting the loader to build, however. |
I managed to build successfully on FreeBSD 14 with OpenGL+X11. Only required changes were:
|
My patch for build https://github.com/KhronosGroup/OpenXR-SDK is:
It's hack. |
ping |
Build fails with clang-10:
The text was updated successfully, but these errors were encountered: