harrysekim opened a new issue #18611: URL: https://github.com/apache/incubator-mxnet/issues/18611
## Description I 'm trying to compile mxnet from source code in windows10, vs2017 1. mxnet clone tag 1.6.0 git clone --recursive -b 1.6.0 https://github.com/apache/incubator-mxnet mxnet_1.6.0 2. set opencv, openblas env set OpenCV_DIR=C:\opencv-3.4.1_with_freetype2 set OpenBLAS_HOME=C:\OpenBLAS-0.3.7-x64 3. cmake cmake -G "Visual Studio 15 2017 Win64" -T cuda=10.1,host=x64 -DUSE_CUDA=1 -DBUILD_CPP_EXAMPLES=1 -DUSE_CPP_PACKAGE=1 -DUSE_CUDNN=1 -DUSE_NVRTC=1 -DUSE_OPENCV=1 -DUSE_OPENMP=1 -DUSE_BLAS=open -DUSE_LAPACK=1 -DUSE_DIST_KVSTORE=0 -DCUDA_ARCH_LIST=Common -DCUDA_TOOLSET=10.1 -DCUDNN_INCLUDE="C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -DCUDNN_LIBRARY="C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\lib\x64\cudnn.lib" "../" 4. build "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe" mxnet.sln /p:Configuration=Release;Platform=x64 /maxcpucount ### Error Message Traceback (most recent call last): File "OpWrapperGenerator.py", line 433, in <module> raise(e) File "OpWrapperGenerator.py", line 427, in <module> f.write(patternStr % ParseAllOps()) File "OpWrapperGenerator.py", line 321, in ParseAllOps cdll.libmxnet = cdll.LoadLibrary(sys.argv[1]) File "C:\Users\admin\AppData\Local\Programs\Python\Python38\lib\ctypes\__init__.py", line 451, in LoadLibrary return self._dlltype(name) File "C:\Users\admin\AppData\Local\Programs\Python\Python38\lib\ctypes\__init__.py", line 373, in __init__ self._handle = _dlopen(self._name, mode) FileNotFoundError: Could not find module 'C:\Workspace\mxnet_1.6.0\build\Release\libmxnet.dll' (or one of its dependencies). Try using the full path with constructor syntax. 5. copy dependents dll file to Release folder cublas64_10.dll cudart64_101.dll cudnn64_7.dll cufft64_10.dll curand64_10.dll cusolver64_10.dll nvrtc64_101_0.dll libgcc_s_seh-1.dll libgfortran-3.dll libopenblas.dll libquadmath-0.dll nvcuda.dll opencv_world341.dll 6. rebuild ### Error Message "Running: OpWrapperGenerator.py" Traceback (most recent call last): File "OpWrapperGenerator.py", line 433, in <module> raise(e) File "OpWrapperGenerator.py", line 427, in <module> f.write(patternStr % ParseAllOps()) File "OpWrapperGenerator.py", line 338, in ParseAllOps r = ListOP(byref(nOps), byref(opHandlers)) OSError: exception: access violation writing 0x0000000000000000 ## Environment ``` python 3.8.3 compiler : vs2017 # paste outputs here ``` "Running: OpWrapperGenerator.py" Traceback (most recent call last): File "OpWrapperGenerator.py", line 433, in <module> raise(e) File "OpWrapperGenerator.py", line 427, in <module> f.write(patternStr % ParseAllOps()) File "OpWrapperGenerator.py", line 338, in ParseAllOps r = ListOP(byref(nOps), byref(opHandlers)) OSError: exception: access violation writing 0x0000000000000000 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org