C10/macros/cmake_macros.h not exists

@Aviais
As I said, you can not include a single header file in your program, it won’t work even you added include path in your mk file, basically you need dependencies, shared libs, at least libc10, libtorch, libtorch_cpu, libtorch_gpu, etc. What I recommend to do is download libtorch zip package and follow the instruction here:
https://pytorch.org/cppdocs/installing.html
And you can extend your makefile based on instruction. Check the CMakeList.txt that provided in the instruction.

If you don’t want to use cmake and want to build with your own makefile or even build with command line, check here:
How do i to create a new project in C++ to run libtorch without cmake?
I posted a command line which you can use to build libtorch. And you can put those minimal requirements in the commandl line (libs, includes, etc) into your make file. But libtorch is changing fast, I do recommend using our cmake solution.

FYI, for torch script, please follow here:
https://pytorch.org/tutorials/beginner/Intro_to_TorchScript_tutorial.html
and this is the c++ part instruction:
https://pytorch.org/tutorials/advanced/cpp_export.html