I am trying to install TVM from sources on Windows 10. During compilation I see several errors, specifically for the following projects:
- tvm\build\tvm_runtime_objs.vcxproj
- tvm\build\host_standalone_crt.vcxproj
- tvm\build\standalone_crt.vcxproj
I debugged it and it seems that cmake generates makefiles which are suitable for Linux only but not for Visual Sudio running on the Windows OS. Some of the errors are trivial to fix, like structure padding which is different for Windows.
Example errors taken from the log:
tvm\include\tvm/runtime/crt/rpc_common/write_stream.h(40,19): error C3646: 'Write': unknown override specifier (compiling source file tvm\src\runtime\micro\micro_session.cc)
and another one for standalone_crt:
Makefile:52: target `C' doesn't match the target pattern
Makefile:56: target `C' doesn't match the target pattern
Makefile:57: warning: overriding recipe for target `C'
Makefile:53: warning: ignoring old recipe for target `C'
Makefile:78: *** target pattern contains no `%'. Stop.
Anyone experiences the same issue? Would appreciate some direction.