下载
EN
注册
使用命令安装Vision SDK时,显示算子编译失败,并有算子编译中间文件残留

使用命令安装Vision SDK时,显示算子编译失败,并有算子编译中间文件残留

2025/01/06

16

暂无评分
我要评分

问题信息

问题来源产品大类产品子类关键字
官方安装部署应用开发MindSDK算子编译失败;文件残留

问题现象描述

使用命令./Ascend-mindxsdk-mxvision_{version}_linux-{arch}.run --install安装版本包时,出现类似如下报错:

CMake Error at CMakeLists.txt:11 (cmake_minimum_required):
    CMake xxx or higher is required.  You are running version xxxx
并在安装路径/operators/operatorsdsl/op”目录内有如下中间文件残留。
/mxVision-x.x.x/operators/operatorsdsl/op/cmake/util/gen_impl_and_mrege_json.sh
/mxVision-x.x.x/operators/operatorsdsl/op/cmake/util/gen_ops_filter.sh
/mxVision-x.x.x/operators/operatorsdsl/op/cmake/util/merge_aicpu_info_json.sh
/mxVision-x.x.x/operators/operatorsdsl/op/cmake/util/makeself/make-release.sh
/mxVision-x.x.x/operators/operatorsdsl/op/cmake/util/makeself/makeself-header.sh
/mxVision-x.x.x/operators/operatorsdsl/op/cmake/util/makeself/makeself.sh
/mxVision-x.x.x/operators/operatorsdsl/op/cmake/util/makeself/run-tests.sh
/mxVision-x.x.x/operators/operatorsdsl/op/scripts/install.sh
/mxVision-x.x.x/operators/operatorsdsl/op/scripts/upgrade.sh

原因分析

CMake版本不匹配,导致算子编译失败,并有算子编译中间文件残留。

解决措施

  1. 使用./Ascend-mindxsdk-mxvision_{version}_linux-{arch}.run --uninstall卸载软件包,并清除残留中间脚本。
  2. 根据Vision SDK的不同操作系统对所需依赖的要求,更新CMake版本之后重新执行安装操作。

本页内容