I have 2 computers running TouchGFXDesigner
Although one computer is a desktop and the other a laptop I have taken great care to ensure that both computers are setup as identically as possible. That is they both are running the same versions of TouchGFXDesigner , CubeMX, & CubeIDE. All the files for the ST products reside in their respective default directories and these directories are identical on both computers. The user name for both computers is the same so in short these computers are as identical as they can possibly be. Yes I even checked the environment variables and paths.
However, I have run into an issue where a project created on one computer will not function properly in the other. Oddly enough the reverse is also true. In short I only seem to be able to run the simulator (for example) on the computer that the project was initially created on. The development environment seems to work fine on both though. I also tried creating a very simple project on both computers and the simulator runs properly for each system. Using Winver I was able to verify that the simple project files were for all intents and purposes, identical.
The error that I get is shown below, but it looks like the linker cannot find the touchgfx folder.
This appears to be set in a number of places as "TouchGfxPath": "../Middlewares/ST/touchgfx" or similar
such as touchgfx_path := ../Middlewares/ST/touchgfx in the TouchGFX/config/gcc/app.mk file
The problem is that the touchgfx folder exists in the exact same place on both systems and do not understand the cannot find touchgfx error.
I tried setting the touchgfx_path in several places (the .touchgfx and app.mk files) and in all cases the TouchGFX designer software resets the changes back to a relative path. I thought that I would try using the full path for touchgfx folder to see if the error persists.
Linking build/bin/simulator.exe
C:/TouchGFX/4.26.1/env/MinGW/bin/../lib/gcc/i686-w64-mingw32/13.2.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -ltouchgfx: No such file or directory
collect2.exe: error: ld returned 1 exit status
generated/simulator/gcc/Makefile:160: recipe for target 'build/bin/simulator.exe' failed
make[2]: *** [build/bin/simulator.exe] Error 1
generated/simulator/gcc/Makefile:155: recipe for target 'generate_assets' failed
make[1]: *** [generate_assets] Error 2
simulator/gcc/Makefile:32: recipe for target 'all' failed
make: *** [all] Error 2
Failed
I am not sure how to proceed, any help is appreciated as this is a significant inconvenience for me.
I am also wondering why I cannot force a path change in the project.