Windows NNVM Module export_library error

···
Traceback (most recent call last):
File “deploy_ssd_tvm.py”, line 40, in
lib.export_library("./deployed_model/deploy_lib.dll", fcompile=False)
File “C:\Users*\AppData\Roaming\Python\Python37\site-packages\tvm-0.5.dev0-py3.7-win-amd64.egg\tvm\module.py", line 128, in export_library
fcompile(file_name, files, **kwargs)
File "C:\Users*
\AppData\Roaming\Python\Python37\site-packages\tvm-0.5.dev0-py3.7-win-amd64.egg\tvm\contrib\cc.py”, line 35, in create_shared
_windows_shared(output, objects, options)
File “C:\Users*****\AppData\Roaming\Python\Python37\site-packages\tvm-0.5.dev0-py3.7-win-amd64.egg\tvm\contrib\cc.py”, line 120, in _windows_shared
raise RuntimeError(msg)
RuntimeError: Compilation error:
Microsoft ® Incremental Linker Version 14.16.27026.1
Copyright © Microsoft Corporation. All rights reserved.

lib.o : fatal error LNK1143: invalid or corrupt file: no symbol for COMDAT section 0x5
···

We can compile the graph on Linux using “lib.export_library(”./deployed_model/deploy_lib.so", fcompile=False)", but get link error on Windows.

I’ve solved temporally using:

can you share how to fix this problem

Hi, @chinakook are you able to export library in windows ?