1. 平台
win10(64位) & vs2015
2. 依赖库
3. 步骤
git clone https://github.com/dmlc/mxnet --recursive
cd mxnet && mkdir build && cd build
touch build.bat
build.bat内容如下:
cmake .. ^
-DOpenCV_DIR=D:\lib\opencv\build ^
-DCUDNN_INCLUDE="C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" ^
-DCUDNN_LIBRARY="C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\lib\x64" ^
-DOpenBLAS_INCLUDE_DIR=D:\lib\OpenBLAS-v0.2.19-Win64-int32\include ^
-DOpenBLAS_LIB=D:\lib\OpenBLAS-v0.2.19-Win64-int32\lib ^
-DCMAKE_BUILD_TYPE=Release ^
-G "Visual Studio 14 2015 Win64"
修改为自己系统上的路径
双击执行脚本,生成mxnet.sln
用vs2015打开mxnet.sln,Build Solution,即可生成mxnet.dll