You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/03/09 06:17:12 UTC

[GitHub] EternalSaga opened a new issue #10049: Building MxNet on Win10 with CPP package, CUDA9 and MKL 2018

EternalSaga opened a new issue #10049: Building MxNet on Win10 with CPP package, CUDA9 and MKL 2018
URL: https://github.com/apache/incubator-mxnet/issues/10049
 
 
   Note: Providing complete information in the most concise form is the best way to get help. This issue template serves as the checklist for essential information to most of the technical issues and bug reports. For non-technical issues and feature requests, feel free to present the information in what you believe is the best form.
   
   For Q & A and discussion, please start a discussion thread at https://discuss.mxnet.io 
   
   ## Description
   I'm trying to build mxnet on win10 with cpp package. After some hard efforts, I built the libmxnet.dll successfully. But I cannot generate the op.h file through the python script OpWrapperGenerator.py.
   Here is the error message. Perhaps it is resulted by the MKL path, but I have no idea how to fix it.
   python OpWrapperGenerator.py D:/Program
   mingAndStudy/cpp library/mxnet/build/Release/libmxnet.dll
   Traceback (most recent call last):
     File "OpWrapperGenerator.py", line 425, in <module>
       raise(e)
     File "OpWrapperGenerator.py", line 419, in <module>
       f.write(patternStr % ParseAllOps())
     File "OpWrapperGenerator.py", line 314, in ParseAllOps
       cdll.libmxnet = cdll.LoadLibrary(sys.argv[1])
     File "C:\Program Files\Python36\lib\ctypes\__init__.py", line 426, in LoadLibrary
       return self._dlltype(name)
     File "C:\Program Files\Python36\lib\ctypes\__init__.py", line 348, in __init__
       self._handle = _dlopen(self._name, mode)
   OSError: [WinError 126] ?????????
   
   ## Environment info (Required)
   
   ```
   What to do:
   1. Download the diagnosis script from https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py
   
   2. Run the script using `python diagnose.py` and paste its output here.
   
   ```
   
   Package used (Python/R/Scala/Julia):
   (I'm using ...)
   I want to use mxnet through C++.
   
   ## Build info (Required if built from source)
   ![mxnetbuilt](https://user-images.githubusercontent.com/15174504/37193376-838efed8-23a4-11e8-96bd-7bd592041823.PNG)
   
   Compiler (gcc/clang/mingw/visual studio):
   visual studio
   MXNet commit hash:
   (Paste the output of `git rev-parse HEAD` here.)
   
   Build config:
   (Paste the content of config.mk, or the build command.)
   
   ## Error Message:
   (Paste the complete error message, including stack trace.)
   
   ## Minimum reproducible example
   (If you are using your own code, please provide a short script that reproduces the error. Otherwise, please provide link to the existing example.)
   
   ## Steps to reproduce
   (Paste the commands you ran that produced the error.)
   
   1.
   2.
   
   ## What have you tried to solve it?
   
   1.
   2.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services