2024-09-23 06:30 PM
TouchGFX designer 4.24.0 is new installed in my laptop which is Win11. I used the Clock Example to create a project, and reported an error. The log is attached.
I also created a new project by simulator. I put a button and run the simulator. It was fail. The log is attached too.
Did I miss something to install?
2024-09-24 02:54 AM - edited 2024-10-25 02:28 AM
Hello @Chand446209 and welcome to the community! :smiling_face_with_smiling_eyes:
I checked the logs but did not see anything obvious.
Did you also download STM32CubeIDE and STM32CubeProgrammer?
I advise you to follow this tutorial to properly install TouchGFX : How to TouchGFX: Installing TouchGFX Designer for STM32 GUI applications
I hope this helps!
Regards,
2024-09-30 07:38 AM
Hello @Chand446209 ,
Were you able to move forward on your issue?
Regards,
2024-10-11 06:52 PM
Sorry for late response.
I uninstalled my cubeide and touchgfx and removed all the related folder in C drive. After that, install cubeide 1.16.1, touchgfx designer 4.24.0 and touchgfx generator 4.24.0 in cubeide by following your suggestion.
Finished all the steps, I created a new project in designer, put a button and run simulator. The same errors were shown.
Do you have any idea if there were any step I missed?
Thanks for you help.
2024-10-21 02:22 AM
Hello @Chand446209 ,
I have found 2 forum post regarding the same error message.
Can you try their solution and then come to back to.
Regards,
2024-10-21 11:56 PM
Thanks for you help.
I think I found the root cause. My work computer is provided by company. So my windows account does not have the administrator access. TouchGFX needs the administrator access to generate code or run simulator in Win11. But it works well in my colleague's Win10 computer which also does not have the administrator access.
Hope this information helps.
2024-10-30 07:49 AM
Hello @Chand446209 ,
I am not sure it is affecting all windows11 computer without admin rights, I think it is something deeper.
Can you try to delete the folder C:\Users\<USERNAME>\AppData\Roaming\TouchGFX-<TOUCHGFX-VERSION> (don't forget the replace with the right values) and tell me if that changed anything?
Regards,
2024-11-01 02:22 AM
Another thing you could try is to get the latest VC++ redistributable.
Regards,
2024-11-03 07:21 PM
Hi @GaetanGodart ,
I have tried times to uninstall and install TouchGFX. I also deleted the folder you mentioned. But there was nothing changed.
2024-11-07 02:52 AM
Hello @Chand446209 ,
Have you tried the solutions provided in the other similar threads with the same error message?
Fixed by using UTF8 in the system's settings : https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/object-reference-not-set-to-an-instance-of-an-object-error-when/td-p/604208
Regards,