Describe the bug
After succsefully building the project I tried to run the unittest as described but I encounter the error,
/home/administrator/catkin_ws/src/darknet_ros/darknet_ros/test/ObjectDetection.cpp:73: undefined reference to `cv::imread(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
To Reproduce
Checkout to branch melodic
Build using catkin build darknet_ros -DCMAKE_BUILD_TYPE=Release
Run unittests catkin build darknet_ros --no-deps --verbose --catkin-make-args run_tests
Expected behavior
You will see the image above popping up.
System (please complete the following information):Linux administrator-SER0 5.4.0-131-generic #147~18.04.1-Ubuntu SMP Sat Oct 15 13:10:18 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
ROS version: ROS melodic
opencv3.2.0
Describe the bug After succsefully building the project I tried to run the unittest as described but I encounter the error,
To Reproduce
catkin build darknet_ros -DCMAKE_BUILD_TYPE=Release
catkin build darknet_ros --no-deps --verbose --catkin-make-args run_tests
Expected behavior You will see the image above popping up.
System (please complete the following information):
Linux administrator-SER0 5.4.0-131-generic #147~18.04.1-Ubuntu SMP Sat Oct 15 13:10:18 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
ROS version: ROS melodic opencv3.2.0