Skip to content

UnsatisfiedLinkError: tier4_simulation_msgs__rosidl_typesupport_c.dll #186

Open
@samanipour

Description

@samanipour

Hi, @mozhoku @SujayAmberkar @Aysenayilmaz @xmfcx if you could help me to solve this issue I would be very appreciated

I'm trying to setup AWSIM-Lab as Unity Project on Windows

System setup:

When I run the demo I got the following error, it seems the error raised from

UnsatisfiedLinkError: tier4_simulation_msgs__rosidl_typesupport_c.dll ROS2.DllLoadUtilsWindowsDesktop.ROS2.DllLoadUtils.LoadLibraryNoSuffix (System.String fileName) (at <c2fd60e12ae74b49b3633ef9563fbe65>:0) tier4_simulation_msgs.msg.DummyObject..cctor () (at <875a1a567ccc4ffe8e2115395ef84ff7>:0) Rethrow as TypeInitializationException: The type initializer for 'tier4_simulation_msgs.msg.DummyObject' threw an exception. (wrapper write-barrier) System.Object.wbarrier_conc(intptr) System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) (at <51fded79cd284d4d911c5949aff4cb21>:0) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) (at <51fded79cd284d4d911c5949aff4cb21>:0) System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic, System.Boolean wrapExceptions) (at <51fded79cd284d4d911c5949aff4cb21>:0) System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean wrapExceptions, System.Boolean skipCheckThis, System.Boolean fillCache) (at <51fded79cd284d4d911c5949aff4cb21>:0) System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Boolean wrapExceptions, System.Threading.StackCrawlMark& stackMark) (at <51fded79cd284d4d911c5949aff4cb21>:0) System.Activator.CreateInstance[T] () (at <51fded79cd284d4d911c5949aff4cb21>:0) ROS2.Subscription1[T]..ctor (System.String subTopic, ROS2.Node node, System.Action1[T] cb, ROS2.QualityOfServiceProfile qos) (at <2034886caef046439cfa6ebcd9ed8cd7>:0) ROS2.Node.CreateSubscription[T] (System.String topic, System.Action1[T] callback, ROS2.QualityOfServiceProfile qos) (at <2034886caef046439cfa6ebcd9ed8cd7>:0)
ROS2.ROS2Node.CreateSubscription[T] (System.String topicName, System.Action1[T] callback, ROS2.QualityOfServiceProfile qos) (at Assets/Ros2ForUnity/Scripts/ROS2Node.cs:92) AWSIM.SimulatorROS2Node.CreateSubscription[T] (System.String topicName, System.Action1[T] callback, ROS2.QualityOfServiceProfile qos) (at Assets/AWSIM/Scripts/ROS/SimulatorROS2Node.cs:86)
AWSIM.RVIZNPCSpawner.Start () (at Assets/AWSIM/Scripts/NPCs/RvizNPCSpawner/RVIZNPCSpawner.cs:53)`

Image

I should also mentioned that there are some other errors related to missing RobotecGPULidar which could be solved by the following proposed solution in this issue.

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