BrettRD/ros-gst-bridge

File "install/gst_bridge/lib/gst_bridge/librosgstbridge.so" appears to be a GStreamer plugin, but it failed to initialize

XingkaiEden opened this issue · 2 comments

Hi There,

Thanks for the job.

I am still stuck at the first step.

Environment: Ubuntu 18, arm processor, ros2-dashing

I checkout to bd9b63d commit which supports dashing. And colcon build all finished without errors.
But when I try to run gst-inspect-1.0 install/gst_bridge/lib/gst_bridge/librosgstbridge.so. It says can not initial size the plugin:

~/remote_dev_ws$ gst-inspect-1.0 install/gst_bridge/lib/gst_bridge/librosgstbridge.so
Could not load plugin file: File "install/gst_bridge/lib/gst_bridge/librosgstbridge.so" appears to be a GStreamer plugin, but it failed to initialize

I confirmed I have the librosgstbridge.so file in the right directory.
And if I try to inspect a specific element, then it couldn't find it:

~/remote_dev_ws$ GST_PLUGIN_PATH=$COLCON_PREFIX_PATH/gst_bridge/lib/gst_bridge gst-inspect-1.0 rosimagesrc
No such element or plugin 'rosimagesrc'

You are running an old version with bugs that are fixed in foxy and galactic.
I have created a new branch called dashing where I reverted only 819f6b6.
This should bring dashing support to the latest fixes.

Can you please try that?

Thank you so much, it is working now 👍