Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

catkin_make not building #419

Open
hamdykhfagy opened this issue Oct 29, 2023 · 0 comments
Open

catkin_make not building #419

hamdykhfagy opened this issue Oct 29, 2023 · 0 comments
Labels

Comments

@hamdykhfagy
Copy link

hamdykhfagy commented Oct 29, 2023

Describe the bug
I can't compile the master

To Reproduce
Steps to reproduce the behavior:

  1. git recursive pull
  2. disable cuda from CMakeLists
  3. catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python3

Expected behavior

[ 97%] Built target darknet_ros_lib
[ 98%] Linking CXX executable /home/catkin_ws/devel/lib/darknet_ros/darknet_ros
[100%] Built target darknet_ros_nodelet
/usr/bin/ld: warning: libopencv_highgui.so.4.2, needed by /home/catkin_ws/devel/lib/libdarknet_ros_lib.so, may conflict with libopencv_highgui.so.406
/usr/bin/ld: warning: libopencv_videoio.so.4.2, needed by /home/catkin_ws/devel/lib/libdarknet_ros_lib.so, may conflict with libopencv_videoio.so.406
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFReadRGBATileExt@LIBTIFF_4.0'
/usr/bin/ld: /lib/x86_64-linux-gnu/libwayland-client.so.0: undefined reference to `ffi_type_void@LIBFFI_BASE_7.0'
/usr/bin/ld: /lib/x86_64-linux-gnu/libwayland-client.so.0: undefined reference to `ffi_prep_cif@LIBFFI_BASE_7.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFReadRGBAStripExt@LIBTIFF_4.0'
/usr/bin/ld: /lib/x86_64-linux-gnu/libwayland-client.so.0: undefined reference to `ffi_type_uint32@LIBFFI_BASE_7.0'
/usr/bin/ld: /lib/x86_64-linux-gnu/libwayland-client.so.0: undefined reference to `ffi_type_sint32@LIBFFI_BASE_7.0'
/usr/bin/ld: /home/anaconda3/lib/libopencv_core.so.4.6.0: undefined reference to `std::__exception_ptr::exception_ptr::_M_release()@CXXABI_1.3.13'
/usr/bin/ld: /lib/x86_64-linux-gnu/libwayland-client.so.0: undefined reference to `ffi_call@LIBFFI_BASE_7.0'
/usr/bin/ld: /lib/x86_64-linux-gnu/libwayland-client.so.0: undefined reference to `ffi_type_pointer@LIBFFI_BASE_7.0'
/usr/bin/ld: /home/anaconda3/lib/libopencv_highgui.so.4.6.0: undefined reference to `std::__throw_bad_array_new_length()@GLIBCXX_3.4.29'
/usr/bin/ld: /home/anaconda3/lib/libopencv_core.so.4.6.0: undefined reference to `std::__exception_ptr::exception_ptr::_M_addref()@CXXABI_1.3.13'
collect2: error: ld returned 1 exit status
make[2]: *** [darknet_ros/darknet_ros/CMakeFiles/darknet_ros.dir/build.make:230: /home/catkin_ws/devel/lib/darknet_ros/darknet_ros] Error 1
make[1]: *** [CMakeFiles/Makefile2:2625: darknet_ros/darknet_ros/CMakeFiles/darknet_ros.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Invoking "make -j12 -l12" failed

System (please complete the following information):

  • OS: Ubuntu 20.04
  • ROS version: Noetic
  • GPU when relevant: NVidia p1000

Additional context

  • I'm using open cv 4.6
  • nvcc --version : release 10.1, V10.1.243
@hamdykhfagy hamdykhfagy changed the title catkin_make not linking catkin_make not building Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant