Skip to content

Missing symbol at runtime using tag v1.0 #9

@kaidegast

Description

@kaidegast

I encountered "symbol lookup" errors at run time when launching yarprobotinterface:

ex. yarprobotinterface: symbol lookup error: /usr/local/src/robot/robotology-superbuild/build/install/lib/yarp/yarp_rpLidar4.so: undefined symbol: _ZN2sl8internal20RPLidarProtocolCodecC1Ev and more

I solved this issue by adding the missing components to the CMakeLists.txt of rpLidar4:

set(RPLIDAR_SDK_SRCS
...
${RPLIDAR_21_SDK_ROOT}/src/sl_lidarprotocol_codec.cpp
${RPLIDAR_21_SDK_ROOT}/src/sl_async_transceiver.cpp
...
${RPLIDAR_21_SDK_ROOT}/src/dataunpacker/dataunpacker.cpp
${RPLIDAR_21_SDK_ROOT}/src/dataunpacker/unpacker/handler_capsules.cpp
${RPLIDAR_21_SDK_ROOT}/src/dataunpacker/unpacker/handler_hqnode.cpp
${RPLIDAR_21_SDK_ROOT}/src/dataunpacker/unpacker/handler_normalnode.cpp
)

@mfussi66

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