You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/09/12 02:31:26 UTC

[GitHub] [incubator-mxnet] chuanheliu opened a new issue #16150: undefined reference to `MXPredSetInput'

chuanheliu opened a new issue #16150: undefined reference to `MXPredSetInput'
URL: https://github.com/apache/incubator-mxnet/issues/16150
 
 
   `
   /home/lch/project/face/face_c/retinaface/./src/insightface_api.cpp:85: undefined reference to `MXPredSetInput'
   /home/lch/project/face/face_c/retinaface/./src/insightface_api.cpp:86: undefined reference to `MXPredForward'
   /home/lch/project/face/face_c/retinaface/./src/insightface_api.cpp:91: undefined reference to `MXPredGetOutputShape'
   /home/lch/project/face/face_c/retinaface/./src/insightface_api.cpp:98: undefined reference to `MXPredGetOutput'
   `
   
   I compile the C++ API of mxnet, and I -l the include path correctly.
   I #include <mxnet/c_predict_api.h>
   
   ## I've tried:
   
   1. LD_LIBRARY_PATH=/home/lch/project/mxnet/lib/:$LD_LIBRARY_PATH 
   2. I compile mxnet using make USE_CPP_PACKAGE=1
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services