More information:

I have a CPP android project. I’m compiling it using ndk-build (ndk21 and C++14).
I have a file named “main.cpp” and I’m trying to  #include “torch/script.h” .
I downloaded libtorch using this command:
wget https://github.com/Kitware/CMake/releases/download/v3.15.2/cmake-3.15.2.tar.gz 1

In my Android.mk file, I’m giving the path to:
LOCAL_C_INCLUDES += $(TORCH_REPO_PATH)
$(TORCH_REPO_PATH)/include
$(TORCH_REPO_PATH)/include/torch
$(TORCH_REPO_PATH)/include/torch/csrc/api/include
When I’m trying to compile, I get the errors demonstrated above.
How can I overcome this issue?