I tried the method mentioned here: https://github.com/dmlc/MXNet.jl/issues/263
But it also fails!!
julia> Pkg.build( "MXNet" )
INFO: Building MXNet
INFO: Did not find a CUDA installation, using CPU-only version of MXNet.
INFO: Attempting to Create directory /Users/vish/.julia/v0.6/MXNet/deps/src
INFO: Directory /Users/vish/.julia/v0.6/MXNet/deps/src already created
INFO: Attempting to Create directory /Users/vish/.julia/v0.6/MXNet/deps/usr/lib
INFO: Directory /Users/vish/.julia/v0.6/MXNet/deps/usr/lib already created
INFO: Attempting to Create directory /Users/vish/.julia/v0.6/MXNet/deps/src/mxnet
INFO: Directory /Users/vish/.julia/v0.6/MXNet/deps/src/mxnet already created
INFO: Changing Directory to /Users/vish/.julia/v0.6/MXNet/deps/src/mxnet
INFO: Changing Directory to /Users/vish/.julia/v0.6/MXNet/deps/src/mxnet
INFO: Changing Directory to /Users/vish/.julia/v0.6/MXNet/deps/src/mxnet
HEAD is now at 8713d257... [R][DOC] update R installation guide (#6457)
INFO: Changing Directory to /Users/vish/.julia/v0.6/MXNet/deps/src/mxnet
INFO: Changing Directory to /Users/vish/.julia/v0.6/MXNet/deps/src/mxnet
INFO: Changing Directory to /Users/vish/.julia/v0.6/MXNet/deps/src/mxnet
INFO: Changing Directory to /Users/vish/.julia/v0.6/MXNet/deps/src/mxnet
INFO: Changing Directory to /Users/vish/.julia/v0.6/MXNet/deps/src/mxnet
INFO: Changing Directory to /Users/vish/.julia/v0.6/MXNet/deps/src/mxnet
In file included from src/operator/contrib/ctc_loss.cc:9:
In file included from src/operator/contrib/./ctc_include/detail/cpu_ctc.h:9:
/Users/vish/.julia/v0.6/MXNet/deps/src/mxnet/dmlc-core/include/dmlc/omp.h:13:9: warning: Warning: OpenMP is not available, project will be compiled
into single-thread code. Use OpenMP-enabled compiler to get benefit of multi-threading. [-W#pragma-messages]
#pragma message("Warning: OpenMP is not available, " \
^
1 warning generated.
src/operator/contrib/proposal.cc:329:27: warning: comparison of integers of different signs: 'index_t' (aka 'unsigned int') and 'int' [-Wsign-compare]
for (index_t i = 0; i < num_anchors; ++i) {
~ ^ ~~~~~~~~~~~
src/operator/contrib/proposal.cc:258:12: note: in instantiation of member function 'mxnet::op::ProposalOp<mshadow::cpu>::Forward' requested here
explicit ProposalOp(ProposalParam param) {
^
src/operator/contrib/proposal.cc:441:14: note: in instantiation of member function 'mxnet::op::ProposalOp<mshadow::cpu>::ProposalOp' requested here
return new ProposalOp<cpu>(param);
^
src/operator/contrib/proposal.cc:330:29: warning: comparison of integers of different signs: 'index_t' (aka 'unsigned int') and 'int' [-Wsign-compare]
for (index_t j = 0; j < height; ++j) {
~ ^ ~~~~~~
src/operator/contrib/proposal.cc:331:31: warning: comparison of integers of different signs: 'index_t' (aka 'unsigned int') and 'int' [-Wsign-compare]
for (index_t k = 0; k < width; ++k) {
~ ^ ~~~~~
In file included from src/operator/custom/custom.cc:7:
src/operator/custom/./custom-inl.h:190:14: error: no matching member function for call to 'push_back'
shapes.push_back(iter->data());
~~~~~~~^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:676:36: note: candidate function not viable:
no known conversion from 'dim_t *' (aka 'long long *') to 'const value_type' (aka 'unsigned int *const') for 1st argument
_LIBCPP_INLINE_VISIBILITY void push_back(const_reference __x);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:678:36: note: candidate function not viable:
no known conversion from 'dim_t *' (aka 'long long *') to 'value_type' (aka 'unsigned int *') for 1st argument
_LIBCPP_INLINE_VISIBILITY void push_back(value_type&& __x);
^
src/operator/custom/custom.cc:166:12: error: no matching member function for call to 'push_back'
shapes.push_back(iter->data());
~~~~~~~^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:676:36: note: candidate function not viable:
no known conversion from 'dim_t *' (aka 'long long *') to 'const value_type' (aka 'unsigned int *const') for 1st argument
_LIBCPP_INLINE_VISIBILITY void push_back(const_reference __x);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:678:36: note: candidate function not viable:
no known conversion from 'dim_t *' (aka 'long long *') to 'value_type' (aka 'unsigned int *') for 1st argument
_LIBCPP_INLINE_VISIBILITY void push_back(value_type&& __x);
^
3 warnings generated.
2 errors generated.
make: *** [build/src/operator/custom/custom.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from src/operator/custom/native_op.cc:7:
src/operator/custom/./native_op-inl.h:146:24: error: const_cast from 'const dim_t *' (aka 'const long long *') to 'index_t *' (aka 'unsigned int *')
is not allowed
shapes.push_back(const_cast<index_t*>(vec[i].shape_.data()));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/operator/custom/./native_op-inl.h:204:14: error: no matching member function for call to 'push_back'
shapes.push_back(iter->data());
~~~~~~~^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:676:36: note: candidate function not viable:
no known conversion from 'dim_t *' (aka 'long long *') to 'const value_type' (aka 'unsigned int *const') for 1st argument
_LIBCPP_INLINE_VISIBILITY void push_back(const_reference __x);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:678:36: note: candidate function not viable:
no known conversion from 'dim_t *' (aka 'long long *') to 'value_type' (aka 'unsigned int *') for 1st argument
_LIBCPP_INLINE_VISIBILITY void push_back(value_type&& __x);
^
2 errors generated.
make: *** [build/src/operator/custom/native_op.o] Error 1
===================================================================[ ERROR: MXNet ]===================================================================
LoadError: failed process: Process(`make -j4 USE_BLAS=openblas 'MSHADOW_LDFLAGS=-lm /Applications/Julia-0.6.app/Contents/Resources/julia/lib/julia/libopenblas64_.dylib'`, ProcessExited(2)) [2]
while loading /Users/vish/.julia/v0.6/MXNet/deps/build.jl, in expression starting on line 58
======================================================================================================================================================
===================================================================[ BUILD ERRORS ]===================================================================
WARNING: MXNet had build errors.
- packages with build errors remain installed in /Users/vish/.julia/v0.6
- build the package(s) and all dependencies with `Pkg.build("MXNet")`
- build a single package by running its `deps/build.jl` script
======================================================================================================================================================