---
title: 编译SU2 6.0.1 时报错
description: "编译SU2时报错，报错信息为“error: ‘VALID_REF’ was not declared in this scope; did you mean ‘INVALID_REF’”。"
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/trouble/bootkit_hpc_troublecase_0098.html
sourcePath: /source/zh/kunpenghpcs/hpcindapp/trouble/bootkit_hpc_troublecase_0098.html
indexId: 73fc4b0d4492adf65480d4c39f74d5a0365f2d099f765bfaa3cfed9d847a0cf274
---
# 编译SU2 6.0.1 时报错

#### 问题现象描述

编译SU2时报错，报错信息为“error: ‘VALID_REF’ was not declared in this scope; did you mean ‘INVALID_REF’”。


#### 关键过程、根本原因分析

此错误是因为代码本身的bug。


#### 结论、解决方案及效果

下载6.0.x的正式release版本可以避免该错误。
