i want to use Libtorch with a C++ project using meson build.
Currently i am running on Ubuntu 21.04 and downloaded libtorch-dev via apt-get. Apparently the build now still has problems locating the torch headers when including them in my project file.
fatal error: torch/torch.h: No such file or directory 2 | #include <torch/torch.h>
I also tried following the tutorial but i can’t make use of the specific CMAKE commands in meson as far as i know. So do i have to manually link the source files from the unzipped libtorch somehow into my build? Or is the package from apt-get sufficient?