You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to know how cmake is expected to find the yaml-cpp headers and library for the camera_calibration_parsers package. On my system the compilation of the camera_calibration_parsers package fails due to missing yaml-cpp include files.
In https://github.com/ros-perception/image_common/blob/hydro-devel/camera_calibration_parsers/CMakeLists.txt#L14-L18 the cmake script is querying for the yaml-cpp library but only to receive version information. Usually I would expect for an CMake script to use the following statements after finding a requested package with pkgconfig:
include_directories(${YAML_CPP_INCLUDE_DIRS})
link_directories(${YAML_CPP_LIBRARY_DIRS})
target_link_libraries(... ${YAML_CPP_LIBRARIES})
Additionally does any of the information need to be passed to the CATKIN_PKG macro?
The text was updated successfully, but these errors were encountered:
I would like to know how cmake is expected to find the yaml-cpp headers and library for the camera_calibration_parsers package. On my system the compilation of the camera_calibration_parsers package fails due to missing yaml-cpp include files.
In https://github.com/ros-perception/image_common/blob/hydro-devel/camera_calibration_parsers/CMakeLists.txt#L14-L18 the cmake script is querying for the yaml-cpp library but only to receive version information. Usually I would expect for an CMake script to use the following statements after finding a requested package with pkgconfig:
include_directories(${YAML_CPP_INCLUDE_DIRS})
link_directories(${YAML_CPP_LIBRARY_DIRS})
target_link_libraries(... ${YAML_CPP_LIBRARIES})
Additionally does any of the information need to be passed to the CATKIN_PKG macro?
The text was updated successfully, but these errors were encountered: