byu-magicc / roscopter

*Under Development* - A fully-featured multirotor autopilot for ROS
http://scholarsarchive.byu.edu/cgi/viewcontent.cgi?article=2324&context=facpub
52 stars 38 forks source link

Having a problem building the package #35

Closed memphis242 closed 4 years ago

memphis242 commented 5 years ago

I am still new to ROS and not sure how the configuration of builds works but I get the following error when running catkin_make from ~/catkin_ws:

roscopter cmake_build error

Project 'roscopter' tried to find library 'rosflight_utils'. The library is neither a target nor built/installed properly. Did you compile project 'rosflight_utils'? Did you find_package() it before the subdirectory containing its code is included?

I installed all rosflight packages from the Ubuntu repos using sudo apt-get install ros-kinetic-rosflight-pkgs. When I run sudo apt-get install ros-kinetic-rosflight-utils it says it is up to date. Not sure what else to try here.

memphis242 commented 5 years ago

Wow that was a quick solve. I just cloned the rosflight repo into catkin_ws/src and it worked. #noobThings

superjax commented 5 years ago

Hey, thanks for the reminder. Totally our fault actually - rosflight_utils is not installed by the repo version because of some mistakes in the CMake