When I try to catkin build my workspace, I get this error:
CMakeFiles/openpose_ros_node_firephinx.dir/src/openpose_ros_node_firephinx.cpp.o: undefined reference to symbol '_ZN2cv7waitKeyEi'
//usr/local/lib/libopencv_highgui.so.3.2: error adding symbols: DSO missing from command line.
I have tried to add the OpenCV library manually to the CMakeLists.txt
file, but the problem is persisting.
This is how I am including OpenCV:
find_package(OpenCV REQUIRED PATHS /usr/local/share/OpenCV NO_DEFAULT_PATH)
include_directories(${OpenCV_INCLUDE_DIRS})