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?
I have reproduced this problem. I had a project for STM32 from Keil. I didn’t touch it for 2 months. After 2 months, I needed to add a GPIO pin. I did it via STM32QubeMX. And I got the first bug. My * .h files from my directory were not connected to the main.c file. I got into the settings and saw that the directory disappeared from the settings. Added it. And the Error C4065E error popped up. I could not understand and went to search through Google. Saw this forum with an unreproducible issue. I decided to get to the bottom of it. Found that my directory with h files from "include paths" moved to "Misc Controls". By removing the false duplicate from "Misc Controls" everything compiled fine.
I am writing via Google Translate. Sorry if something is wrong.