It is impossible to statically compile and link both OpenXR and JsconCpp (other libraries for example) into the same application. Reason is that OpenXR uses internally compiled JsonCpp library. This causes duplicate jsoncpp symbols in the final link.
Unfortunately due to #314 it is not possible to statically compile a separate jsoncpp and then use "-DBUILD_WITH_SYSTEM_JSONCPP=Yes" to force using this one.
We need a solution for this and the solution can only be to fix the build system to work with system jsoncpp combined with statically building the loader. Otherwise it is not possible to use OpenXR and JsonCpp at the same time.