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/12/21 17:04:23 UTC

[GitHub] kvcuong commented on issue #6313: cpp-package: Cannot open include file: 'mxnet-cpp/op.h'

kvcuong commented on issue #6313: cpp-package: Cannot open include file: 'mxnet-cpp/op.h'
URL: https://github.com/apache/incubator-mxnet/issues/6313#issuecomment-449443008
 
 
   Hi,
   I got the same problem when generating op.h: 
   
   I ran` D:\Paul\libs_sources\mxnet14\cpp-package\scripts>python OpWrapperGenerator.py d:/Paul/libs_sources/mxnet14/build/Release/libmxnet.dll`
   
   and got an error:
   
   ```
   kernel32 0
   dll name to load d:/Paul/libs_sources/mxnet14/build/Release/libmxnet.dll
   d:/Paul/libs_sources/mxnet14/build/Release/libmxnet.dll 0
   Traceback (most recent call last):
     File "OpWrapperGenerator.py", line 432, in <module>
       raise(e)
     File "OpWrapperGenerator.py", line 426, in <module>
       f.write(patternStr % ParseAllOps())
     File "OpWrapperGenerator.py", line 319, in ParseAllOps
       cdll.libmxnet = cdll.LoadLibrary(sys.argv[1])
     File "C:\Users\dev_admin\AppData\Local\Continuum\anaconda3\envs\Mxnet131GPUPy36\lib\ctypes\__init__.py", line 428, in LoadLibrary
       return self._dlltype(name)
     File "C:\Users\dev_admin\AppData\Local\Continuum\anaconda3\envs\Mxnet131GPUPy36\lib\ctypes\__init__.py", line 349, in __init__
       self._handle = _dlopen(self._name, mode)
   OSError: [WinError 126] The specified module could not be found
   
   
   ```
   
   Do you know how to generate correctly op.h, help please!

----------------------------------------------------------------
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