2025-06-12 9:59 PM
I made a test project for h7s7 using cubeIDE,the structure generated is below:
Then I opened touchgfx designer and import a blank UI, when I tried to build the project, a error came out:
Generate Code
Generate
Wrote generated/gui_generated/include/gui_generated/screen1_screen/Screen1ViewBase.hpp
Wrote generated/gui_generated/src/screen1_screen/Screen1ViewBase.cpp
Done
Generate Assets
make -f simulator/gcc/Makefile assets -j8
Reading ./application.config
Reading ./target.config
Done
Post Generate
touchgfx update_project --project-file=simulator/msvs/Application.vcxproj
Done
Post Generate Target
touchgfx update_project
Unable to locate D:/STM32CubeIDE/workspace_1.7.0/7s7Test/.cproject
Failed
Failed
The .cproject is actually located in D:/STM32CubeIDE/workspace_1.7.0/7s7Test/Appli/.cproject
but touchgfx designer goes to wrong folder.
Anyone who can help?
2025-06-18 6:44 AM
Hello @amb ,
How did you created your project ,you made it from CUBEMX ?
BR,
2025-06-18 11:47 PM
hello @LouisB
I use CubeIDE v1.15.
I made it work by copy .cproject file to D:/STM32CubeIDE/workspace_1.7.0/7s7Test/,
but not a elegant solution.
2025-06-19 1:51 AM
Hello @amb,
Ok, but when you created the project it was from CubeMX or in TouchGFX designer ?
BR,
2025-06-22 5:38 PM
I created the project in CubeIDE.
2025-06-26 12:30 AM
Hello @amb,
Since you create your project in CubeIDE and if you plan to Build on target from CubeIDE, this will not cause issue as the files are generated. The post generate is if you want to either run build simulator or on target from the designer.
BR,