# Where to find \<torch/torch.h\>?

**URL:** <https://discuss.pytorch.org/t/where-to-find-torch-torch-h/59908>\
**Category:** C++\
**Created:** [November 4, 2019, 1:20am UTC](https://discuss.pytorch.org/t/where-to-find-torch-torch-h/59908 "2019-11-04T01:20:39Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Peter\_Zheng](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/peter_zheng/32/17262_2.png) [@Peter\_Zheng](https://discuss.pytorch.org/u/Peter_Zheng)\
**Post date:** [November 4, 2019, 1:20am UTC](https://discuss.pytorch.org/t/where-to-find-torch-torch-h/59908/1 "2019-11-04T01:20:39Z")

</div>

I succeed in compiling the code with cmake directly, but when I use vscode for editing, it always get error message with \<torch/torch.h\> not found. How can I get it?

---

_[View the full topic](https://discuss.pytorch.org/t/where-to-find-torch-torch-h/59908)._
