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 2021/04/05 18:42:52 UTC

[GitHub] [incubator-mxnet] leezu commented on pull request #20108: [TEST] Added cpp package to CI build for windows

leezu commented on pull request #20108:
URL: https://github.com/apache/incubator-mxnet/pull/20108#issuecomment-813568328


   ```
   [2021-03-31T15:35:33.219Z]   File "OpWrapperGenerator.py", line 433, in <module>
   
   [2021-03-31T15:35:33.219Z]     raise(e)
   
   [2021-03-31T15:35:33.219Z]   File "OpWrapperGenerator.py", line 427, in <module>
   
   [2021-03-31T15:35:33.219Z]     f.write(patternStr % ParseAllOps())
   
   [2021-03-31T15:35:33.219Z]   File "OpWrapperGenerator.py", line 321, in ParseAllOps
   
   [2021-03-31T15:35:33.219Z]     cdll.libmxnet = cdll.LoadLibrary(sys.argv[1])
   
   ```
   
   Probably need to specify "The winmode parameter is used on Windows to specify how the library is loaded (since mode is ignored). It takes any value that is valid for the Win32 API LoadLibraryEx flags parameter. When omitted, the default is to use the flags that result in the most secure DLL load to avoiding issues such as DLL hijacking. Passing the full path to the DLL is the safest way to ensure the correct library and dependencies are loaded." as in the libinfo.py file of the Python API https://docs.python.org/3/library/ctypes.html


-- 
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:
users@infra.apache.org