OSVR / OSVR-Core

The core libraries, applications, and plugins of the OSVR software platform.
Apache License 2.0
329 stars 124 forks source link

PluginHost fails to load Plugins #585

Closed marvsz closed 6 years ago

marvsz commented 6 years ago

Hi, I am trying to start the osvr-server on ubuntu 18.04 and am passing a configuration file like this: sudo ./osvr_server ../share/osvrcore/sample-configs/osvr_server_config.renderManager.HDKv2.0.extended.json but the outoput suggests that some plugins are not loaded correctly. Here is the output: May 02 15:59:36.483 info [OSVR]: Logging for /home/jpfannmueller/360-degree-video-streaming-demo/osvr/bin/osvr_server May 02 15:59:36.483 info [OSVR Server]: Using config file ../share/osvrcore/sample-configs/osvr_server_config.renderManager.HDKv2.0.extended.json from command line argument. May 02 15:59:36.483 info [OSVR Server]: Attempting to load config file '../share/osvrcore/sample-configs/osvr_server_config.renderManager.HDKv2.0.extended.json'. May 02 15:59:36.483 info [OSVR Server]: Constructing server as configured... May 02 15:59:36.484 info [OSVR Server]: Loading auto-loadable plugins... May 02 15:59:36.484 warning [PluginHost]: Failed to load plugin com_osvr_VideoBasedHMDTracker: Failed to load the module /home/jpfannmueller/360-degree-video-streaming-demo/osvr/lib/osvr-plugins-0/com_osvr_VideoBasedHMDTracker.so with error: libosvrPluginKit.so.0: cannot open shared object file: No such file or directory May 02 15:59:36.484 warning [PluginHost]: Failed to load plugin org_osvr_filter_deadreckoningrotation: Failed to load the module /home/jpfannmueller/360-degree-video-streaming-demo/osvr/lib/osvr-plugins-0/org_osvr_filter_deadreckoningrotation.so with error: libosvrVRPNServer.so.0: cannot open shared object file: No such file or directory May 02 15:59:36.484 warning [PluginHost]: Failed to load plugin org_osvr_filter_videoimufusion: Failed to load the module /home/jpfannmueller/360-degree-video-streaming-demo/osvr/lib/osvr-plugins-0/org_osvr_filter_videoimufusion.so with error: libosvrAnalysisPluginKit.so.0: cannot open shared object file: No such file or directory May 02 15:59:36.484 warning [PluginHost]: Failed to load plugin com_osvr_Multiserver: Failed to load the module /home/jpfannmueller/360-degree-video-streaming-demo/osvr/lib/osvr-plugins-0/com_osvr_Multiserver.so with error: libosvrVRPNServer.so.0: cannot open shared object file: No such file or directory May 02 15:59:36.484 warning [PluginHost]: Failed to load plugin org_osvr_filter_oneeuro: Failed to load the module /home/jpfannmueller/360-degree-video-streaming-demo/osvr/lib/osvr-plugins-0/org_osvr_filter_oneeuro.so with error: libosvrAnalysisPluginKit.so.0: cannot open shared object file: No such file or directory May 02 15:59:36.484 warning [PluginHost]: Failed to load plugin org_osvr_unifiedvideoinertial: Failed to load the module /home/jpfannmueller/360-degree-video-streaming-demo/osvr/lib/osvr-plugins-0/org_osvr_unifiedvideoinertial.so with error: libosvrAnalysisPluginKit.so.0: cannot open shared object file: No such file or directory May 02 15:59:36.484 info [OSVR Server]: Loading plugins... May 02 15:59:36.484 info [OSVR Server]: Instantiating configured drivers... May 02 15:59:36.484 info [OSVR Server]: Aliases found and parsed from config file. May 02 15:59:36.485 info [OSVR Server]: Display descriptor found and parsed from config file. May 02 15:59:36.485 info [OSVR Server]: RenderManager config found and parsed from the config file. May 02 15:59:36.485 info [OSVR Server]: Triggering automatic hardware detection... May 02 15:59:36.485 info [OSVR Server]: Registering shutdown handler... May 02 15:59:36.485 info [OSVR Server]: Starting server mainloop: OSVR Server is ready to go! May 02 15:59:36.485 info [OSVR Server]: Performing hardware auto-detection. May 02 15:59:36.485 info [OSVR Server]: Sent path tree to clients.

I already added /home/jpfannmueller/360-degree-video-streaming-demo/osvr/lib and /home/jpfannmueller/360-degree-video-streaming-demo/osvr/lib/osvr-plugins-0/ to my D_LIBRARY_PATH but it does not seem to solve the issue.

If someone has any advice on how to fix this i would really appreciate it. Thanks

marvsz commented 6 years ago

If anyone runs into the same problem: I fixed this and got everything working again when I reverted the OSVR-Core and OSVR-RenderManager repos to Dezember 2017 and recompiled everything. I do not know where the issue was or what exactly but this did seem to do the trick