agilexrobotics / hunter_ros

Package for Hunter mobile base
BSD 3-Clause "New" or "Revised" License
40 stars 24 forks source link

catkin build error (wrp_io error) #3

Open s95huang opened 2 years ago

s95huang commented 2 years ago

Hi, I followed the folloing steps

cd ~/catkin_ws/src
git clone --recursive https://github.com/agilexrobotics/ugv_sdk.git
git clone https://github.com/agilexrobotics/ hunter_ros.git

and compiled the pkgs using catkin build but it gives the following error:

CMake Error at hunter_ws/devel/share/wrp_io/cmake/wrp_ioConfig.cmake:173 (message):
  Project 'ugv_sdk' tried to find library 'wrp_io'.  The library is neither a
  target nor built/installed properly.  Did you compile project 'wrp_io'? Did
  you find_package() it before the subdirectory containing its code is
  included?
Call Stack (most recent call first):
  /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:76 (find_package)
  CMakeLists.txt:71 (find_package)

but wrp_io has been built before this. Thanks, Bruce

kivrakh commented 2 years ago

Hi, I had the same problem, did you get any progress on that? Thank you in advance.

kivrakh commented 2 years ago

I think it was because the compiler. I was using catkin build. When I build the entire workspace with catkin_make, the problem is solved.