Closed
[Bug-Report|缺陷反馈]: 引用已下线头文件ge_error_codes.h导致编译失败 #351
songkai111Add on Sep 3Closed at Sep 4
Sep 3 Added label: bug-report
songkai111
Sep 3 Comments:
Sep 3 Comments:
/assign @songkai111


Sep 3 Assign songkai111 as responsible person
Sep 4 Close issue
Sep 4 Added label: resolved
Oct 21 Associated pull request
一、问题描述 (必填)
opbase 仓库中 4 处代码引用 graph/ge_error_codes.h(include/op_common/log/log.h、src/nnopbase/composite_op/lib_loader/opp_resource_loader.cpp、src/nnopbase/individual_op/executor/indv_executor.cpp、tests/nnopbase/common/depends/metadef/space_registry_stub.cpp)。该头文件在外部依赖(metadef/graph 模块)中已下线,新版 SDK 不再提供,导致编译失败。
二、环境信息 (可选)
• 依赖版本:metadef/ge 新版(ge_error_codes.h 已移除)
• 操作系统:Linux
三、重现步骤 (可选)
四、预期结果 (可选)
使用官方替代头文件 graph/error_codes.h,编译通过,ge::GRAPH_FAILED 等符号行为不变。
关联 PR:https://gitcode.com/cann/opbase/pull/818