没有仔细看文档,上来看到Cmake很亲切,就看了看CmakeList,改了里面的配置。安装的时候结果各种出错。然后看github上mxnet的Issues发现:cmake is for windows. Use config.mk for linux.
呵呵。。。
看文档!!!
- Prerequisites
- cp make/config.mk .
- 改config.mk的参数
- 如果用openBLAS要添加:
# the additional link flags you want to add
ADD_LDFLAGS = '-L/opt/OpenBLAS/lib'
# the additional compile flags you want to add
ADD_CFLAGS = '-I/opt/OpenBLAS/include'
Error:
/home/think/Documents/deeplearning/mxnet/deps/lib/libprotobuf-lite.a can't find
查看系统发现已经有了不过是在lib64里面,我是直接 cp -r lib64 lib.