昇腾社区首页
中文
注册

PyTorch编译时出现Breakpad error: field 'regs' has incomplete type 'google_breakpad::user_regs_struct'报错

问题描述

PyTorch编译时出现Breakpad error: field 'regs' has incomplete type 'google_breakpad::user_regs_struct'报错。

处理方法

编译原生PyTorch时,未配置相关环境变量,导致编译不成功。

  1. 执行命令配置环境变量。
    export BUILD_BREAKPAD=0
  2. 执行命令清除当前编译内容。
    make clean
  3. 重新编译。