uzh-rpg / rpg_vikit

Vision-Kit provides some tools for your vision/robotics project.
118 stars 115 forks source link

Unable to build vikit_ros - cannot find vikit_common #29

Open ElisabethE opened 7 years ago

ElisabethE commented 7 years ago

Hi!

So, I try to compile vikit_ros by using catkin build. Since the catkin crew is slowly migrating to catkin build from catkin_make I thought this to be a good move.

However, when I issue the following commands, the below result happens. Please advise, it looks like vikit_common is not installed properly even though it is built properly. Is there some config option I can change?

$ catkin build vikit_common vikit_ros
-----------------------------------------------------------------------
Profile:                     default
Extending:          [cached] /home/elly/mybot_ws/devel:/opt/ros/kinetic
Workspace:                   /home/elly/catkin_ws
-----------------------------------------------------------------------
Source Space:       [exists] /home/elly/catkin_ws/src
Log Space:          [exists] /home/elly/catkin_ws/logs
Build Space:        [exists] /home/elly/catkin_ws/build
Devel Space:        [exists] /home/elly/catkin_ws/devel
Install Space:      [exists] /home/elly/catkin_ws/install
DESTDIR:            [unused] None
-----------------------------------------------------------------------
Devel Space Layout:          linked
Install Space Layout:        merged
-----------------------------------------------------------------------
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.
-----------------------------------------------------------------------
[build] Found '15' packages in 0.0 seconds.                                                                                                   
Starting  >>> vikit_common                                                                                                                    
Finished  <<< vikit_common                [ 1.0 seconds ]                                                                                     
Starting  >>> vikit_ros                                                                                                                       
______________________________________________________________________________________________________________________________________________
Errors     << vikit_ros:cmake /home/elly/catkin_ws/logs/vikit_ros/build.cmake.008.log                                                         
CMake Error at /home/elly/catkin_ws/install/share/vikit_common/cmake/vikit_commonConfig.cmake:141 (message):
  Project 'vikit_ros' tried to find library 'vikit_common'.  The library is
  neither a target nor built/installed properly.  Did you compile project
  'vikit_common'? Did you find_package() it before the subdirectory
  containing its code is included?
Call Stack (most recent call first):
  /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package)
  CMakeLists.txt:17 (FIND_PACKAGE)

cd /home/elly/catkin_ws/build/vikit_ros; catkin build --get-env vikit_ros | catkin env -si  /usr/bin/cmake /home/elly/catkin_ws/src/rpg_vikit/vikit_ros --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/elly/catkin_ws/devel/.private/vikit_ros -DCMAKE_INSTALL_PREFIX=/home/elly/catkin_ws/install; cd -
..............................................................................................................................................
Failed     << vikit_ros:cmake             [ Exited with code 1 ]                                                                              
Failed    <<< vikit_ros                   [ 1.1 seconds ]                                                                                     
[build] Summary: 1 of 2 packages succeeded.                                                                                                   
[build]   Ignored:   13 packages were skipped or are blacklisted.                                                                             
[build]   Warnings:  None.                                                                                                                    
[build]   Abandoned: None.                                                                                                                    
[build]   Failed:    1 packages failed.                                                                                                       
[build] Runtime: 2.3 seconds total.                                                                                                           
padzak1000 commented 3 years ago

Anyone fixed that already?