unknown type name uint8_t
时间: 2023-08-19 13:15:37 浏览: 263
引用[1]中提到了解决办法,即添加`#include <stdint.h>`头文件。这个错误提示意思是在`uint8_t`之前出现了未知的类型名。可能是因为缺少了对应的头文件或者没有正确定义该类型。通过添加`#include <stdint.h>`头文件可以解决这个问题。[1]
所以,你可以尝试在代码中添加`#include <stdint.h>`头文件来解决`unknown type name uint8_t`的问题。
阅读全文
相关推荐








