Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

'torch/csrc/jit/mobile/import.h' file not found,Lexical or Preprocessor Issue #92

Open
JoeVintage opened this issue Sep 13, 2022 · 1 comment

Comments

@JoeVintage
Copy link

231663052320_ pic
1.I want to build an plugin for Flutter , so i added ' 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.

@alisonqiu
Copy link

Did you figure it out?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants