lagadic / vision_visp

ViSP stack for ROS
http://wiki.ros.org/vision_visp
GNU General Public License v2.0
181 stars 88 forks source link

visp_auto_tracker build issue #83

Closed henryng375 closed 6 years ago

henryng375 commented 6 years ago

When I built the package, I got such error: CMake Error at /opt/ros/indigo/share/roscpp/cmake/roscppConfig.cmake:141 (message): Project 'visp_bridge' tried to find library 'pthread'. The library is neither a target nor built/installed properly. Did you compile project 'roscpp'? Did you find_package() it before the subdirectory containing its code is included? Call Stack (most recent call first): vision_visp/visp_bridge/CMakeLists.txt:4 (find_package)

-- Configuring incomplete, errors occurred! See also "/home/darwin/work/ros_ws/visp_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/darwin/work/ros_ws/visp_ws/build/CMakeFiles/CMakeError.log". Invoking "cmake" failed

But, I didn't see any pthread package include in CMakelist.

fspindle commented 6 years ago

Install pthreadusing

sudo apt-get install libpthread-stubs0-dev
henryng375 commented 6 years ago

@fspindle I have already installed pthread. But, still get the same error. Actually, when I built usb_cam, I also got the same error.

henryng375 commented 6 years ago

@fspindle Problem solved. Simply Reinstall Ubuntu and upgrade to 16.04