From 222678734dc30dbc0d8e43a03154b57ddb51c6f7 Mon Sep 17 00:00:00 2001 From: Scott Chow <11098209+scchow@users.noreply.github.com> Date: Mon, 21 Nov 2022 15:38:31 -0800 Subject: [PATCH] Fixed missing opencv interface in CMakeLists - Currently, building roscpp_gl_depth_sim_demos throws a linker error that fails to resolve `gl_depth_sim::toCvImage16u` - Tracked down issue to a deleted line in CMakeLists that references `opencv_interface` where function is defined. - Re-adding opencv_inferface allows the examples to compile and run again. --- gl_depth_sim/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gl_depth_sim/CMakeLists.txt b/gl_depth_sim/CMakeLists.txt index a2424e2..8759a75 100644 --- a/gl_depth_sim/CMakeLists.txt +++ b/gl_depth_sim/CMakeLists.txt @@ -45,7 +45,8 @@ target_link_libraries(${PROJECT_NAME} PUBLIC # Libaries for interfacing with opencv and pcl add_library(${PROJECT_NAME}_interfaces SHARED - src/interfaces/pcl_interface.cpp) + src/interfaces/pcl_interface.cpp + src/interfaces/opencv_interface.cpp) target_include_directories(${PROJECT_NAME} PUBLIC "$"