inglada commented on issue #12849: [cmake][cpp-package] Building with cmake 
does not install the cpp-package API
URL: 
https://github.com/apache/incubator-mxnet/issues/12849#issuecomment-498963118
 
 
   @leleamol I did not go further on this. Since "make install" does not 
install the C++ package (only the C one) I need to add this in the 
CMakeLists.txt of the client projects:
   
   include_directories(${MXNET_SOURCE_DIR}/include)
   include_directories(${MXNET_SOURCE_DIR}/cpp-package/include)
   include_directories(${MXNET_SOURCE_DIR}/3rdparty/tvm/nnvm/include)
   
include_directories(${MXNET_SOURCE_DIR}/3rdparty/tvm/3rdparty/dmlc-core/include)
   link_directories(${MXNET_SOURCE_DIR}/build)
   link_directories(${MXNET_SOURCE_DIR}/build/3rdparty/dmlc-core/)
   
   But it's been I while since I last tried.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to