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时,未配置相关环境变量,导致编译不成功。
- 执行命令配置环境变量。
export BUILD_BREAKPAD=0
- 执行命令清除当前编译内容。
make clean
- 重新编译。
父主题: 其他操作相关问题