leezu opened a new issue #19619:
URL: https://github.com/apache/incubator-mxnet/issues/19619


   TVM Bridge does not introduce link dependencies, but causes link failure on 
Windows. May be a MSVC bug.
   
   [2020-12-02T01:54:37.813Z] LINK: command 
"C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe
 /nologo @CMakeFiles\mxnet.rsp /out:libmxnet.dll /implib:libmxnet.lib 
/pdb:libmxnet.pdb /dll /version:0.0 /machine:x64 /INCREMENTAL:NO /OPT:REF 
/OPT:ICF /MANIFEST /MANIFESTFILE:libmxnet.dll.manifest" failed (exit code 1120) 
with the following output:
   [2020-12-02T01:54:37.813Z]    Creating library libmxnet.lib and object 
libmxnet.exp
   [2020-12-02T01:54:37.813Z] tvm_bridge.cc.obj : error LNK2019: unresolved 
external symbol "__declspec(dllimport) protected: void __cdecl 
tvm::runtime::Object::DecRef(void)" (__imp_?DecRef@Object@runtime@tvm@@IEAAXXZ) 
referenced in function "private: void __cdecl 
tvm::runtime::TVMRetValue::Clear(void)" 
(?Clear@TVMRetValue@runtime@tvm@@AEAAXXZ)
   
   
   Thus TVM Bridge is disabled by default on MSVC as of 
https://github.com/apache/incubator-mxnet/commit/af26e92c5c7e3053c8e69f0cdf607e22856f3786


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to