PlatformIO Community

Compilation Errors When Grabbing Header Files

Hi! I have been trying to compile a program in c++ through platformio.ini and it fails to find device.h everytime I run it and causes the compilation to terminate. It only seems to be an issue on my desktop, setting up the exact same files pulled from the exact same places on my laptop allows it to compile.

Screenshot 2022-01-14 145630

I have tried completely uninstalling everything and deleting every file related, reinstalling/downloading/compiling same issue.

Either the space or the ' in the username Nicc's PC is killing the build.

You are also running on an extremely outdated version of STSTM32, 5.3.0. The current one is 15.1.0. Can you check whether the bug is resolved when using the latest platform? (Take out the @5.3.0 in the platform = .. in the platformio.ini)