Subject: | Can't install from CPAN |
I recently installed MXNet from source, and was displeased to see that I can't seem to build this from CPAN. This is bothersome b/c the version on git (at least for MXNet 1.6) is still 1.4. (This problem exists in the NNVM module too)
It seems that this module is intended to be built from the MXNet source tree. I see that in the build stage it adds '../../include/mxnet' (which is meant for the source tree) but in terms of the system include it only includes '/usr/local/include' w/o the 'mxnet' directory.
This can be solved by only adding the correct include directory, and then having the mxnet.i include <mxnet/c_api.h> instead of just <c_api.h>.