Items with no label
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
3338 Discussions

Got error when using SLAM library?

品吳
Beginner
1,778 Views

Hi all,

I want to use SLAM library to get pose data and map from ZR300 .However I got following error when build the code:

[ 97%] Built target tests_object

[ 98%] Built target realsense_ros_object_sample1

[100%] Built target realsense_ros_object_viewer

[100%] Built target tests_slam

[100%] Linking CXX executable /home/edxian/catkin_ws/devel/lib/slam_tutorial/pose

/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libSP_Core.so: undefined reference to `gzgets'

/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libSP_Core.so: undefined reference to `gzopen'

/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libSP_Core.so: undefined reference to `gzclose'

/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libSP_Core.so: undefined reference to `gzputs'

/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libSP_Core.so: undefined reference to `gzrewind'

/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libSP_Core.so: undefined reference to `gzeof'

collect2: error: ld returned 1 exit status

make[2]: *** [/home/edxian/catkin_ws/devel/lib/slam_tutorial/pose] Error 1

make[1]: *** [ROS-R200/slam_tutorial/CMakeFiles/pose.dir/all] Error 2

make: *** [all] Error 2

Invoking "make -j4 -l4" failed

This is my CmakeLists:

https://github.com/EdXian/ROS-R200/blob/master/slam_tutorial/CMakeLists.txt ROS-R200/CMakeLists.txt at master · EdXian/ROS-R200 · GitHub

Any idea?

Thanks

OS : Ubuntu

Tools : cmake

Device : ZR300

0 Kudos
1 Solution
1 Reply
idata
Employee
748 Views
0 Kudos
Reply