cyrusbehr / tensorrt-cpp-api

TensorRT C++ API Tutorial
MIT License
577 stars 72 forks source link

cannot convert argument 1 from 'const std::filesystem::path' to 'std::initializer_list<_Elem>' #23

Closed Lakshyadevelops closed 10 months ago

Lakshyadevelops commented 10 months ago

Error in Engine.cpp because we cannot convert from filesystem::path to std::string type. Just modifying Line 17 to filepaths.emplace_back(entry.path().string()); resolves it. This maybe a windows only problem.

cyrusbehr commented 10 months ago

Yeah likely an issue with the Window's build. I still haven't added full support for windows. That being said, I made the fix: https://github.com/cyrusbehr/tensorrt-cpp-api/commits/main