uci-uav-forge / uavf

UAV Forge's ODCL repository.
MIT License
1 stars 1 forks source link

CMakelists.txt is not configured properly for catkin #37

Closed rland93 closed 2 years ago

rland93 commented 2 years ago

I'm getting lots of missing packages and dependencies in CMakeLists.txt.

e.g.

-- uavf: 15 messages, 0 services
CMake Error at /opt/ros/noetic/share/catkin/cmake/catkin_package.cmake:196 (message):
  catkin_package() the catkin package 'roscpp' has been find_package()-ed but
  is not listed as a build dependency in the package.xml
Call Stack (most recent call first):
  /opt/ros/noetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
  uavf/CMakeLists.txt:129 (catkin_package)

-- Configuring incomplete, errors occurred!
See also "/home/ms/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/ms/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [Makefile:320: cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
rland93 commented 2 years ago

https://github.com/uci-uav-forge/uavf/commit/414961cb88fff30b1844c812e2e47a68753411fb fixed