Welcome @goutham, to the community!
A similar discussion has already been held here. STemWin is neither a compiler that STM32CubeIDE needs to support, nor is it a current and recommended graphics tool.
If you absolutely still want to work with it and do not want to use the recommended TouchGFX instead, you can import the examples for STemWin contained in the firmware into STM32CubeIDE, for which you will find the project folder SW4STM32 in addition to the EWARM and MDK-ARM folders in the examples.
How to import:
- File > Import ...
- General > Import ac6 System Workbench for STM32 project
- Next
- Fill in the Import source field with the path to the root folder of the project (the folder containing the subfolders Core, STemWin, etc.)
- in the field below you will see several ticked entries, of which only the one with "Import as: STM32CubeIDE project" must remain ticked
- Finish then imports into the IDE
Note: A project should be opened or imported directly from the repository so that the relative dependencies can be found again when compiling.
If you then compile, you will get some error messages related to the GNU libraries, but these can be easily solved, as this thread describes in detail, e.g. with this solution.
As mentioned, however, I recommend the much more modern TouchGFX instead.
Hope that helps?
Regards
/Peter