enazoe / yolo-tensorrt

TensorRT8.Support Yolov5n,s,m,l,x .darknet -> tensorrt. Yolov4 Yolov3 use raw darknet *.weights and *.cfg fils. If the wrapper is useful to you,please Star it.
MIT License
1.18k stars 313 forks source link

sln issue (Windows) #47

Closed Whisper94 closed 4 years ago

Whisper94 commented 4 years ago

hello. I have some problems with sln for windows. Could you help to fix it? I have already changed all custom dependencies but still get some errors and I don't know how to handle with it.

image

I have also several warnings (30). Most of them about conversion like "size_t" to "unit32_t" or initialization like "double" to "const float"

Could you help me to fix my issue? Thank you!

enazoe commented 4 years ago

@Whisper94 the version of your visual studio?

Whisper94 commented 4 years ago

@enazoe I have 2019. Also 2015/2017/2019 redistributable. Is it not compatible with 2015 which you required? Thank you for your fast answer!!

enazoe commented 4 years ago

@Whisper94 try vs2015,,I think the vs2019 compiler removed the support for <experimental/filesystem>

Whisper94 commented 4 years ago

Ok. Thx. At the moment I have no chance to install 2015 version and deinstall 2019.I'll Look another way.

freeluojing123 commented 2 years ago

Add _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING to Preprocessor definitions.

Project -> Properties -> C/C++ -> Preprocessor -> Preprocessor Definitions.