RobotecAI / ros2-for-unity

High-performance ROS2 solution for Unity3D
Apache License 2.0
434 stars 55 forks source link

How to solve 'UnsatisfiedLinkError: librcl.so'? #109

Open phs4530 opened 1 month ago

phs4530 commented 1 month ago

Hello! Thank you for reading my question. I am planning to use ros2 using the strongalone version. However, the following error occurs. Is there a solution? Thank you for your reply in advance

-- image

image

omerts commented 3 weeks ago

This is really a show stopper for us, if anyone can help solve this, please update

adamdbrw commented 2 weeks ago

It looks like your ROS distro is not visible. In case of standalone version, ROS libraries should be shipped with the Unity package. Are you building from source, or using a release package?

omerts commented 1 week ago

@adamdbrw I used: Ros2ForUnity_humble_standalone_ubuntu22.zip

adamdbrw commented 1 week ago

Unfortunately, our support for the project is very limited at the moment, as it just works for one project we use it for and all the other projects are on Open 3D Engine, much recommended as free Unity3D alternative

adamdbrw commented 1 week ago

Perhaps @pijaro could help you as he prepared the build

pijaro commented 3 days ago

The second error may be connected to the issue (calling get_data from non-main thread).

Can you confirm, that running everything from the main thread still throws the ROS 2 error?