xxx file not found,Lexical or Preprocessor Issue

Viewed 18

1.I want to build an plugin for Flutter , so i added this in podspec 's.dependency 'LibTorch-Lite', '~>1.12.0' in podspec. 2.Then i imported'#import <Libtorch-Lite/Libtorch-Lite.h>' but get the following error : 'torch/csrc/jit/mobile/import.h' file not found,Lexical or Preprocessor Issue' What should i do? I want to transplant the ObjectDetection into Flutter Plugin to run custom Yolov5s model.

0 Answers
Related