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

Fix jsoncpp compilation error #173

Merged
merged 1 commit into from
Sep 21, 2024
Merged

Fix jsoncpp compilation error #173

merged 1 commit into from
Sep 21, 2024

Conversation

RipleyTom
Copy link
Contributor

@RipleyTom RipleyTom commented Sep 21, 2024

Fixes #148.

It seems if the SDK detects jsoncpp on the system you can't build the loader as a static library unless you explicitly tell it to use the bundled jsoncpp(I think it's expecting to static link it which you can't do with the dynamic library it finds on the system).

Copy link
Owner

@Ralith Ralith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Maybe leave a comment in the file explaining why this is needed? Might also be worth opening an issue upstream.

@RipleyTom
Copy link
Contributor Author

RipleyTom commented Sep 21, 2024

While looking at their issues to see if someone had already reported it I stumbled upon:
KhronosGroup/OpenXR-SDK-Source#481

I wish I'd looked before spending a hour figuring it out, I put the issue url as a comment.

@Ralith Ralith enabled auto-merge (rebase) September 21, 2024 20:04
@Ralith Ralith merged commit d0afdd3 into Ralith:master Sep 21, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"requires target 'jsoncpp_interface' that is not in any export set"
2 participants