当前位置:网站首页>Mindspore1.1.1源码编译安装--核心编译阶段报错
Mindspore1.1.1源码编译安装--核心编译阶段报错
2022-07-19 12:12:00 【小乐快乐】
Mindspore 版本:1.1.1
硬件平台CPU
操作系统Window10-x86
在编译过程中,于* build core *阶段报如下错误,导致安装失败。
In file included from D:\atestwarehouse\mindspore\mindspore\core\load_mindir\load_model.cc:17:0:
D:/atestwarehouse/mindspore/mindspore/core/load_mindir/load_model.h:23:10: fatal error: proto/mind_ir.pb.h: No such file or directory
#include "proto/mind_ir.pb.h"
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
mingw32-make.exe[2]: *** [mindspore\core\CMakeFiles\mindspore_core.dir\build.make:726: mindspore/core/CMakeFiles/mindspore_core.dir/load_mindir/load_model.cc.obj] Error 1
mingw32-make.exe[2]: *** Waiting for unfinished jobs....
In file included from D:\atestwarehouse\mindspore\mindspore\core\load_mindir\anf_model_parser.cc:17:0:
D:/atestwarehouse/mindspore/mindspore/core/load_mindir/anf_model_parser.h:25:10: fatal error: proto/mind_ir.pb.h: No such file or directory
#include "proto/mind_ir.pb.h"
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
mingw32-make.exe[2]: *** [mindspore\core\CMakeFiles\mindspore_core.dir\build.make:712: mindspore/core/CMakeFiles/mindspore_core.dir/load_mindir/anf_model_parser.cc.obj] Error 1
mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:2636: mindspore/core/CMakeFiles/mindspore_core.dir/all] Error 2
mingw32-make.exe: *** [Makefile:170: all] Error 2
"build fail."
通过重新配置mingw、cmake和perl的版本到与官网完全一致,解决了编译报错。 环境配置详情见:https://www.mindspore.cn/install
边栏推荐
猜你喜欢
Input and output characteristic curve and gm/id simulation curve of MOS tube (cadence ic617)
ACL 2022 | Text-to-Table:一种新的信息抽取任务
雲原生核心技術之:Service Mesh 的實現—— Istio
Week 5 Image Classification、Bag of Visual Words (Bag of Features) and Multi-Layer Neural Networks
【历史上的今天】6 月 28 日:马斯克诞生;微软推出 Office 365;蔡氏电路的发明者出生
面试官必问的 3 道 MQ 面试题,还有谁不会??
Who else can't answer the three MQ interview questions that an interviewer must ask??
【历史上的今天】7 月 3 日:人体工程学标准法案;消费电子领域先驱诞生;育碧发布 Uplay
组合数学学习笔记(未完待续
【历史上的今天】6 月 30 日:冯·诺依曼发表第一份草案;九十年代末的半导体大战;CBS 收购 CNET
随机推荐
中信证券是国企嘛?安全嘛?
Love segment tree's good child [nine schools 2d1t3] beautiful sequence
freeotp 安装及使用过程[通俗易懂]
请问,现在有什么短期的理财产品值得买?
康威定律——组织决定产品,领域驱动设计
Mysql on duplicate key update用法及优缺点
和Leo一起做爱数学的好孩子之容斥 【SCOI2010】幸运数字
Improve the mirror station configuration information - mirror station experience Officer
成功解决TypeError: a bytes-like object is required, not ‘str‘
Comparison of eolink and JMeter interface tests
pytorch训练模型时dataloader报错“default_collate: batch must contain tensors, numpy arrays, numbers, dicts ”
Decorator solves typeerror: 'nonetype' object is not callable
Inequality learning notes
Redis支撐秒殺場景的關鍵技術和實踐都有哪些?
剑指offer题库总结(三)之链表(C语言版本)
科技云报道:零信任和SASE有什么不一样?答案其实并不重要
机器翻译做到头了?Meta开源NLLB翻译模型,支持200种语言互译
Consul 注册中心介绍以及搭建
[jsoi2007] important cities
Oracle的$sqlarea 是不是无法查出来这些SQL是那台主机执行的?