Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make rebuild is not working #10

Closed
carlosb1 opened this issue May 19, 2016 · 2 comments
Closed

make rebuild is not working #10

carlosb1 opened this issue May 19, 2016 · 2 comments

Comments

@carlosb1
Copy link

carlosb1 commented May 19, 2016

I was trying to rebuild the project to fix my other issue #9 but I couldn't.
I installed emscripten as It is explained in its web, and I tried to run the make file. I got an error about cblas, but I have installed this library in my computer, It should be work. This is the stacktrace:

emcc -std=c++11  -O2 -D__MXNET_JS__  -o libmxnet_predict.js mxnet_predict-all.cc -s DISABLE_EXCEPTION_CATCHING=0 -s EXPORTED_FUNCTIONS="['_MXPredCreate', '_MXPredGetOutputShape', '_MXPredSetInput', '_MXPredForward', '_MXPredPartialForward', '_MXPredGetOutput', '_MXPredFree', '_MXNDListCreate', '_MXNDListGet', '_MXNDListFree']" -s ALLOW_MEMORY_GROWTH=1
WARNING:root:not all asm.js optimizations are possible with ALLOW_MEMORY_GROWTH, disabling those
mxnet_predict-all.cc:24:10: fatal error: 'cblas.h' file not found
#include <cblas.h>
         ^
1 error generated.
ERROR:root:compiler frontend failed to generate LLVM bitcode, halting
make[1]: *** [libmxnet_predict.js] Error 1
make[1]: Leaving directory `/home/carlos/javascript-workspace/test-mxnet/mxnet.js/mxnet/amalgamation'
/home/carlos/javascript-workspace/test-mxnet/mxnet.js
cp mxnet/amalgamation/libmxnet_predict.js* .
cp: cannot stat ‘mxnet/amalgamation/libmxnet_predict.js*’: No such file or directory
@nvnnghia
Copy link

Hi, How did you solve this problem?

@carlosb1
Copy link
Author

@nvnnghia I remember I found some backup emscripten and I used... Anyway, the problem seems it is necessary to install the cblas library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants