leggedrobotics / darknet_ros

YOLO ROS: Real-Time Object Detection for ROS
BSD 3-Clause "New" or "Revised" License
2.14k stars 1.17k forks source link

I am getting error when I m trying to run darknet_ros with gazebo simulation enviorement #379

Open Theiby opened 2 years ago

Theiby commented 2 years ago

I am gettin error when I m trying to run darknet_ros with gazebo simulation enviorement. The error is:

what(): OpenCV(4.2.0) /home/theiby/opencv/modules/highgui/src/window.cpp:1250: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvNamedWindow'

[darknet_ros-1] process has died [pid 11976, exit code -6, cmd /home/theiby/Desktop/main_workspace/devel/lib/darknet_ros/darknet_ros camera/rgb/image_raw:=/camera/rgb/image_raw __name:=darknet_ros __log:=/home/theiby/.ros/log/00ec2010-aa0e-11ec-8afa-21c63a8214e2/darknet_ros-1.log]. log file: /home/theiby/.ros/log/00ec2010-aa0e-11ec-8afa-21c63a8214e2/darknet_ros-1*.log

And I think it is about the version of opencv and python and I wonder if its really releated about versions what version should I use ?