Skip to content

problem related to custom interface #111

@AlaricXing

Description

@AlaricXing

can anyone tell me how to solve the following problem? really thanks

[rcutils|error_handling.c:108] rcutils_set_error_state()
This error state is being overwritten:

'Type support not from this implementation. Got:
Handle's typesupport identifier (rosidl_typesupport_cpp) is not supported by this library, at ./src/type_support_dispatch.hpp:111
Could not load library libstatus_interface__rosidl_typesupport_fastrtps_cpp.so: dlopen error: libstatus_interface__rosidl_typesupport_fastrtps_cpp.so: cannot open shared object file: No such file or directory, at ./src/shared_library.c:99, at ./src/type_support_dispatch.hpp:76
while fetching it, at ./src/subscription.cpp:116, at ./src/rcl/subscription.c:109'

with this new error message:

'invalid allocator, at ./src/rcl/subscription.c:219'

rcutils_reset_error() should be called after error handling to avoid this.
<<<
invalid allocator, at ./src/rcl/subscription.c:219
terminate called after throwing an instance of 'rclcpp::exceptions::RCLError'
what(): could not create subscription: invalid allocator, at ./src/rcl/subscription.c:219
Aborted (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions