Closed Yongle-Fu closed 4 years ago
Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue. Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly. If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on contributing to MXNet and our development guides wiki.
@Yongle-Fu it looks like when you use emcmake, the build system can't find a blas library. Which blas are you using?
openblas 0.3.10_1 /usr/local/opt/openblas
hmm it should have been found in this path https://github.com/apache/incubator-mxnet/blob/master/cmake/Modules/FindOpenBLAS.cmake#L29. What might be happening is that the emcmake wrapper didn't pass on the environment variables that helped you find openblas due to its choice of shebang. Try setting ${OpenBLAS_HOME}
instead.
resolved by add setting
IF(NOT OpenBLAS_LIB) set(OpenBLAS_INCLUDE_DIR "/usr/local/opt/openblas/include") set(OpenBLAS_LIB "/usr/local/opt/openblas/lib/libopenblas.dylib") ENDIF()
emcmake failed. emcmake cmake .. -DUSE_CUDA=0 -DUSE_OPENCV=0 -DUSE_OPENMP=0 -DUSE_CPP_PACKAGE=1
but without emcmake success. cmake .. -DUSE_CUDA=0 -DUSE_OPENCV=0 -DUSE_OPENMP=0 -DUSE_CPP_PACKAGE=1
-- Configuring incomplete, errors occurred! See also "/path/to/mxnet/build_emsdk/CMakeFiles/CMakeOutput.log".