From 1b0f3ef7047fd9c15a7e8685ab61726458ed6740 Mon Sep 17 00:00:00 2001 From: Tomas Krejci Date: Mon, 1 Jun 2015 22:12:31 +0200 Subject: [PATCH] Repair failed build Building of lsd_slam_viewer failed for me because of some linker errors (cv::String:: ...). This repaired it. --- lsd_slam_viewer/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lsd_slam_viewer/CMakeLists.txt b/lsd_slam_viewer/CMakeLists.txt index 25e987b3..0db83875 100644 --- a/lsd_slam_viewer/CMakeLists.txt +++ b/lsd_slam_viewer/CMakeLists.txt @@ -29,7 +29,7 @@ rosbuild_find_ros_package(dynamic_reconfigure) include(${dynamic_reconfigure_PACKAGE_PATH}/cmake/cfgbuild.cmake) gencfg() - +find_package(OpenCV REQUIRED) @@ -70,4 +70,4 @@ rosbuild_link_boost(viewer thread) rosbuild_add_executable(videoStitch src/main_stitchVideos.cpp) - +target_link_libraries(videoStitch ${OpenCV_LIBRARIES})