leggedrobotics / darknet_ros

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

fatal error:darknet.h:No such file or directory #351

Closed lingogogo closed 2 years ago

lingogogo commented 2 years ago

fatal error:darknet.h:No such file or directory

include "darknet.h"

However, i have the file in darknet/include/darknet.h i have to write it on the file, so it can find the directory. but i don't know how to do it

thank a lot in advance

Ar-Ray-code commented 2 years ago

There is too little information. Please give me the directory information in tree darknet_ros/.

I think it is due to a failure to get the submodule. Run

$ cd <path-to-darknet_ros> 
$ git submodule update --init
lingogogo commented 2 years ago

thank for your answer i deal with the problem with correct path. so it can take the darknet.h