UnityRos2 icon indicating copy to clipboard operation
UnityRos2 copied to clipboard

Windows: UnsatisfiedLinkError: rcl.dll

Open berkayalpcakal opened this issue 4 years ago • 1 comments

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

berkayalpcakal avatar Oct 12 '20 14:10 berkayalpcakal

Have you solved this problem?

WZW16 avatar Jan 05 '24 03:01 WZW16