Skip to content

OpenXR+JsonCpp can not be statically linked at the same time (duplicate symbols) #545

@LordOfDragons

Description

@LordOfDragons

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    synced to gitlabSynchronized to OpenXR internal GitLab

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions