Towards-Realtime-MOT-Cpp icon indicating copy to clipboard operation
Towards-Realtime-MOT-Cpp copied to clipboard

Libtorch error

Open ElifBeyza99 opened this issue 4 years ago • 1 comments

I installed the libtorch and put it into the same directory as src. Also converted the pytorch model into jit model. Now I am trying to compile the source code but it gives me an STrack.h:13:10: fatal error: torch/torch.h: No such file or directory 13 | #include <torch/torch.h> error. What can i do to fix this error ? Thanks.

ElifBeyza99 avatar Jan 07 '22 10:01 ElifBeyza99

@ElifBeyza99 Hi, thanks for your interest. Please put the include path of 'torch/torch.h' to VS2017's include path. See 'C/C++ -> General -> Additional Include Directories'.

samylee avatar Jan 11 '22 06:01 samylee