Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Error loading library when using BT_REGISTER_NODES #102

Closed
@hlzl

Description

@hlzl

Hi Davide,

I recently tried to switch from registering the nodes statically to using the plugin and registering them dynamically. I basically adopted the way you dynamically register the dummy nodes in your t01 example. However when running my implementation, the loader from the SharedLibrary seems to not find a necessary symbol:

ERROR loading library [/home/usr/catkin_ws/devel/lib/libmy_nodes.so]: can't find symbol [BT_RegisterNodesFromPlugin]

I could not properly figure out how your macro for BT_REGISTER_NODES works but it seems like BT_RegisterNodesFromPlugin doesn't properly get declared inside bt_factory.h.

Any help on how I could get this to work would be appreciated!

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