Help Needed in Building a Simple Project with STemWin and STM32CubeIDE
- January 6, 2022
- 19 replies
- 9163 views
Hello Everyone,
I need help in building the project as I am facing some issues.
As we know we can't configure the STemWin from CubeMX/STM32CubeIDE and to use the STemWin library we have to add it separately in our project.
I created a simple project using CubeMX/STM32CubeIDE which is auto-generated and then I took the reference from the example STemWin_HelloWorld present in the CubeF7 package.
I think I did most of the steps, by comparing these two projects, but I am getting the error.
../STemWin_Config/GUIConf.c:54:10: fatal error: GUI.h: No such file or directory
54 | #include "GUI.h"
| ^~~~~~~
compilation terminated.But in my project this file is present and added to the project, even the path is also updated in the project settings, I don't know why I am getting this error, that this file is not present.
One strange thing which I have noticed is as shown below, here in include section I can see most of the include paths related to STemWin are disabled/greyed out, I don't know what is the reason.
While the example project which is working fine, this is not greyed out/disabled.
Maybe the issue is related to this.
I am using STM32F769I Discovery Board, and STM32CubeIDE 1.8.0.
I have attached the complete project ziped with this post, please help me in resolving this.
I think the issue might be very simple which I missed due to lack of knowledge.
Thanks in advance.

