cancel
Showing results for 
Search instead for 
Did you mean: 

Out of the box i cannot generate any project or compile simulator. I get this error and cannot understand a reason.

RSmir.1
Associate II

Generate Code

   Generate

       Done

   Generate Assets

       make -f simulator/gcc/Makefile assets -j8

       The system cannot find the path specified.

       Converting images

       Reading ./application.config

       Failed

   Failed

-----------

AND FROM COMMAND LINE after make -f simulator/gcc/Makefile

Igenerated/texts/include -I../Middlewares/ST/touchgfx/framework/include -c gui/s

rc/easingequation_screen/EasingEquationGraph.cpp -o build/MINGW32_NT-6.2/gui/src

/easingequation_screen/EasingEquationGraph.o, ...) failed.

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

generated/simulator/gcc/Makefile:190: recipe for target 'build/MINGW32_NT-6.2/gu

i/src/easingequation_screen/EasingEquationGraph.o' failed

10 REPLIES 10
Alexandre RENOUX
Principal

Hello,

Could you elaborate the steps you did ? What version of TouchGFX do you have ? If it's not 4.14, please upgrade to 4.14.

/Alexandre

RSmir.1
Associate II

4.14.. It compiles in console but gives error in program. Looks like may be program does not change environment.. may be.. Steps: just load any demo and try to build simulator or generate code. It gives this...

Alexandre RENOUX
Principal

This should definitely be not the case. TouchGFX should work using out of box demos without any problem.

Can you try reinstall it ?

Could you provide sequentially the steps you did even if it sounds obvious ?

So it compiles but you cannot run the simulator nor on the board ? What do you mean by "program does not change environment" ?

/Alexandre

RSmir.1
Associate II

Installed. Create new project for stm32. Open Imga example. Press Run Simulator. ANd get this:

Run Simulator

   Copy Framework

       Copying TouchGFX framework version 4.14.0 to C:\TouchGFXProjects\MyApplication\Middlewares\ST\touchgfx

       Done

   Generate

       Wrote config/gcc/app.mk

       Wrote config/msvs/Application.props

       Wrote generated/gui_generated/include/gui_generated/common/FrontendApplicationBase.hpp

       Wrote generated/gui_generated/include/gui_generated/common/FrontendHeapBase.hpp

       Wrote generated/gui_generated/include/gui_generated/common/SimConstants.hpp

       Wrote generated/gui_generated/include/gui_generated/main_screen/MainViewBase.hpp

       Wrote generated/gui_generated/src/common/FrontendApplicationBase.cpp

       Wrote generated/gui_generated/src/main_screen/MainViewBase.cpp

       Wrote generated/simulator/gcc/Makefile

       Wrote generated/simulator/include/simulator/mainBase.hpp

       Wrote generated/simulator/msvs/touchgfx.props

       Wrote generated/simulator/msvs/touchgfx_prebuild.targets

       Wrote generated/simulator/msvs/touchgfx_sdl2.props

       Wrote generated/simulator/src/mainBase.cpp

       Wrote generated/simulator/touchgfx.ico

       Wrote generated/simulator/touchgfx.rc

       Wrote generated/simulator/touchgfx.res

       Wrote simulator/gcc/Makefile

       Wrote simulator/main.cpp

       Wrote simulator/msvs/Application.sln

       Wrote simulator/msvs/Application.vcxproj

       Wrote simulator/msvs/Application.vcxproj.filters

       Done

   Generate Assets

       make -f simulator/gcc/Makefile assets -j8

       The system cannot find the path specified.

       Reading ./application.config

       Generating generated/images/src/image_ani_01.cpp

       Generating generated/images/src/image_ani_02.cpp

       Generating generated/images/src/image_ani_03.cpp

       Generating generated/images/src/image_ani_04.cpp

       Generating generated/images/src/image_ani_05.cpp

       Generating generated/images/src/image_ani_06.cpp

       Generating generated/images/src/image_ani_07.cpp

       Generating generated/images/src/image_ani_08.cpp

       Generating generated/images/src/image_ani_09.cpp

       Generating generated/images/src/image_ani_10.cpp

       Generating generated/images/src/image_ani_11.cpp

       Generating generated/images/src/image_ani_12.cpp

       Generating generated/images/src/image_ani_13.cpp

       Generating generated/images/src/image_ani_14.cpp

       Generating generated/images/src/image_bg.cpp

       Generating generated/images/src/image_btn.cpp

       Generating generated/images/src/image_btn_pressed.cpp

       Generating generated/images/include/BitmapDatabase.hpp

       Generating generated/images/src/BitmapDatabase.cpp

       Cleaning generated files from generated/texts and generated/fonts.

       Generating generated/fonts/src/GeneratedFont.cpp

       Generating generated/fonts/include/fonts/GeneratedFont.hpp

       Generating generated/fonts/include/fonts/CachedFont.hpp

       Generating generated/fonts/src/CachedFont.cpp

       Generating generated/fonts/include/fonts/FontCache.hpp

       Generating generated/fonts/src/FontCache.cpp

       Generating generated/fonts/src/ApplicationFontProvider.cpp

       Generating generated/fonts/include/fonts/ApplicationFontProvider.hpp

       Generating generated/texts/include/texts/TextKeysAndLanguages.hpp

       Generating generated/texts/include/texts/TypedTextDatabase.hpp

       Generating generated/texts/src/TypedTextDatabase.cpp

       Generating generated/texts/src/Texts.cpp

       Generating generated/texts/src/LanguageGb.cpp

       Failed

   Failed

