dbsxdbsx edited a comment on issue #14385: OpenCV 4.0 is currently not support 
on win10
URL: 
https://github.com/apache/incubator-mxnet/issues/14385#issuecomment-472258217
 
 
   @yajiedesign,I tried to build OPENCV4.0.1 first, indeed, now libmxnet.dll is 
built successfully , But Importing mxnet in python, it failed with 
opencv_world401.dll:
   ```
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File "C:\ProgramData\Anaconda3\lib\site-packages\mxnet\__init__.py", line 
24, in <module>
       from .context import Context, current_context, cpu, gpu, cpu_pinned
     File "C:\ProgramData\Anaconda3\lib\site-packages\mxnet\context.py", line 
24, in <module>
       from .base import classproperty, with_metaclass, 
_MXClassPropertyMetaClass
     File "C:\ProgramData\Anaconda3\lib\site-packages\mxnet\base.py", line 213, 
in <module>
       _LIB = _load_lib()
     File "C:\ProgramData\Anaconda3\lib\site-packages\mxnet\base.py", line 204, 
in _load_lib
       lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_LOCAL)
     File "C:\ProgramData\Anaconda3\lib\ctypes\__init__.py", line 356, in 
__init__
       self._handle = _dlopen(self._name, mode)
   OSError: [WinError 126] 找不到指定的模块。
   ```
   Interesting, when I put opencv_world344.dll with libmxnet.dll, it is 
working, though libmxnet.dll is compiled with opencv 4.0.1.
   
   Updating:
   **I tried again,  it is my fault that I didn't build opencv dll correctly.  
Now opencv_world401.dll is workable with mxnet in python.**
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to