You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At some point after v1.2.0 the TensorRT\core\runtime\TRTEngine.h file was added and it brought the #include <experimental/filesystem> with it. I had some issues trying to build due to this. A #define is needed to build, the path cannot implicitly be converted to a std::string, an extra #include is needed to use std::stringbuilder and there is no stdc++fs to link against.
cl version: Microsoft (R) C/C++ Optimizing Compiler Version 19.30.30706 for x64
MSVC toolchain version: 14.30.30705
Rough fix
The below changes were needed to get a compile. They probably would break the build on other systems - so maybe need to be based on some platform detection.
Bug Description
At some point after v1.2.0 the
TensorRT\core\runtime\TRTEngine.h
file was added and it brought the#include <experimental/filesystem>
with it. I had some issues trying to build due to this. A#define
is needed to build, thepath
cannot implicitly be converted to astd::string
, an extra#include
is needed to usestd::stringbuilder
and there is nostdc++fs
to link against.Environment
Rough fix
The below changes were needed to get a compile. They probably would break the build on other systems - so maybe need to be based on some platform detection.
Additional CMAKE flag
Code changes
The text was updated successfully, but these errors were encountered: