When opening the graph widget get "Error during code generation"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-24 9:03 AM
I downloaded the graph widget from https://github.com/touchgfx/touchgfx-open-repository/tree/master/widgets/Graph. When I open this project in TouchGFX I get
make[1]: *** No rule to make target 'generated/images/include/BitmapDatabase.hpp', needed by '_assets_'. Stop.
simulator/gcc/Makefile:68: recipe for target 'assets' failed
make: *** [assets] Error 2
I have a STM32F769I-Disco board.
- Labels:
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-04 2:17 AM
Hi,
This project isn't maintained across new releases. ("This widget was created and tested using TouchGFX version 4.3.0").
But, you should be able to import the code into your own project just fine.
There is a 4.10.0 graph example on this community somewhere you can check out - Try searching and let me know.
/Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-04 5:44 AM
I was able to get this working. The reason for that particular error was that I was missing an include in the simulator main file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-04 5:52 AM
Awesome!
/Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-05 1:09 AM
Just to give others a chance - While a Graph is available from github, you can find a sample application based on 4.10.0 in this post:
https://community.st.com/s/question/0D50X0000AqBPt3SQG/touchgfx-graph-widget-inside-custom-container
/Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-05 7:45 AM
Thats very helpful. Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-05 1:08 PM
You're welcome! :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-10 7:16 AM
I'm stuck exactly here too..what include did you add to make it work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-10 7:19 AM
Did you check the example i posted further down?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-10 8:32 AM
Yes, that's the example I'm using. I'm using the latest 4.13 version. I get exactly the error as above.
