wg-perception / object_recognition_core

The core of object recognition, where the development now happens
48 stars 47 forks source link

catkin_make error: Project 'object_recognition_reconstruction' tried to find library '-lpthread' #57

Open TouchDeeper opened 5 years ago

TouchDeeper commented 5 years ago

Hello,

I tried to compile the ork according to the instruction

When I step to the catkin_make, an error occurred:

CMake Error at /home/wang/imta_project/ork_ws/devel/share/ecto_image_pipeline/cmake/ecto_image_pipelineConfig.cmake:148 (message):
  Project 'object_recognition_reconstruction' tried to find library
  '-lpthread'.  The library is neither a target nor built/installed properly.
  Did you compile project 'ecto_image_pipeline'? Did you find_package() it
  before the subdirectory containing its code is included?
Call Stack (most recent call first):
  /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package)
  ork_reconstruction/CMakeLists.txt:11 (find_package)
VelizarHristov commented 5 years ago

I had this problem when I was trying to install the kinetic package on Ubuntu 14.04 with ROS Indigo, the fix was to use the Indigo package instead.