Skip to main content
LDoyl
Associate II
January 22, 2021
Question

Compile make -f ../gcc/Makefile -j10 make: ../gcc/Makefile: No such file or directory

  • January 22, 2021
  • 2 replies
  • 1936 views

I may be a bit slow but:

When I run my project in TouchGFX in a different folder as a standalone program, I can Generate Code, Run Simulator and Run Target. Everything works as expected and I can exercise the GUI on the '469i-Disco board.

When I copy the TouchGFX into a STM32CubeIDEworkspace and add the TouchGFX folder to the IDE project, I can no longer Run Target in TouchGFX although Run Simulator works just fine.

The error message is:

Run Target

   Generate

       Wrote config/gcc/app.mk

       Done

   Generate Assets

       make -f simulator/gcc/Makefile assets -j8

       Reading ./application.config

       Done

   Post Generate

       touchgfx update_project --project-file=simulator/msvs/Application.vcxproj

       Done

   Post Generate Target

       touchgfx update_project --project-file=../ButterstickTF20210121.ioc --platform=m4

       Done

   Compile

       make -f ../gcc/Makefile -j10

       make: ../gcc/Makefile: No such file or directory

       make: *** No rule to make target '../gcc/Makefile'. Stop.

       Failed

   Failed

I see where the make file is called in the projectname.touchgfx is called. Is this expected behavior? If so, how do I debug in IDE?

This topic has been closed for replies.

2 replies

Romain DIELEMAN
ST Employee
January 25, 2021

Hi,

Could you share a screenshot of your project's folder ? The error message indicates that there are no gcc folder (or at least no Makefile). I am not sure I understand all the steps you did but it seems like an expected behavior if you change the project's structure. The run target command in Designer is initially set to work with gcc (you can see the command lines in the "Config" tab in TouchGFX Designer, in the "Build" section).

Are you still able to run your project on target from STM32CubeIDE ?

/Romain

LDoyl
LDoylAuthor
Associate II
January 25, 2021
Romain, I wasn't sure if you wanted the view from Windows or from the IDE so I am giving you screen shots of both. [cid:image001.png@01D6F2E9.21F2CB70] [cid:image002.png@01D6F2E9.21F2CB70] Lance Doyle Electronics Design, Manf. Engineer Bruker Handheld LLC Bruker Nano, Inc. HMP Business Unit 415 N. Roosevelt Street Kennewick, WA 99336 USA Phone: +1-509-783-9850x6275 Fax: +1-509-735-9696 lance.doyle@bruker.com www.bruker.com/hmp<> - confidential -
Romain DIELEMAN
ST Employee
January 26, 2021

Hi,

could you share those images again ?

/Romain

LDoyl
LDoylAuthor
Associate II
February 1, 2021

I have been able to compile without errors in the IDE (finally). However, "Run Target" from the TouchGFX app still responds with

 Compile

       make -f ../gcc/Makefile -j8

       make: ../gcc/Makefile: No such file or directory

       make: *** No rule to make target '../gcc/Makefile'. Stop.

       Failed

Is this normal?