tuw-robotics / tuw_marker_detection

28 stars 28 forks source link

catkin build fails due to missing package? #4

Open eyildiz-ugoe opened 5 years ago

eyildiz-ugoe commented 5 years ago
 catkin build tuw_checkerboard 
---------------------------------------------------------
Profile:                     default
Extending:        [explicit] /opt/ros/melodic
Workspace:                   /home/username/ros_ws
---------------------------------------------------------
Build Space:        [exists] /home/username/ros_ws/build_cb
Devel Space:        [exists] /home/username/ros_ws/devel_cb
Install Space:      [unused] /home/username/ros_ws/install_cb
Log Space:          [exists] /home/username/ros_ws/logs_cb
Source Space:       [exists] /home/username/ros_ws/src
DESTDIR:            [unused] None
---------------------------------------------------------
Devel Space Layout:          merged
Install Space Layout:        None
---------------------------------------------------------
Additional CMake Args:       -DCMAKE_BUILD_TYPE=Release
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.
---------------------------------------------------------
[build] Found '34' packages in 0.0 seconds.                                                         
[build] Updating package table.                                                                     
Starting  >>> tuw_checkerboard                                                                      
____________________________________________________________________________________________________
Errors     << tuw_checkerboard:cmake /home/username/ros_ws/logs_cb/tuw_checkerboard/build.cmake.000.log 
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "marker_msgs" with
  any of the following names:

    marker_msgsConfig.cmake
    marker_msgs-config.cmake

  Add the installation prefix of "marker_msgs" to CMAKE_PREFIX_PATH or set
  "marker_msgs_DIR" to a directory containing one of the above files.  If
  "marker_msgs" provides a separate development package or SDK, be sure it
  has been installed.

Call Stack (most recent call first):
  CMakeLists.txt:7 (find_package)

cd /home/username/ros_ws/build_cb/tuw_checkerboard; catkin build --get-env tuw_checkerboard | catkin env -si  /usr/bin/cmake /home/username/ros_ws/src/tuw_marker_detection/tuw_checkerboard --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/username/ros_ws/devel_cb -DCMAKE_INSTALL_PREFIX=/home/username/ros_ws/install_cb -DCMAKE_BUILD_TYPE=Release; cd -
....................................................................................................
Failed     << tuw_checkerboard:cmake          [ Exited with code 1 ]                                
Failed    <<< tuw_checkerboard                [ 2.7 seconds ]                                       
[build] Summary: 0 of 1 packages succeeded.                                                         
[build]   Ignored:   33 packages were skipped or are blacklisted.                                   
[build]   Warnings:  None.                                                                          
[build]   Abandoned: None.                                                                          
[build]   Failed:    1 packages failed.                                                             
[build] Runtime: 2.9 seconds total.                                                                 
[build] Note: Workspace packages have changed, please re-source setup files to use them.
mjm522 commented 4 years ago

I figured this dependency is required.

https://github.com/tuw-robotics/marker_msgs.git

I have other errors now. But just fixed this error. These errors are due to the existence of the native aruco packages from pal_robotics (https://github.com/pal-robotics/aruco_ros) Remove this repo and do another catkin_make. For me it got successfully built

Though no errors will be shown, the following packages are further required to make them work.

https://github.com/tuw-robotics/marker_rviz_plugin https://github.com/tuw-robotics/tuw_uvc

negvet commented 4 years ago

This dependency was the only one required for me, just added it to catkin/src

https://github.com/tuw-robotics/marker_msgs.git