Skip to main content
madhavi U
Associate II
March 25, 2023
Question

'ECANCELED' was not declared in this scope line 128, external location: c:\program files (x86)\atollic\truestudio for stm32 9.3.0\armtools\arm-atollic-eabi\include\c++\6.3.1\arm-atollic-eabi\armv7e-m\fpu\fpv5-d16\bits\error_constants.h

why am i getting this error and how to solve it?

This topic has been closed for replies.

2 replies

Pavel A.
March 25, 2023

> why am i getting this error

There is a deficient errno.h file somewhere on your include path

> and how to solve it?

Reorder include paths so that a good errno.h is found before the bad one.

Tesla DeLorean
Guru
March 25, 2023

The compiler tells you where to look, perhaps start there, and unravel the context..

Probably some conflicting #define on your end.

Have the compiler generate pre-processor output, and review that.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..