I compiled the c++ api from the source code pulled from github. Then I tried to run the example here in https://mxnet.incubator.apache.org/tutorials/c++/basics.html. But I received the the compiler complainment
fatal error: mxnet-cpp/MxNetCpp.h: No such file or directory #include<mxnet-cpp/MxNetCpp.h>
So I searched the whole repository and found the headers in /cpp-package/include/mxnet-cpp. Then I tried to compile again and got the response:
fatal error: nnvm/c_api.h: No such file or directory #include "nnvm/c_api.h"
So I had to search the whole repository once more and found the associated headers are in the directory /nnvm/include/nnvm.
I repeated the process for many times and finally got all the header files to made it run. I wonder if it is the compiling process did not generate the c++ api header files to one single directories such that I could copy them to my /usr/lib with only one effort, or it is because the c++ api is designed only for the mxnet developer and we mx-fans are only recommended to its python api?