VTM编译tvm_unity时会提示tvm_unity/include/tvm/node/functor.h:26:10: fatal error: dmlc/logging.h: 没有那个文件或目录

/home/orangepi/python/tools/tvm_unity/include/tvm/node/functor.h:26:10: fatal error: dmlc/logging.h: 没有那个文件或目录
   26 | #include <dmlc/logging.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/tvm_objs.dir/build.make:132:CMakeFiles/tvm_objs.dir/src/arith/const_int_bound.cc.o] 错误 1
make[2]: *** 正在等待未完成的任务....
In file included from /home/orangepi/python/tools/tvm_unity/include/tvm/node/structural_equal.h:26,
                 from /home/orangepi/python/tools/tvm_unity/include/tvm/node/reflection.h:26,
                 from /home/orangepi/python/tools/tvm_unity/include/tvm/node/node.h:37,
                 from /home/orangepi/python/tools/tvm_unity/include/tvm/ir/source_map.h:26,
                 from /home/orangepi/python/tools/tvm_unity/include/tvm/ir/expr.h:27,
                 from /home/orangepi/python/tools/tvm_unity/include/tvm/tir/expr.h:28,
                 from /home/orangepi/python/tools/tvm_unity/src/arith/detect_common_subexpr.cc:24:
/home/orangepi/python/tools/tvm_unity/include/tvm/node/functor.h:26:10: fatal error: dmlc/logging.h: 没有那个文件或目录
   26 | #include <dmlc/logging.h>
      |          ^~~~~~~~~~~~~~~~

解决办法:

扫码领红包

微信赞赏支付宝扫码领红包

发表回复

后才能评论