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

Highly strange. Can you try creating a new application using the UI templates that are failing for you? Just to be sure it's not something with the application itself - Designer bootstraps the application with libraries, headerfiles, etc when generating code so that each application is self contained.

/Martin

I am tried now create new several demo and blank ui. All give error like this; (I copied this one from blank UI's detailed log)

Run Simulator
    Copy Framework
        Copying TouchGFX framework version 4.12.3 to C:\TouchGFXProjects\MyApplication_1\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/screen1_screen/Screen1ViewBase.hpp
        Wrote generated/gui_generated/src/common/FrontendApplicationBase.cpp
        Wrote generated/gui_generated/src/screen1_screen/Screen1ViewBase.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 gui/include/gui/common/FrontendApplication.hpp
        Wrote gui/include/gui/common/FrontendHeap.hpp
        Wrote gui/include/gui/model/Model.hpp
        Wrote gui/include/gui/model/ModelListener.hpp
        Wrote gui/include/gui/screen1_screen/Screen1Presenter.hpp
        Wrote gui/include/gui/screen1_screen/Screen1View.hpp
        Wrote gui/src/common/FrontendApplication.cpp
        Wrote gui/src/model/Model.cpp
        Wrote gui/src/screen1_screen/Screen1Presenter.cpp
        Wrote gui/src/screen1_screen/Screen1View.cpp
        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/include/BitmapDatabase.hpp
        Writing generated/images/src/BitmapDatabase.cpp
        No such file or directory - touchgfx/framework/tools/textconvert/Templates/TypedTextDatabase.hpp.temp
        an error occurred in converting texts:
        
        No such file or directory - touchgfx/framework/tools/textconvert/Templates/TypedTextDatabase.hpp.temp
        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
        make[1]: *** [texts] Error 1
        generated/simulator/gcc/Makefile:229: recipe for target 'texts' failed
        make: *** [assets] Error 2
        simulator/gcc/Makefile:32: recipe for target 'assets' failed
        Failed
    Failed

But this a different error now, right? Can you try sending me the project?

/Martin

yes,I noticed now this is a different error. maybe when I copied "typed_text_database hpp" file then error changed like this. I attached the empty UI project which give error.

@Martin KJELDSEN​ Let me say this, I can generate code my another project with my computer. I get error when create new project with designer only.

Another thing, I was the one who got the error we talked about it before in this topic. Same computer, same program, different errors :beaming_face_with_smiling_eyes:

And last thing,  I use computer in Turkish, I am saying for you say some thing about that before.

Okay, it seems there may be more issues related to Turkish than i first thought!

/Martin

When is this language problem solved?  This problems really slow down our work.

MAyaz.1
Associate II

move your project file to orijinal workspace folder