ros-drivers / video_stream_opencv

A package to open video streams and publish them in ROS using the opencv videocapture mechanism
227 stars 159 forks source link

yaml-cpp dependency missing #25

Closed michael1309 closed 5 years ago

michael1309 commented 6 years ago

Hi,

I had to add the "yaml-cpp" as a dependency to the CMakeLists.txt.

Old line: target_link_libraries(video_stream ${catkin_LIBRARIES} ${OpenCV_LIBRARIES}) changed to target_link_libraries(video_stream ${catkin_LIBRARIES} ${OpenCV_LIBRARIES} yaml-cpp).

Otherwise I got a linker error searching for yaml-function.

awesomebytes commented 5 years ago

@michael1309 May I ask in which platform did this happen? (Ubuntu or other OS version and ROS version).

Thank you!

michael1309 commented 5 years ago

Hi,

we can close this issue. After my investigation this issue comes due to a mess between ROS1 and ROS2 library installed on the same machine.

Best regards, Michael

awesomebytes commented 5 years ago

@michael1309 Good to know (I was surprised given the package builds in the buildfarm correctly). Thank you!