Loading...
 
Skip to main content

System Workbench for STM32


missing standard C library

I believe I'm having the same problem: when updating from 2.4.0 to 2.7.0.
I've tried reverting, deleting new install and re-installing 2.7.0 several times: Same result each time.
The messages resemble this:

c:\openstm32\systemworkbench\plugins\fr.ac6.mcu.externaltools.arm-none.win32_1.16.0.201807130628\tools\compiler\lib\gcc\arm-none-eabi\7.2.1\include\stdint.h:9:16: fatal error: stdint.h: No such file or directory
 # include_next stdint.h
                ^~~~~~~~~~
compilation terminated.

(I couldn't get the above to show lt and gt signs around stdint.h...)

My recommendation to you would be try an older version if you can. It looks like the broken ARM toolchain was introduced in IDE v2.5.0. I haven't yet found why it's not broken for everyone else.

This issue has now caused me about 6 hours of work. I'm going back to an older version and staying there. I can't believe something so basic could be overlooked on a version change.

I'm now wondering if this is a missing library issue or something to do with the circular include prevention. I went back to a previous version and my problem went away. The other thing I noticed is that the includes all seemed to work properly in the prior version. What is strange is that my codes all compiled in the new version after cleaning. But for some reason once I messed with one of the include files it seemed like everything went to hell.

Jerry


 
Collapse/expand modules below