gpt4 book ai didi

c++ - 错误 : conflicting declaration for uint32_t

转载 作者:行者123 更新时间:2023-11-30 01:52:53 37 4
gpt4 key购买 nike

<分区>

当我第一次尝试编译我的程序时,我得到了这个错误:

error: ‘uint32_t’ does not name a type

然后我把

#include <stdint.h>

现在发现这个错误:

/include/stdint.h:52: error: conflicting declaration ‘typedef unsigned int uint32_t’

/cuda/include/vector_types.h:452: error: ‘uint32_t’ has a previous declaration as ‘typedef struct uint32_t uint32_t’

有什么解决这个问题的建议吗?谢谢

37 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com