cancel
Showing results for 
Search instead for 
Did you mean: 

Huge number errors when building my project, that suggests it to be a include/path issue. What can I try to fix it?

CDyer.1
Senior

Hi,

I have a project in stm32cubeide that I have been using and updating for a while and have not had any issues. Now however, I get

10:35:50 Build Failed. 6348 errors, 48 warnings. (took 6s.171ms)

Looking at some of the errors, it ranges from undeclared variables, to not recognising number formats. It looks like a driver or path issue but the paths look OK to me. Cleaning the the project and rebuilding does nothing. Here is a screenshot of some of the errors and the path:

0693W00000LyJGgQAN.png0693W00000LyJGRQA3.png0693W00000LyJG2QAN.png 

0693W00000LyJCkQAN.png 

Any suggestions as to what I could try next would be appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
Nikita91
Lead II

In your path there is STM32F767 but the screenshots shows STM32F446...

In the 1st screenshot there is #STM32F446RE., Try STM32F446xx

Without # and without RE

View solution in original post

4 REPLIES 4
KnarfB
Principal III

Take care that the project root folder is on a short simple path, not containing spaces, non-ASCII chars or other difficulties.

hth

KnarfB

HI, thanks for the suggestion but the project root is the same as it has always been (and it has been working until recently - no idea what has changed overnight). It is a

D:\Engineering_Software\STMicroelectronics\STM32F767\Pulse_base_MA3000_w_f446_v4_BACKUP

Nikita91
Lead II

In your path there is STM32F767 but the screenshots shows STM32F446...

In the 1st screenshot there is #STM32F446RE., Try STM32F446xx

Without # and without RE

I knew it was going to be something simple. Good eye, it was indeed an incorrect symbol. Thanks!