You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/04/22 03:42:31 UTC
[GitHub] [incubator-tvm] hudmgy commented on issue #856: Fail to load .dll under windows
hudmgy commented on issue #856:
URL: https://github.com/apache/incubator-tvm/issues/856#issuecomment-617530826
> btw, this generated .dll file works well when I call it using tvm's python API.
hello, When I generated .dll file using "lib.export_library('path/to/deploy_lib.dll')", I failed with exception
cl: Command line warning D9024 :unrecognized source file type“C:\Users\afx-\AppData\Local\Temp\tmprr0gougm\lib0.o”,object file assumed
cl: Command line warning D9027 :source file“C:\Users\afx-\AppData\Local\Temp\tmprr0gougm\lib0.o”ignored
dllmain.cc
C:\Users\afx-\AppData\Local\Temp\tmpfj_x3sy6\dllmain.cc(1): warning C4067: Unexpected token after preprocessor instruction - newline expected
C:\Users\afx-\AppData\Local\Temp\tmpfj_x3sy6\dllmain.cc(1): fatal error C1034: windows.h:
Have you ever had the same problem.
thank you
----------------------------------------------------------------
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