Skip to content

Commit

Permalink
highgui is no longer brought in by cv_bridge #11 - but it looks like …
Browse files Browse the repository at this point in the history
…both image_view and image_show lock up very quickly, while rqt_image_view is fine
  • Loading branch information
lucasw committed Mar 2, 2018
1 parent 60850b3 commit 7e79765
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions screen_grab/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ find_package(catkin REQUIRED COMPONENTS

## System dependencies are found with CMake's conventions
# find_package(Boost REQUIRED COMPONENTS system)

find_package(OpenCV REQUIRED COMPONENTS highgui)

## Uncomment this if the package has a setup.py. This macro ensures
## modules and global scripts declared therein get installed
Expand Down Expand Up @@ -95,7 +95,7 @@ catkin_package(
# INCLUDE_DIRS include
LIBRARIES screen_grab
CATKIN_DEPENDS nodelet roscpp sensor_msgs std_msgs
# DEPENDS system_lib
DEPENDS OpenCV
)

###########
Expand Down Expand Up @@ -141,6 +141,7 @@ add_library(image_show

target_link_libraries(image_show
${catkin_LIBRARIES}
${OpenCV_LIBRARIES}
)

#############
Expand Down

0 comments on commit 7e79765

Please sign in to comment.