Skip to content
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

Can't build loader as static library #481

Open
Supreeeme opened this issue Jun 17, 2024 · 2 comments
Open

Can't build loader as static library #481

Supreeeme opened this issue Jun 17, 2024 · 2 comments
Labels
synced to gitlab Synchronized to OpenXR internal GitLab

Comments

@Supreeeme
Copy link

Attempting to build the loader with -DDYNAMIC_LOADER=OFF results in the following cmake error:

CMake Error: install(EXPORT "openxr_loader_export" ...) includes target "openxr_loader" which requires target "jsoncpp_interface" that is not in any export set.
CMake Error in src/loader/CMakeLists.txt:
  export called with target "openxr_loader" which requires target
  "jsoncpp_interface" that is not in any export set.
@Supreeeme Supreeeme changed the title Can't statically build loader Can't build loader as static library Jun 17, 2024
@rpavlik-bot rpavlik-bot added the synced to gitlab Synchronized to OpenXR internal GitLab label Jul 23, 2024
@rpavlik-bot
Copy link
Collaborator

An issue (number 2323) has been filed to correspond to this issue in the internal Khronos GitLab (Khronos members only: KHR:openxr/openxr#2323 ), to facilitate working group processes.

This GitHub issue will continue to be the main site of discussion.

@Supreeeme
Copy link
Author

Seems this can be worked around with by running cmake with -DBUILD_WITH_SYSTEM_JSONCPP=OFF.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
synced to gitlab Synchronized to OpenXR internal GitLab
Projects
None yet
Development

No branches or pull requests

2 participants