Alexandre RENOUX
Principal

"Create new project for stm32. Open Imga example."

Create project where ? How ? What is lmga example ?

Unfortunately, what you gave me does not help trying to find out the issue. Try to be more precise.

/Alexandre

I genenerate project in TouchGFX from zero. Choose stm32 template and f.e Image Example project or any other. I do not use project generated by Cube MX or something. Just use Touch GFX. Project opens but when compiling it cannot find some assets. вт, 6 окт. 2020 г. в 05:08, ST Community :

What template ? Image Example does not exist but I suppose you are talking about the Animated Image Example.

Here are the steps I did and it worked :

  • Open TouchGFX 4.14
  • Select F746-DISCO Application Template v3.0.1
  • Select Animated Image Example as UI template
  • Create project
  • Clikc Run Simulator Button
  • Everything is generated correctly, compiles and simulator is launched

I need more information to understand your problem. But first try to reinstall TouchGFX and do the steps I did.

/Alexandre

I tried to figure out myself... Paths are ok. I only have this output from compiler - something about missing assets... ok.. anyway it compiles from console.... i reinstalled program and have the same output... Don`t know how to diagnose more. Look at compiler output in previous messages. �?р, 7 окт. 2020 г. в 04:22, ST Community :
RSmir.1
Associate II

HOW TO UNDERSTAND WHAT IS MISSING?? all folders in generated project are in place. Should be there some path included in environment variables??

Generate Assets

       make -f simulator/gcc/Makefile assets -j8

       The system cannot find the path specified.

       Reading ./application.config

       Generating generated/images/src/image_ani_01.cpp

       Generating generated/images/src/image_ani_02.cpp

       Generating generated/images/src/image_ani_03.cpp

       Generating generated/images/src/image_ani_04.cpp

       Generating generated/images/src/image_ani_05.cpp

       Generating generated/images/src/image_ani_06.cpp

       Generating generated/images/src/image_ani_07.cpp

       Generating generated/images/src/image_ani_08.cpp

       Generating generated/images/src/image_ani_09.cpp

       Generating generated/images/src/image_ani_10.cpp

       Generating generated/images/src/image_ani_11.cpp

       Generating generated/images/src/image_ani_12.cpp

       Generating generated/images/src/image_ani_13.cpp

       Generating generated/images/src/image_ani_14.cpp

       Generating generated/images/src/image_bg.cpp

       Generating generated/images/src/image_btn.cpp

       Generating generated/images/src/image_btn_pressed.cpp

       Generating generated/images/include/BitmapDatabase.hpp

       Generating generated/images/src/BitmapDatabase.cpp

       Cleaning generated files from generated/texts and generated/fonts.

       Generating generated/fonts/src/GeneratedFont.cpp

       Generating generated/fonts/include/fonts/GeneratedFont.hpp

       Generating generated/fonts/include/fonts/CachedFont.hpp

       Generating generated/fonts/src/CachedFont.cpp

       Generating generated/fonts/include/fonts/FontCache.hpp

       Generating generated/fonts/src/FontCache.cpp

       Generating generated/fonts/src/ApplicationFontProvider.cpp

       Generating generated/fonts/include/fonts/ApplicationFontProvider.hpp

       Generating generated/texts/include/texts/TextKeysAndLanguages.hpp

       Generating generated/texts/include/texts/TypedTextDatabase.hpp

       Generating generated/texts/src/TypedTextDatabase.cpp

       Generating generated/texts/src/Texts.cpp

       Generating generated/texts/src/LanguageGb.cpp

       Failed

   Failed