Skip to content

Windows: UnsatisfiedLinkError: rcl.dll #15

@berkayalpcakal

Description

@berkayalpcakal

Hello,

I am trying the unitypackage under this release on my Windows 10 machine.
I use Unity 2019.4.11 and ROS2_dashing. Here is the error that the Unity throws;

UnsatisfiedLinkError: rcl.dll
ROS2.Utils.DllLoadUtilsWindowsDesktop.ROS2.Utils.DllLoadUtils.LoadLibraryNoSuffix (System.String fileName) (at <f635e0a10af54e25ad204b14f8f3d243>:0)
rclcs.NativeMethods..cctor () (at <2e68923f6c464cc68a07b80ecb76c56b>:0)
Rethrow as TypeInitializationException: The type initializer for 'rclcs.NativeMethods' threw an exception.
SharedRosContext.CreateRosContext () (at Assets/ROS2/Scripts/MonoBehaviour/SharedRosContext.cs:39)
SharedRosContext.Init () (at Assets/ROS2/Scripts/MonoBehaviour/SharedRosContext.cs:32)
SharedRosContext.OnValidate () (at Assets/ROS2/Scripts/MonoBehaviour/SharedRosContext.cs:19)

I have seen this related issue #5, I tried launching the Unity from the command prompt that calls ros2_dashing local_setup.bat.
But it did not resolved the issue.

Is there anything I might be missing?
Thanks

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