What could cause this compile error: " The calling thread cannot access this object because a different thread owns it?"
Hi,
I have tried to generate a new project via the templates in TouchGFX for STM32F429-discovery. I have also tried to create a create a project via STM32CubeMX 5.5.0 for the same board and followed the guide https://touchgfx.zendesk.com/hc/en-us/articles/360010921760-TouchGFX-HAL-Development.
Every time I hit the "generate code" in TouchGFX the result is "The calling thread cannot access this object because a different thread owns it." What can cause this failure..? Is it the tool, code (not modified by me) or Windows 10?
Bonus error; I also have the "String was not recognized as a valid DateTime." This one I know how to solve, but I don't know if they are linked...


Hope you guys can guide me.
Rasmus
