Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Errors << bebop_driver:make /home/<user>/bebop_ws/logs/bebop_driver/build.make.000.log

Hi, I am trying to build the bebop_driver, but whenever I try to run ' catkin build ' in the workspace, I get the following error:

david@uno:~/bebop_ws$ catkin build

Profile:                     default
Extending:             [env] /opt/ros/kinetic
Workspace:                   /home/david/bebop_ws

Source Space:       [exists] /home/david/bebop_ws/src
Log Space:         [missing] /home/david/bebop_ws/logs
Build Space:        [exists] /home/david/bebop_ws/build
Devel Space:        [exists] /home/david/bebop_ws/devel
Install Space:      [unused] /home/david/bebop_ws/install

DESTDIR:            [unused] None

Devel Space Layout:          linked
Install Space Layout:        None

Additional CMake Args:       None
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False

Whitelisted Packages:        None
Blacklisted Packages:        None

Workspace configuration appears valid.

NOTE: Forcing CMake to run for each package.

[build] Found '5' packages in 0.0 seconds.                                                          
[build] Updating package table.                                                                     

    Starting  >>> catkin_tools_prebuild   


Finished  <<< catkin_tools_prebuild                [ 1.5 seconds ]                                  
Starting  >>> bebop_description                                                                     
Starting  >>> bebop_msgs                                                                            
Finished  <<< bebop_description                    [ 1.5 seconds ]                                  
Finished  <<< bebop_msgs                           [ 8.7 seconds ]                                  
Starting  >>> bebop_driver                                                                          
____________________________________________________________________________________________________
Warnings   << bebop_driver:cmake /home/david/bebop_ws/logs/bebop_driver/build.cmake.000.log         
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:166 (message):
  catkin_package() DEPENDS on 'system_lib' but neither
  'system_lib_INCLUDE_DIRS' nor 'system_lib_LIBRARIES' is defined.
Call Stack (most recent call first):
  /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)

  CMakeLists.txt:40 (catkin_package)


CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:166 (message):
  catkin_package() DEPENDS on 'libavcodec' but neither
  'libavcodec_INCLUDE_DIRS' nor 'libavcodec_LIBRARIES' is defined.
Call Stack (most recent call first):
  /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
  CMakeLists.txt:40 (catkin_package)


CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:166 (message):

  catkin_package() DEPENDS on 'libavformat' but neither
  'libavformat_INCLUDE_DIRS' nor 'libavformat_LIBRARIES' is defined.
Call Stack (most recent call first):
  /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
  CMakeLists.txt:40 (catkin_package)


CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:166 (message):
  catkin_package() DEPENDS on 'libswscale' but neither
  'libswscale_INCLUDE_DIRS' nor 'libswscale_LIBRARIES' is defined.
Call Stack (most recent call first):



/opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
  CMakeLists.txt:40 (catkin_package)


cd /home/david/bebop_ws/build/bebop_driver; catkin build --get-env bebop_driver | catkin env -si  /usr/local/bin/cmake /home/david/bebop_ws/src/bebop_autonomy/bebop_driver --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/david/bebop_ws/devel/.private/bebop_driver -DCMAKE_INSTALL_PREFIX=/home/david/bebop_ws/install; cd -

____________________________________________________________________________________________________
Errors     << bebop_driver:make /home/david/bebop_ws/logs/bebop_driver/build.make.000.log           
CMakeFiles/bebop_driver_node.dir/src/bebop_driver_node.cpp.o: In function `main':
bebop_driver_node.cpp:(.text+0x6a): undefined reference to `ros::init(int&, char**, std::string const&, unsigned int)'

bebop_driver_node.cpp:(.text+0x9b): undefined reference to `ros::names::getRemappings()'
bebop_driver_node.cpp:(.text+0xc1): undefined reference to `ros::this_node::getName()'
bebop_driver_node.cpp:(.text+0x128): undefined reference to `nodelet::Loader::load(std::string const&, std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, std::vector<std::string, std::allocator<std::string> > const&)'
bebop_driver_node.cpp:(.text+0x15c): undefined reference to `nodelet::Loader::listLoadedNodelets()'
bebop_driver_node.cpp:(.text+0x24d): undefined reference to `ros::console::initializeLogLocation(ros::console::LogLocation*, std::string const&, ros::console::levels::Level)'
bebop_driver_node.cpp:(.text+0x364): undefined reference to 

ros::console::initializeLogLocation(ros::console::LogLocation*, std::string const&, ros::console::levels::Level)'
collect2: error: ld returned 1 exit status
make[2]: *** [/home/david/bebop_ws/devel/.private/bebop_driver/lib/bebop_driver/bebop_driver_node] Error 1
make[1]: *** [CMakeFiles/bebop_driver_node.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
cd 

/home/david/bebop_ws/build/bebop_driver; catkin build --get-env bebop_driver | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -

Failed     << bebop_driver:make                    [ Exited with code 2 ]                           
Failed    <<< bebop_driver                         [ 19.7 seconds ]                                 
Abandoned <<< bebop_tools                          [ Unrelated job failed ]                         
[build] Summary: 3 of 5 packages succeeded.                                                         
[build]   Ignored:   1 packages were skipped or are blacklisted.                                    
[build]   Warnings:  1 packages succeeded with warnings.                                            
[build]   Abandoned: 1 packages were abandoned.                                                     
[build]   Failed:    1 packages failed.                                                             
[build] Runtime: 29.9 seconds total.                                                                
[build] Note: Workspace packages have changed, please re-source setup files to use them.

I need some help please!!