I built a project using STMCubeMX from ST, and it built. I added a few source files, added a couple of include paths, both using the GUI. It still tried to build, but the include paths were not correct, so I rearranged the order using the GUI.
Now I get: "Error: C4065E: type of input file '../Inc' unknown"
Is there manual "tuning" I can do to the uvprojx file? Do I now have to regenerate the project?
Any recourse? Bueller?
You must be living in a very strange country, where they did have universities in the 1950s, but still haven't discovered the concept of retirement 60 years later...
Oddly enough, the web search turned up very little information
I'm calling BS on that. The very first google hit on the error number explains exactly what's wrong.
So does the error message text itself, if one spends a bit of time actually trying to understand it. It tells you that the compiler believed that something named "../Inc" had been given to it as an "input file", i.e. source code. Well, unless you have very weird file naming conventions in aforementioned country, "../Inc" is bound to be not the name of a file, but rather that of a directory, right? That means some part of your include path got split off from the rest, so it now looks like a separate command line argument, and that would normally be the source file.
So look at the actual set of compiler flags (uVision shows that right there in the GUI, too), and see where that isolated "../Inc" might be.
I have reproduced this issue. Keil software for STM32. 2 months did not touch the project. I needed to add a GPIO pin. Added via STM32QubeMX. The project did not compile. Lost the directory with my * .h files. I added it to "Include Paths". But the project still didn't compile. This bug C4065E has appeared. I didn't understand what happened and started looking for an answer via google. Found this forum. I saw that the problem was one-time and is not reproducible. I began to look closely at the project settings and saw that the path to my * .h files is in "Misc Controls". Removed from "Misc Controls". Problem C4065E disappeared and the project compiled.
I am writing via google translate. Sorry if, what is wrong.