unknown type name 'uint8_t', MinGW

RobotRock picture RobotRock · Jan 21, 2012 · Viewed 203.3k times · Source

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

Answer

cnicutar picture cnicutar · Jan 21, 2012

Try including stdint.h or inttypes.h.