We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Getting the following compilation error on ros-kinetic:
Compiling generated code for qt_gui_cpp_sip Python bindings... make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. /usr/bin/ld: cannot find -l-lpthread collect2: error: ld returned 1 exit status make[3]: *** [Makefile:38: "/home/pi/ros_catkin_ws/devel_isolated/qt_gui_cpp/lib/python2.7/dist-packages/qt_gui_cpp/libqt_gui_cpp_sip".so] Error 1 make[2]: *** [src/qt_gui_cpp_sip/CMakeFiles/libqt_gui_cpp_sip.dir/build.make:61: /home/pi/ros_catkin_ws/devel_isolated/qt_gui_cpp/lib/python2.7/dist-packages/qt_gui_cpp/libqt_gui_cpp_sip.so] Error 2 make[1]: *** [CMakeFiles/Makefile2:380: src/qt_gui_cpp_sip/CMakeFiles/libqt_gui_cpp_sip.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 <== Failed to process package 'qt_gui_cpp': Command '['/home/pi/ros_catkin_ws/install_isolated/env.sh', 'make', '-j4', '-l4']' returned non-zero exit status 2
I believe it is a simple typo. By changing the entry "-l-lpthread" to "-lpthread" on ./qt_gui_cpp/sip/qt_gui_cpp_sip/Makefile fixes it for me.
The text was updated successfully, but these errors were encountered:
Please provide more context: what version of qt_gui_core and python_qt_binding are you using? What platform are you building this on?
qt_gui_core
python_qt_binding
Sorry, something went wrong.
The versions of qt in use are: qt_gui_cpp=0.3.11-0 python_qt_binding=0.3.4-0 Compilation Platform: Raspberry Pi 3 B, Debian Buster
Those versions were automatically set to be fetched by rosinstall_generator, desktop version:
rosinstall_generator
rosinstall_generator desktop --rosdistro kinetic --deps --wet-only --tar > kinetic-desktop-wet.rosinstall
ROS Kinetic doesn't target Debian Buster so it isn't surprising that it fails. I assume you will need this upcoming patch: ros/catkin#1021.
I will close this ticket as a duplicate.
No branches or pull requests
Getting the following compilation error on ros-kinetic:
I believe it is a simple typo. By changing the entry "-l-lpthread" to "-lpthread" on
./qt_gui_cpp/sip/qt_gui_cpp_sip/Makefile fixes it for me.
The text was updated successfully, but these errors were encountered: