使用命令./Ascend-mindxsdk-mxvision_{version}_linux-{arch}.run --install安装版本包时,出现类似如下报错:
1 2 | CMake Error at CMakeLists.txt:11 (cmake_minimum_required): CMake xxx or higher is required. You are running version xxxx |
1 2 3 4 5 6 7 8 9 | /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版本不匹配,导致算子编译失败,并有算子编译中间文件残留。