2019-09-25 05:10 AM
I installed the STM32Cube related programs in the following order.
And all programs are up to date.
(1) STM32CubeMX
(2) TrueStudio
(3) STM32CubeProg
(4) STMCubeL4
(5) STM32CubeIDE
(6) TouchGFX designer
When I created a sample to test TouchGFX designer, but I just got "Error during code generation" after the sample was created.
I don't know why and how to..
Please help me about this matter.
Thanks in advance.
2019-09-25 05:49 AM
The designer runs make.
Try typing ( in the touchgfx environment in the root of your application )
make -f simulator/gcc/Makefile clean assets
Let me know what it says.
/Martin
2019-09-25 06:01 AM
Thank you for your response..
You mean the following picture? Or please let me know what I have to do. Thanks in advance!
2019-09-25 06:08 AM
Okay, so CreateProcess fails. This is usually indicative of an additional msys.dll in your path. Do you have any others in your path? Some have fixed this by "rebasing" their msys.dll. You should be able to find some information about that either here or on your favorite search engine. Or you could remove the additional msys.dll along your path if you're not using it.
/Martin
2019-09-25 06:55 AM
msys.dll means msys-1.0.dll, Right? I don't know any idea about "rebasing". Instead of "rebasing", I removed all path variables related to "msys*.dll" and rebooted my laptop. But I still have the same unwanted result. I will check the path variables in my windows again and I will try "rebasing" from googling. Thank you for your quick response. After I try it, I'll ask you again.
2019-09-25 07:26 AM
I found a strange thing. I added "D:\TouchGFX\4.10.0\env\MinGW\msys\1.0\Ruby193\bin\" to my path variable and I try "make" in dos command prompt like the following picture. It seems OK but the toughGFX designer shows still "Error during code generation"..
Could you explain about what's the difference and any solution in toughGFX designer?
Thanks in advance.
2019-09-25 07:41 AM
2019-09-25 04:13 PM
I found "CreatProcess failed" is caused by absence of "ruby" path of environment variable in my windows. So this is not a point to solve the problem.
After I added the ruby's path variable, no problem in dos command or sh command prompt to execute "make". But I still get "Error during code generation" when I click the button of "Generate Code" and get "Unable to launch simulator" when I click the "Run Simulator" button.
Please help me solve this problem..
Thanks in advance!