cancel
Showing results for 
Search instead for 
Did you mean: 

Hello I set up TouchGFX and when I want to simulate, I get an error like the following. It doesn't work on Code Generator and Run Target.

Celebriums
Associate II

Run Simulator

  Copy Framework

    Copying TouchGFX framework version 4.13.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

    Writing generated/images/src/bg.cpp

    Writing generated/images/src/radio_button_selected.cpp

    Writing generated/images/src/radio_button_selected_pressed.cpp

    Writing generated/images/src/radio_button_unselected.cpp

    Writing generated/images/src/radio_button_unselected_pressed.cpp

    Writing generated/images/include/BitmapDatabase.hpp

    Writing generated/images/src/BitmapDatabase.cpp

    "\x8D" to UTF-8 in conversion from Windows-1254 to UTF-8

    an error occurred in converting texts:

     

    "\x8D" to UTF-8 in conversion from Windows-1254 to UTF-8

    make[1]: *** [texts] Error 1

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

    generated/simulator/gcc/Makefile:219: recipe for target 'texts' failed

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

    make: *** [assets] Error 2

    Failed

  Failed

6 REPLIES 6
Alexandre RENOUX
Principal

Hello,

From what I can see, it looks like you have a conversion issue. This is the following debug lines that are important :

 "\x8D" to UTF-8 in conversion from Windows-1254 to UTF-8

    an error occurred in converting texts:

What kind of text do you want to display ?

First try to remove the TextArea (if it is one) you are using and see if you still have the error.

Please when you create a post for one of your issues, give some background on what you are doing such as what kind of GUI you are trying to make, (if any) what board are you using, what version of TouchGFX, etc. This will help us answering you more accurately.

/Alexandre

Celebriums
Associate II

I'm using TouchGFX 4.13.0 versiyon and STM769I-DISCO board .

I have previously tested the following states for simulation and the error is the same.

1. There are 1 button in the sample.

2. There are no items in the example. I opened the example of Blank UI.

3. There are any examples prepared in the sample.

Celebriums
Associate II

I just started the program, and I couldn't get it to work.

https://support.touchgfx.com/docs/introduction/installation/#installing-touchgfx-generator-in-cubemx

STMCubeMX

STMProgramming

STlink is very working.

I set up the program on the link below. 

I know my brother's Laptop works smoothly.

Alexandre RENOUX
Principal

Hello,

To be on the same page, can you do the following steps ?

  1. Open TouchGFX Designer 4.13.0
  2. Choose the Application Template for STM32F769-DISCO
  3. Choose Blank GUI
  4. Add a box as the background and a button on the screen
  5. Click on "Generate Code"
  6. Click on "Run Target" (make sure your board is connected to your laptop)
  7. Can you tell me what error do you encounter (if any) at this stage ?

/Alexandre

Celebriums
Associate II

Dear Alexandre

The error code never changes. I couldn't get through that part.

5. Generate Code

  Generate

    Wrote generated/gui_generated/include/gui_generated/screen1_screen/Screen1ViewBase.hpp

    Wrote generated/gui_generated/src/screen1_screen/Screen1ViewBase.cpp

    Done

  Generate Assets

    make -f simulator/gcc/Makefile assets -j8

    Writing generated/images/src/__designer/Blue_Buttons_Round_Edge_small.cpp

    Writing generated/images/src/__designer/Blue_Buttons_Round_Edge_small_pressed.cpp

    Writing generated/images/src/__designer/Blue_Textures_church.cpp

    Writing generated/images/include/BitmapDatabase.hpp

    Writing generated/images/src/BitmapDatabase.cpp

    "\x8D" to UTF-8 in conversion from Windows-1254 to UTF-8

    an error occurred in converting texts:

     

    "\x8D" to UTF-8 in conversion from Windows-1254 to UTF-8

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

    make[1]: *** [texts] Error 1

    generated/simulator/gcc/Makefile:219: recipe for target 'texts' failed

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

    make: *** [assets] Error 2

    Failed

  Failed

6. Run Target

Run Target

  Generate

    Done

  Generate Assets

    make -f simulator/gcc/Makefile assets -j8

    "\x8D" to UTF-8 in conversion from Windows-1254 to UTF-8

    an error occurred in converting texts:

     

    "\x8D" to UTF-8 in conversion from Windows-1254 to UTF-8

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

    generated/simulator/gcc/Makefile:219: recipe for target 'texts' failed

    make[1]: *** [texts] Error 1

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

    make: *** [assets] Error 2

    Failed

  Failed

/Sadık

Celebriums
Associate II

I found the problem, and I solved it. 

Windows username is Turkish.

The letter "Sad"ı"k" in The Sadık Sume.

Here's the solution.

1- I removed all STM programs from remove my computer.

2- I've added a new user in Windows 10. 

3- I made the username STM32. (English must have characters.)

4- TouchGFX, STM32CubeMX 5.6, ST link programs i installed and successfully run.