I'm new to uVision for a University project and since trying to get my code to build on my PC at home I get this error with any code I try to compile. Anyone know any way to fix this? I've been racking my brain for hours trying to find a solution as I can't work on my project if the code won't even build. Thank you.
Build one of the example or template projects. From *ST* https://www.st.com/en/embedded-software/stm32cubef4.html
Seems like your project is missing some meta-data, either in the command line defines for compiler, or paths for include files. Or the source is just not built/included in your project. Check for #ifdef block code inclusion.
Or you are mixing things from inconsistent sources.