KhronosGroup / KhronosGroup/OpenXR-SDK-Source

Can't build loader as static library

Open
#481 2 comments 1 reaction 0 assignees View on GitHub
synced to gitlab
Dominant language
Python
Stars
825
Forks
306
Avg merge
1d 23h
Merged PRs (30d)
1

Description

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.
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in src/loader/CMakeLists.txt and reproduce the configuration with -DDYNAMIC_LOADER=OFF. Trace the openxr_loader and jsoncpp_interface export declarations; done means the static-loader configuration completes without the reported CMake export error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.