Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimal Example: 'torch/torch.h' file not found #12

Open
d84-n1nj4 opened this issue Dec 4, 2020 · 0 comments
Open

Minimal Example: 'torch/torch.h' file not found #12

d84-n1nj4 opened this issue Dec 4, 2020 · 0 comments

Comments

@d84-n1nj4
Copy link

d84-n1nj4 commented Dec 4, 2020

Hi, apologies if this is not an issue. I walked through the "Minimal Example" for Installing c++ Distributions of PyTorch, and I get through it with no issues. However, when I create the example-app.cpp file, clang throws an error 'torch/torch.h' file not found [clang: pp_file_not_found] (while in neovim) and this causes other issues in the file since it's not reading the next line #include <iostream>. Do I need to place libtorch somewhere within the project or somewhere else for it to be recognized by clang?

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

No branches or pull requests

1 participant