Ask Your Question

Revision history [back]

Missing opencv_rgbd library

Hi, I am totally new to this stuff but I am trying to compile some programs (Object Recogniton Kitchen) which need opencv. I had Opencv 2.4.8 installed on my system and everything was fine, but I had to remove it, so I used sudo find / -name "*opencv*" -exec rm -rf {} \; (I'm not sure if it was a good idea now) Then I installed Opencv 3.0.0 and I can't the compile ORK now. It gives me this output:

Base path: /home/tomas/ws
Source space: /home/tomas/ws/src
Build space: /home/tomas/ws/build
Devel space: /home/tomas/ws/devel
Install space: /home/tomas/ws/install
####
#### Running command: "cmake /home/tomas/ws/src -DCATKIN_DEVEL_PREFIX=/home/tomas/ws/devel -DCMAKE_INSTALL_PREFIX=/home/tomas/ws/install -G Unix Makefiles" in "/home/tomas/ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/tomas/ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/indigo
-- This workspace overlays: /opt/ros/indigo
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/tomas/ws/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.16
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 16 packages in topological order:
-- ~~  - ecto
-- ~~  - ecto_openni
-- ~~  - object_recognition_renderer
-- ~~  - opencv_candidate
-- ~~  - ecto_image_pipeline
-- ~~  - ecto_opencv
-- ~~  - ecto_ros
-- ~~  - ecto_pcl
-- ~~  - object_recognition_core
-- ~~  - object_recognition_capture
-- ~~  - object_recognition_linemod
-- ~~  - object_recognition_reconstruction
-- ~~  - object_recognition_tod
-- ~~  - object_recognition_transparent_objects
-- ~~  - object_recognition_tabletop
-- ~~  - object_recognition_ros_visualization
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'ecto'
-- ==> add_subdirectory(ecto)
-- Boost version: 1.54.0
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   date_time
--   python
--   regex
--   serialization
--   system
--   thread
-- Boost version 1.54.0
-- ecto commit:       e1847ef2a0aa3ae51ef0f034b41630959963c46c
-- ecto tag (long):   0.6.11-4-ge1847ef
-- ecto tag (short):  0.6.11
-- ecto last_mod:     Sun, 6 Dec 2015 18:56:43 +0100
-- Disabling testing since gtest was not found.
-- +++ processing catkin package: 'ecto_openni'
-- ==> add_subdirectory(ecto_openni)
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   python
--   thread
--   system
-- OpenNI version 1.5.7
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   serialization
--   filesystem
--   system
--   thread
-- OpenNI headers: /usr/include/ni
-- +++ processing catkin package: 'object_recognition_renderer'
-- ==> add_subdirectory(ork_renderer)
-- Boost version: 1.54.0
-- checking for module 'assimp'
--   found assimp, version 3.0.1264
-- Found assimp v3
-- +++ processing catkin package: 'opencv_candidate'
-- ==> add_subdirectory(opencv_candidate)
-- OpenCV version: 3.0.0
-- OpenCV headers: /usr/local/include/opencv;/usr/local/include
-- +++ processing catkin package: 'ecto_image_pipeline'
-- ==> add_subdirectory(ecto_image_pipeline)
-- Boost version: 1.54.0
CMake Error at /home/tomas/ws/devel/share/opencv_candidate/cmake/opencv_candidateConfig.cmake:141 (message):
  Project 'ecto_image_pipeline' tried to find library 'opencv_rgbd'.  The
  library is neither a target nor built/installed properly.  Did you compile
  project 'opencv_candidate'? Did you find_package() it before the
  subdirectory containing its code is included?
Call Stack (most recent call first):
  /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:75 (find_package)
  ecto_image_pipeline/CMakeLists.txt:5 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/tomas/ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/tomas/ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

It seems like it cannot find opencv libraries, maybe some paths must be add somewhere, but I really don't know what to do. Than you for any help.