cancel
Showing results for 
Search instead for 
Did you mean: 

Example codes give error.

Yunus ARI
Senior

Hi,

When I want to run a touchgfx example (of demo) in designer, compiler give me error like follows.

Run Simulator
    Generate
        Done
    Generate Assets
        make -f simulator/gcc/Makefile assets -j8
        cannot load such file -- lib/emitters/typed_text_database_hpp
        an error occurred in converting texts:
        
        cannot load such file -- lib/emitters/typed_text_database_hpp
        Cleaning generated files from generated/texts and generated/fonts.
        make[1]: *** [texts] Error 1
        generated/simulator/gcc/Makefile:229: recipe for target 'texts' failed
        simulator/gcc/Makefile:32: recipe for target 'assets' failed
        make: *** [assets] Error 2
        Failed
    Failed

What can I do about that?

17 REPLIES 17
Martin KJELDSEN
Chief III

It looks like your installation is borked - "make assets" will generate a lot of files, text related ones included, which is what you're seeing here.

So you're pressing "Run simulator" from the designer?

Could you check if the following folder exists? Sounds like it doesn't.

\touchgfx\framework\tools\textconvert\lib\emitters

/Martin

Folder is exist but there is no "typed_text_database_hpp" in the folder like the said error. I add a screenshot of folder.

0690X00000ArmKUQAZ.jpg

Could you have deleted them by accident?

I'll upload them here straight from my 4.12.3 installation folder.

/Martin

I don't think so. I can compailer my other projects. Just new demos give this error.

I copied files of you send. But gives the same error.

Okay, that's really interesting. Which exact demo are we talking about ? I'll try it here.

/Martin

Yunus ARI
Senior

TouchGFX version 4.12.3. "TouchGFX Demo 1" and "ProgressIndicator Example" give this error. I didn't try other examples.

Thanks, i'll try them out here.

/Martin

Okay, i've just trie dProgress Indicator Example - No issue here! How are you running the examples? From within the designer?

If designer, can you check your config/gcc/app.mk file and make sure that the touchgfx_path isn't something strange? This is how the designer knows where the tools are located.

# Relative location of the TouchGFX framework from root of application
touchgfx_path := touchgfx

/Martin

Yunus ARI
Senior

I checked app.mk file. It's look right.

I create and run project within the designer. I'm not using another ide.