Ralith / openxrs

OpenXR bindings for Rust
Apache License 2.0
282 stars 59 forks source link

Fix jsoncpp compilation error #173

Closed RipleyTom closed 2 months ago

RipleyTom commented 2 months ago

Fixes https://github.com/Ralith/openxrs/issues/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).

RipleyTom commented 2 months ago

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

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