Skip to content

openvr shared library build links embedded library (libjsoncpp) #1176

@zumbi

Description

@zumbi

Hello,

While working with openvr, I wanted to build a shared object (libopenvr_api.so), however I found the library is linked to embedded jsoncpp library. In the README file I believe it warns about using embedded copy to have tighten control of the OpenVR API version, however would it be possible to use system copy instead?

Doing something like the snippet below would be fine?

--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -34,7 +34,6 @@ endif()
 # Set the source group and files.
 set(CORE_FILES
 	openvr_api_public.cpp
-	jsoncpp.cpp
 )
 set(VRCOMMON_FILES
 	vrcommon/dirtools_public.cpp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions