ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Ming Fai's profile - activity

2016-03-18 14:28:44 -0500 received badge  Notable Question (source)
2015-10-19 10:19:21 -0500 commented question ROSTutorialsWritingPublisherSubscriber(c++) : cannot make files

Hi:

My OS is Ubuntu 15.04, installed using the debians, following the Wiki page "jade/ Installation/Ubuntu.

2015-10-18 20:23:29 -0500 received badge  Popular Question (source)
2015-10-18 04:56:07 -0500 asked a question ROSTutorialsWritingPublisherSubscriber(c++) : cannot make files

Hi

I am trying to complete the tutorial : ROSTutorialsWritingPublisherSubscriber(c++), using ROSbuild (Jade).

When I enter the make command, the error below pops up:

 Linking CXX executable ../bin/talker
/usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libboost_signals.so
/usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libboost_filesystem.so
/usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/liblog4cxx.so
/usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libboost_regex.so
/usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libboost_date_time.so
/usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libboost_system.so
/usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libboost_thread.so
/usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libpthread.so
/usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libconsole_bridge.so
collect2: error: ld returned 1 exit status
CMakeFiles/talker.dir/build.make:108: recipe for target '../bin/talker' failed
make[3]: *** [../bin/talker] Error 1
make[3]: Leaving directory '/home/mingfai_yee/jade_workspace/sandbox/beginner_tutorials/build'
CMakeFiles/Makefile2:591: recipe for target 'CMakeFiles/talker.dir/all' failed
make[2]: *** [CMakeFiles/talker.dir/all] Error 2
make[2]: Leaving directory '/home/mingfai_yee/jade_workspace/sandbox/beginner_tutorials/build'
Makefile:117: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/mingfai_yee/jade_workspace/sandbox/beginner_tutorials/build'
/opt/ros/jade/share/mk/cmake.mk:7: recipe for target 'all' failed
make: *** [all] Error 2

It seems some library files are missing from gnu directory.

I tried sudo apt-get install build-essential and it seems the GNU GCC is up-to-date.

Appreciate any tips.

Thank you