Example codes give error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-06 11:03 PM
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?
- Labels:
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-06 11:46 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-07 12:16 AM
Folder is exist but there is no "typed_text_database_hpp" in the folder like the said error. I add a screenshot of folder.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-07 12:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-07 12:32 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-07 12:42 AM
Okay, that's really interesting. Which exact demo are we talking about ? I'll try it here.
/Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-07 12:45 AM
TouchGFX version 4.12.3. "TouchGFX Demo 1" and "ProgressIndicator Example" give this error. I didn't try other examples.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-07 1:39 AM
Thanks, i'll try them out here.
/Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-07 1:42 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-07 2:49 AM
I checked app.mk file. It's look right.
I create and run project within the designer. I'm not using another ide.
