Build on Windows Problem

Hi, I’m trying to build TVM on Windows, following the official build from source instructions. So far got tvm.dll and tvm_runtime.dll built. But when the tvm.dll is being loaded an exception is thrown as follows: AttributeError: Operator "reshape" is not registered

From file tvm\src\relay\transforms\simplify_expr.cc:

static Op reshape_op = Op::Get(“reshape”);

which calls to tvm\src\ir\op.cc:

const Op& Op::Get(const String& name) { const OpRegEntry* reg = OpRegistry::Global()->Get(name); CHECK(reg != nullptr) << "AttributeError: Operator " << name << " is not registered"; return reg->op(); }

which in turn calls to tvm\src\node\attr_registry.h:

const EntryType* Get(const String& name) const { auto it = entry_map_.find(name); if (it != entry_map_.end()) return it->second; return nullptr; }

And here no reshape operator in the entry_map_ is found. Any idea what could go wrong, please?

Solved. See here: Export_library from Linux for Windows?