You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
Hey, this is the MXNet Label Bot.
Thank you for submitting the issue! I will try and suggest some labels so that the appropriate MXNet community members can help resolve it.
Here are my recommended labels: Installation
Description
I have built mxnet cpp package from the source successfully. However, I can't install it.
Environment info
Ubuntu 16.04
what I have done
git clone --recursive https://github.com/apache/incubator-mxnet mxnet
cmake -DUSE_CUDA=0 -DUSE_MKLDNN=1 -GNinja .
ninja -v
sudo ninja install
Error Message:
-- Install configuration: ""
-- Installing: /usr/local/lib/libmxnet.so
-- Set runtime path of "/usr/local/lib/libmxnet.so" to ""
-- Installing: /usr/local/lib/libmxnet.a
-- Up-to-date: /usr/local/include
-- Up-to-date: /usr/local/include/mxnet
-- Up-to-date: /usr/local/include/mxnet/op_attr_types.h
-- Up-to-date: /usr/local/include/mxnet/c_api_test.h
-- Up-to-date: /usr/local/include/mxnet/kvstore.h
-- Up-to-date: /usr/local/include/mxnet/graph_attr_types.h
-- Up-to-date: /usr/local/include/mxnet/c_api.h
-- Up-to-date: /usr/local/include/mxnet/rtc.h
-- Up-to-date: /usr/local/include/mxnet/resource.h
-- Up-to-date: /usr/local/include/mxnet/executor.h
-- Up-to-date: /usr/local/include/mxnet/ndarray.h
-- Up-to-date: /usr/local/include/mxnet/operator_util.h
-- Up-to-date: /usr/local/include/mxnet/base.h
-- Up-to-date: /usr/local/include/mxnet/c_predict_api.h
-- Up-to-date: /usr/local/include/mxnet/operator.h
-- Up-to-date: /usr/local/include/mxnet/engine.h
-- Up-to-date: /usr/local/include/mxnet/io.h
-- Up-to-date: /usr/local/include/mxnet/imperative.h
-- Up-to-date: /usr/local/include/mxnet/storage.h
-- Up-to-date: /usr/local/include/mxnet/random_generator.h
-- Up-to-date: /usr/local/include/mxnet/tensor_blob.h
-- Up-to-date: /usr/local/include
-- Installing: /usr/local/include/nnvm
CMake Error at cmake_install.cmake:72 (file):
file INSTALL cannot make directory "/usr/local/include/nnvm": No such file
or directory
FAILED: cd /home/ysu/Install/mxnet && /usr/local/bin/cmake -P cmake_install.cmake
ninja: build stopped: subcommand failed.
Tried to solve it
I've deleted the links, 'dmlc' and 'nnvm' in the path ''incubator-mxnet/include/''. It seems to work now...
P.S.:
In the tutorial:
https://mxnet.incubator.apache.org/install/build_from_source.html
All the Usage Examples create a build directory
mkdir build && cd build
cmake -GNinja .
It seems to be wrong? Shouldn't it be
cmake -GNinja ..
?The text was updated successfully, but these errors were encountered: