catkin_make unable to find actionlib in its original install location
It seems as though it is looking for actionlib in one of our catkin workspaces. It was installed to /opt/ros/kinetic/share/actionlib. Is there a way to correct how catkin finds it? Is there another issue causing this?
CMake Error at /home/user/catkin_ws/devel/share/actionlib/cmake/actionlibConfig.cmake:113 (message):
Project 'actionlib' specifies
'/home/user/catkin_ws/src/actionlib/actionlib/include' as an include dir,
which is not found. It does neither exist as an absolute directory nor in
'/home/user/catkin_ws/src/actionlib/actionlib//home/user/catkin_ws/src/actionlib/actionlib/include'.
Check the issue tracker 'https://github.com/ros/actionlib/issues' and
consider creating a ticket if the problem has not been reported yet.
Call Stack (most recent call first):
/opt/ros/kinetic/share/tf2_ros/cmake/tf2_rosConfig.cmake:197 (find_package)
/opt/ros/kinetic/share/tf/cmake/tfConfig.cmake:197 (find_package)
/opt/ros/kinetic/share/amcl/cmake/amclConfig.cmake:197 (find_package)
/opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package)
basic_swarm/CMakeLists.txt:10 (find_package)
Edit: There are two workspaces. I'm working in workspace 2, I removed catkin_ws and now ws 2 makes fine. My new question is why did this happen to begin with?