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

[Help me, please] The problem of building the pkg vision_visp with indigo #85

Closed phamhoanganhbk closed 6 years ago

phamhoanganhbk commented 6 years ago

Hi everyone,

I am trying to built the package vision_visp. (with Ubuntu 14.04 + ROS Indigo) But i have an error like the following

-- +++ processing catkin package: 'visp_camera_calibration' -- ==> add_subdirectory(vision_visp/visp_camera_calibration) -- Using these message generators: gencpp;genlisp;genpy CMake Error at /home/pha/catkin_ws/devel/share/visp_bridge/cmake/visp_bridgeConfig.cmake:141 (message): Project 'visp_camera_calibration' tried to find library '-lm'. The library is neither a target nor built/installed properly. Did you compile project 'visp_bridge'? 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:76 (find_package) vision_visp/visp_camera_calibration/CMakeLists.txt:4 (find_package)

I found that there were the other topic about this issue https://github.com/lagadic/vision_visp/issues/40

and I have tried to do it, I have installed sudo apt-get install ros-indigo-vision-visp and get the newest of ViSP. But i have still this problem.

Could you give me any ideas to solve it, please. Thanks you for your help,

phamhoanganhbk commented 6 years ago

Hi, I have just fixed it. I uninstalled Ubuntu and ROS Indigo then I reinstalled it.

But, I really want to understand what is the library "-lm" and the relation between visp and "-lm". Could anyone explain to me, please.

Many thanks,