larics / lpms_imu

A ROS driver for LP-RESEARCH IMU sensors.
MIT License
24 stars 14 forks source link

Catkin_make error on nvidia jetson tx2 #17

Open arkinrc opened 5 years ago

arkinrc commented 5 years ago

i have successfully installed all the required parts of this lpms-cu2 imu on ubuntu 16.04 based PC however when i moved towards jetson tx2, i found this issue. i have downloaded and installed the latest 1.3.5 binary version for arm64 software from website. Kindly check the photo given below regarding error of catkin_make. Looking for your feedback. Thanks in advance.

/usr/bin/ld: warning: libpugixml.so.1, needed by /usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib/libLpSensor.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib/libLpSensor.so: undefined reference to pugi::xml_document::save_file(char const*, char const*, unsigned int, pugi::xml_encoding) const' /usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib/libLpSensor.so: undefined reference topugi::xml_node::append_child(pugi::xml_node_type)' /usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib/libLpSensor.so: undefined reference to pugi::xml_document::xml_document()' /usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib/libLpSensor.so: undefined reference topugi::xml_parse_result::operator bool() const' /usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib/libLpSensor.so: undefined reference to pugi::xml_document::load_file(char const*, unsigned int, pugi::xml_encoding)' /usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib/libLpSensor.so: undefined reference topugi::xml_node::child(char const) const' /usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib/libLpSensor.so: undefined reference to pugi::xml_document::~xml_document()' /usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib/libLpSensor.so: undefined reference topugi::xml_node::operator!() const' /usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib/libLpSensor.so: undefined reference to `pugi::xml_node::append_child(char const)' /usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib/libLpSensor.so: undefined reference to pugi::xml_node::set_value(char const*)' /usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib/libLpSensor.so: undefined reference topugi::xml_node::child_value(char const*) const' collect2: error: ld returned 1 exit status lpms_imu/CMakeFiles/lpms_imu_node.dir/build.make:116: recipe for target '/home/nvidia/catkin_ws/devel/lib/lpms_imu/lpms_imu_node' failed make[2]: [/home/nvidia/catkin_ws/devel/lib/lpms_imu/lpms_imu_node] Error 1 CMakeFiles/Makefile2:10097: recipe for target 'lpms_imu/CMakeFiles/lpms_imu_node.dir/all' failed make[1]: [lpms_imu/CMakeFiles/lpms_imu_node.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j6 -l6" failed

abcd

TobiSchluter commented 5 years ago

I think all you need to do is install libpugixml-dev, i.e. sudo apt-get install libpugixml-dev

arkinrc commented 5 years ago

ok. i will try it later on. thanks