-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Description
When compiling ecto_opencv using catkin_make I encountered the following error:
+++ processing catkin package: 'ecto_opencv'
-- ==> add_subdirectory(ecto_opencv)
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- python
-- thread
-- system
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:189 (message):
catkin_package() the catkin package 'cv_backports' 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/indigo/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
ecto_opencv/CMakeLists.txt:7 (catkin_package)
-- Configuring incomplete, errors occurred!
See also "/home/sanders/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/sanders/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
This was fixed by adding
<build_depend>cv_backports</build_depend>
and
<run_depend>cv_backports</run_depend>
to package.xml in the ecto_opencv directory.
.
I also saw that in the CMakeLists.txt file it said
find_package(cv_backports QUIET)
if(cv_backports_FOUND)
find_package(catkin REQUIRED ecto opencv_candidate cv_backports)
catkin_package(DEPENDS ecto opencv_candidate cv_backports)
else()
find_package(catkin REQUIRED ecto opencv_candidate)
catkin_package(DEPENDS ecto opencv_candidate)
endif()
so I don't know if my "fix" was correct and proper seeing as I have no idea as to what I am doing.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels