cancel
Showing results for 
Search instead for 
Did you mean: 

Touchgfx Simulation does not run after project pulled from git

Kasun Dinesh
Associate III

I am getting a issue with simulating touchgfx projects. These are the steps I followed.

  1. Create a working touchgfx project from cubeide. (This one works/simulate without an issue)
  2. Push the project to git.
  3. Clone the project to another location
  4. Open touchgfx and try to simulate.

I am getting this error when i try to simulate.

Run Simulator

  Generate

    Done

  Generate Assets

    make -f simulator/gcc/Makefile assets -j8

    generated/simulator/gcc/Makefile:215: recipe for target 'images' failed

    process_begin: CreateProcess(NULL, ../Middlewares/ST/touchgfx/framework/tools/imageconvert/build/win/imageconvert.out -r assets/images -w generated/images, ...) failed.

    make (e=2): The system cannot find the file specified.

     

    make[1]: *** [images] Error 2

    simulator/gcc/Makefile:32: recipe for target 'assets' failed

    make: *** [assets] Error 2

    Failed

  Failed

This is my git ignore.

/Debug/

/Release/

/TouchGFX/build/

/Middlewares/ST/touchgfx/framework/tools/

/Middlewares/ST/touchgfx/lib/

/TouchGFX/generated/

/TouchGFX/simulator/msvs/.vs/

/.settings/

*.vcxproj.filters

*.VC.db

*.VC.opendb

4 REPLIES 4
CKauf
Associate III

If I remember correctly, I had to un-ignore the imageconvert.out and fontconvert.out files inside the /Middlewares/ST/touchgfx/framework/tools/...convert/build directory.

...
# but do NOT ignore these files!
!imageconvert.out
!fontconvert.out
...

But my .gitignore is purely based on filetypes, so your mileage may vary.

vishraadh
Associate II

Hello @Kasun Dinesh 

I have run into a similar issue and was wondering if you were able to fix this?

Thanks

MVagh.2
Associate

I know it has been a while since you raised this query. I encountered a similar issue and renaming my project to a smaller name worked for me.

I hope this solution helps someone else facing a similar problem.

Osman SOYKURT
ST Employee

Hello @MVagh.2 ,

Thank you very much for sharing your solution. I'll close this thread since it has been open for 4 years now. If anyone is facing this issue again, please start a new thread in the community, we'll see what we can do.

Osman SOYKURT
ST Software Developer | TouchGFX