darknet_ros icon indicating copy to clipboard operation
darknet_ros copied to clipboard

unistd.h:10:16: fatal error: io.h: No such file or directory

Open nyxrobotics opened this issue 6 years ago • 2 comments

Hello, I run "git clone --recursive https://github.com/pushkalkatara/darknet_ros.git" and then "catkin bt", but I've got this error. "ros/src/darknet_ros_prv/darknet/src/unistd.h:10:16: fatal error: io.h: No such file or directory compilation terminated." Do you have any idea ? (I use ros-kinetic on ubuntu16.04)

nyxrobotics avatar Feb 16 '19 10:02 nyxrobotics

Hi, Simply removing the unistd.h from darknet solves the issue.

cd darknet_ros
cd darknet/src
rm -rf unistd.h

pushkalkatara avatar Feb 16 '19 10:02 pushkalkatara

It works. Thank you !

nyxrobotics avatar Feb 16 '19 10:02 nyxrobotics