2021-10-08 03:05 AM
Hello everyone,
I'm working on a new project using TouchGFX in STM32CubeIDE, I don't understand why I have include problems, especially that a file is recognized in one file and not in an other...
Here is my includes : I've got these errors :
What is weird is that error does not exist in all the files which include FrontendHeap.hpp !
I'm really confused about that, if you have any idea..
Thanks
2021-10-08 05:23 AM
Are you sure that it is recognized in the FrontendHeap.hpp file? Maybe it has just not been processed yet? The build process is by default interrupted at first file containing build errors... So the base assumption that "found in one file not in another" may be incorrect. The second file has not necessarily been dealt with by the C preprocessor.
If you CTRL+click on the line 20, can you then jump into the gui/common/FrontendHeap.hpp?
If the answer is, yes, then it is part of either the included header-files or known by the CDT indexer because specified in .project file as input file/folder.
Check where the file is actually located and verify that the required include folder is setup correctly.
Not expert at all on TGFX structure. So I just re-tag your question as a TouchGFX question, to see if we can a better answer!