'uint32_t' does not name a type

后端 未结 9 1616
旧时难觅i
旧时难觅i 2021-01-30 12:13

I\'m trying to compile a C++ software package that was written in 2007 and I\'m getting this error:

error: ‘uint32_t’ does not name a type

This is h

9条回答
  •  伪装坚强ぢ
    2021-01-30 13:08

    I had tha same problem trying to compile a lib I download from the internet. In my case, there was already a #include in the code. I solved it adding a:

    using std::uint32_t;
    

提交回复
热议问题