Mechazo11 / ros2_orb_slam3

A ROS2 Humble package natively implementing ORB-SLAM3 V1.0 VSLAM framework
25 stars 7 forks source link

Error while colcon building #9

Closed manvimarshmallow closed 1 day ago

manvimarshmallow commented 2 weeks ago

`Starting >>> ros2_orb_slam3 --- stderr: ros2_orb_slam3 /usr/bin/ld: /lib/libgdal.so.30: undefined reference tocurl_easy_getinfo@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to curl_multi_perform@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference tocurl_multi_cleanup@CURL_OPENSSL_4' /usr/bin/ld: /lib/x86_64-linux-gnu/libnetcdf.so.19: undefined reference to curl_global_init@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference tocurl_mime_init@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to TIFFReadFromUserBuffer@LIBTIFF_4.0' /usr/bin/ld: /lib/libgdal.so.30: undefined reference toTIFFGetStrileOffsetWithErr@LIBTIFF_4.0' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to curl_multi_remove_handle@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference tocurl_mime_addpart@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to curl_version_info@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference tocurl_mime_name@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to curl_mime_filename@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference tocurl_multi_info_read@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to curl_easy_setopt@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference toTIFFDeferStrileArrayWriting@LIBTIFF_4.0' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to TIFFForceStrileArrayWriting@LIBTIFF_4.0' /usr/bin/ld: /lib/libgdal.so.30: undefined reference toTIFFReadRGBATileExt@LIBTIFF_4.0' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to curl_mime_free@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference tocurl_easy_cleanup@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to curl_mime_data_cb@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference toTIFFReadRGBAStripExt@LIBTIFF_4.0' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to curl_easy_perform@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference tocurl_easy_init@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to curl_multi_add_handle@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference toTIFFGetStrileOffset@LIBTIFF_4.0' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to TIFFGetStrileByteCount@LIBTIFF_4.0' /usr/bin/ld: /lib/libgdal.so.30: undefined reference tocurl_slist_free_all@CURL_OPENSSL_4' /usr/bin/ld: /lib/x86_64-linux-gnu/libnetcdf.so.19: undefined reference to curl_easy_strerror@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference toTIFFGetStrileByteCountWithErr@LIBTIFF_4.0' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to curl_slist_append@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference tocurl_multi_poll@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to curl_version@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference tocurl_multi_setopt@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to curl_mime_data@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference tocurl_multi_init@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to curl_multi_wait@CURL_OPENSSL_4' /usr/bin/ld: /lib/x86_64-linux-gnu/libnetcdf.so.19: undefined reference tocurl_global_cleanup@CURL_OPENSSL_4' collect2: error: ld returned 1 exit status gmake[2]: [CMakeFiles/mono_node_cpp.dir/build.make:269: mono_node_cpp] Error 1 gmake[1]: [CMakeFiles/Makefile2:168: CMakeFiles/mono_node_cpp.dir/all] Error 2 gmake: *** [Makefile:146: all] Error 2

Failed <<< ros2_orb_slam3 [1.84s, exited with code 2]

Summary: 0 packages finished [2.27s] 1 package failed: ros2_orb_slam3 1 package had stderr output: ros2_orb_slam3 `` Please guide me, I am running this on Ubuntu 22.04 with Ros2 humble

Mechazo11 commented 1 week ago

Hi, According to this post post I would start by checking if Pillow library is installed or not. This command should do the trick

pip3 show Pillow

You can try to install it using this command pip3 install --upgrade Pillow

Let me know if this solves the problem.

With best, @Mechazo11

manvimarshmallow commented 1 week ago

Thank you! I was not able to apply this solution but I managed to build the package after uninstalling Anaconda. I am not sure how/why did that work

Mechazo11 commented 1 day ago

Hi @manvimarshmallow sorry for the late reply. Happy to hear that you were able to get the package built. Good luck with your project.