2021-06-10 02:10 AM
Dear all.
The phenomenon does not occur in "Generate Code", it appears in "Run Simulation".
The source is a file shared through "git", so some folders were not created.
The error that occurred in STM32cubeIDE because the folder was not created has been resolved.
Errors occurring in TouchGFX are difficult for me.
We share the error code below.
Thank you in advance.
Run Simulator
Generate
Done
Generate Assets
make -f simulator/gcc/Makefile assets -j8
Reading ./application.config
Done
Post Generate
touchgfx update_project --project-file=simulator/msvs/Application.vcxproj
Done
Post Generate Target
touchgfx update_project --project-file=../reblesspro-lcd.ioc --platform=m7
Done
Compile
make -f simulator/gcc/Makefile -j8
Reading ./application.config
Compiling gui/src/model/Model.cpp
Compiling gui/src/home_screen/homeView.cpp
Compiling gui/src/home_screen/homePresenter.cpp
Compiling gui/src/common/FrontendApplication.cpp
Compiling generated/gui_generated/src/common/FrontendApplicationBase.cpp
Compiling generated/gui_generated/src/home_screen/homeViewBase.cpp
Compiling generated/fonts/src/Font_verdana_40_4bpp_0.cpp
Compiling generated/simulator/src/mainBase.cpp
g++.exe: fatal error: no input files
compilation terminated.
g++.exe: fatal error: no input files
compilation terminated.
g++.exe: fatal error: no input files
compilation terminated.
g++.exe: fatal error: no input files
compilation terminated.
g++.exe: fatal error: no input files
compilation terminated.
g++.exe: fatal error: no input files
compilation terminated.
/usr/bin/sh: line 2: C:TouchGFX4.16.1envMinGWmsys1.0CoreInc: command not found
/usr/bin/sh: line 2: C:TouchGFX4.16.1envMinGWmsys1.0CoreInc: command not found
/usr/bin/sh: line 2: C:TouchGFX4.16.1envMinGWmsys1.0CoreInc: command not found
/usr/bin/sh: line 2: C:TouchGFX4.16.1envMinGWmsys1.0CoreInc: command not found
g++.exe: fatal error: no input files
compilation terminated.
/usr/bin/sh: line 3: C:TouchGFX4.16.1envMinGWmsys1.0MiddlewaresThird_PartyFreeRTOSSourceinclude: command not found
/usr/bin/sh: line 2: C:TouchGFX4.16.1envMinGWmsys1.0CoreInc: command not found
/usr/bin/sh: line 3: C:TouchGFX4.16.1envMinGWmsys1.0MiddlewaresThird_PartyFreeRTOSSourceinclude: command not found
/usr/bin/sh: line 2: C:TouchGFX4.16.1envMinGWmsys1.0CoreInc: command not found
make[2]: *** [build/MINGW32_NT-6.2/gui/src/home_screen/homeView.o] Error 127
generated/simulator/gcc/Makefile:190: recipe for target 'build/MINGW32_NT-6.2/gui/src/home_screen/homeView.o' failed
make[2]: *** Waiting for unfinished jobs....
g++.exe: fatal error: no input files
compilation terminated.
/usr/bin/sh: line 3: C:TouchGFX4.16.1envMinGWmsys1.0MiddlewaresThird_PartyFreeRTOSSourceinclude: command not found
/usr/bin/sh: line 3: C:TouchGFX4.16.1envMinGWmsys1.0MiddlewaresThird_PartyFreeRTOSSourceinclude: command not found
/usr/bin/sh: line 2: C:TouchGFX4.16.1envMinGWmsys1.0CoreInc: command not found
make[2]: *** [build/MINGW32_NT-6.2/gui/src/common/FrontendApplication.o] Error 127
generated/simulator/gcc/Makefile:190: recipe for target 'build/MINGW32_NT-6.2/gui/src/common/FrontendApplication.o' failed
generated/simulator/gcc/Makefile:190: recipe for target 'build/MINGW32_NT-6.2/gui/src/model/Model.o' failed
make[2]: *** [build/MINGW32_NT-6.2/gui/src/model/Model.o] Error 127
generated/simulator/gcc/Makefile:190: recipe for target 'build/MINGW32_NT-6.2/generated/fonts/src/Font_verdana_40_4bpp_0.o' failed
make[2]: *** [build/MINGW32_NT-6.2/generated/fonts/src/Font_verdana_40_4bpp_0.o] Error 127
/usr/bin/sh: line 3: C:TouchGFX4.16.1envMinGWmsys1.0MiddlewaresThird_PartyFreeRTOSSourceinclude: command not found
make[2]: *** [build/MINGW32_NT-6.2/generated/gui_generated/src/common/FrontendApplicationBase.o] Error 127
generated/simulator/gcc/Makefile:190: recipe for target 'build/MINGW32_NT-6.2/generated/gui_generated/src/common/FrontendApplicationBase.o' failed
/usr/bin/sh: line 3: C:TouchGFX4.16.1envMinGWmsys1.0MiddlewaresThird_PartyFreeRTOSSourceinclude: command not found
/usr/bin/sh: line 3: C:TouchGFX4.16.1envMinGWmsys1.0MiddlewaresThird_PartyFreeRTOSSourceinclude: command not found
/usr/bin/sh: line 2: C:TouchGFX4.16.1envMinGWmsys1.0CoreInc: command not found
make[2]: *** [build/MINGW32_NT-6.2/gui/src/home_screen/homePresenter.o] Error 127
generated/simulator/gcc/Makefile:190: recipe for target 'build/MINGW32_NT-6.2/gui/src/home_screen/homePresenter.o' failed
make[2]: *** [build/MINGW32_NT-6.2/generated/simulator/src/mainBase.o] Error 127
generated/simulator/gcc/Makefile:190: recipe for target 'build/MINGW32_NT-6.2/generated/simulator/src/mainBase.o' failed
/usr/bin/sh: line 3: C:TouchGFX4.16.1envMinGWmsys1.0MiddlewaresThird_PartyFreeRTOSSourceinclude: command not found
make[2]: *** [build/MINGW32_NT-6.2/generated/gui_generated/src/home_screen/homeViewBase.o] Error 127
generated/simulator/gcc/Makefile:190: recipe for target 'build/MINGW32_NT-6.2/generated/gui_generated/src/home_screen/homeViewBase.o' failed
generated/simulator/gcc/Makefile:149: recipe for target 'generate_assets' failed
make[1]: *** [generate_assets] Error 2
simulator/gcc/Makefile:35: recipe for target 'all' failed
make: *** [all] Error 2
Failed
Failed
2021-06-28 10:35 PM
Hello TLEE.3,
What's the current status ?
Your project seems a bit messy and it's also hard for me to guess anything just from looking at the error.
I suggest to recreate a clean UI project first (without the board code) and copy all the UI code/elements to the new project. Then try to Run simulator again.
/Alexandre