Closed Phymin closed 8 months ago
Thanks for your feedback. To build sick_scan_xd with scansegment support (multiScan and picoScan), you need to checkout msgpack11, too:
pushd ./src
git clone https://github.com/SICKAG/msgpack11.git
git clone https://github.com/SICKAG/sick_scan_xd.git
popd
rm -rf ./build ./build_isolated/ ./devel ./devel_isolated/ ./install ./install_isolated/ ./log/
colcon build --packages-select msgpack11 --cmake-args " -DMSGPACK11_BUILD_TESTS=0" --event-handlers console_direct+
source ./install/setup.bash
colcon build --packages-select sick_scan_xd --cmake-args " -DROS_VERSION=2" " -DLDMRS=0" --event-handlers console_direct+
source ./install/setup.bash
See https://github.com/SICKAG/sick_scan_xd/blob/master/INSTALL-ROS2.md#build-on-linux-ros2 for further details and build options.
Alternatively, use the latest release 3.1.0. It contains msgpack11 without dependencies.
Please kindly check my build commands again, the first commands is build the msgpack11 and without error, the error is from build the sick_scan_xd after the msgpack11 build.
Thanks for following up. Building sick_scan_xd fails because msgpack11.hpp is missing. This headerfile should be available after a successful msgpack build.
Which version of sick_scan_xd do you use? If possible, please update to the latest release 3.1.0, which avoids the msgpack11 dependencies of previous versions.
I followed the below commands to build sick_scan_xd package with msgpack11 and without LDMRS:
but I got the following build error:
Could someone explain why and how can I solve it, thanks.