openvr icon indicating copy to clipboard operation
openvr copied to clipboard

libopenvr_api source code incomplete

Open ChristophHaag opened this issue 8 years ago • 1 comments

In src/ there is source code to compile libopenvr_api.a (or if you change one STATIC to SHARED, libopenvr_api.so).

In lib/linux64/libopenvr_api.so there is a precompiled version of that library.

This library contains symbols that have no source code available. For example with the library I compiled:

$ nm -Ca /usr/lib/libopenvr_api.so | grep VRDashboardManager

And with the one distributed in this repository:

$ nm -Ca bin/linux64/libopenvr_api.so | grep VRDashboardManager                                                   :(
0000000000004060 T VRDashboardManager
0000000000238410 b vr::g_pVRDashboardManager

The same extended library is shipped with SteamVR in

  • SteamApps/common/SteamVR/bin/linux64/libopenvr_api.so
  • SteamApps/common/SteamVR/tools/bin/linux64/libopenvr_api.so

What's the point of having the source code for libopenvr_api.so available, when the actually used library has proprietary extensions? Why not put the closed source stuff in an separate library?

ChristophHaag avatar Mar 02 '17 21:03 ChristophHaag

Why not put the closed source stuff in an separate library?

IMHO great idea, it would remove confusing about which parts of the SDK are proprietary and which are not

okawo80085 avatar Nov 06 '21 00:11 okawo80085