unknown type name 'uint8_t', MinGW

后端 未结 4 1012
半阙折子戏
半阙折子戏 2020-12-03 13:11

I get \"unknown type name \'uint8_t\'\" and others like it using C in MinGW. Any ideas how to solve this?

4条回答
  •  半阙折子戏
    2020-12-03 13:54

    I had to include "PROJECT_NAME/osdep.h" and that includes the os specific configurations.

    I would look in other files using the types you are interested in and find where/how they are defined (by looking at includes).

提交回复
热议问题