OpenXR-SDK-Source icon indicating copy to clipboard operation
OpenXR-SDK-Source copied to clipboard

Can't build loader as static library

Open Supreeeme opened this issue 1 year ago • 2 comments

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 avatar Jun 17 '24 06:06 Supreeeme

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.

rpavlik-bot avatar Jul 23 '24 20:07 rpavlik-bot

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

Supreeeme avatar Jul 29 '24 22:07 Supreeeme