marcoslucianops / DeepStream-Yolo

NVIDIA DeepStream SDK 7.0 / 6.4 / 6.3 / 6.2 / 6.1.1 / 6.1 / 6.0.1 / 6.0 / 5.1 implementation for YOLO models
MIT License
1.4k stars 345 forks source link

error: 'string' is not a member of 'std' #375

Closed zardadi closed 1 year ago

zardadi commented 1 year ago

Apparently header files are missing string library. When I tried to compile nvinfer lib (libnvdsinfer_custom_impl_Yolo.so) got error: 'string' is not a member of 'std' error.

layers/deconvolutional_layer.cpp:9:1: note: 'std::string' is defined in header '<string>'; did you forget to '#include <string>'?

To remove the error I had to add #include <string> to all the heard files inside '/nvdsinfer_custome_impl_Yolo/layers/`

marcoslucianops commented 1 year ago

I don't have this issue, but I will add in the next update. Thank you.