2019-10-24 09: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.
2019-11-04 02: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
2019-11-04 05: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.
2019-11-04 05:52 AM
Awesome!
/Martin
2019-11-05 01: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
2019-11-05 07:45 AM
Thats very helpful. Thank you!
2019-11-05 01:08 PM
You're welcome! :)
2020-03-10 07:16 AM
I'm stuck exactly here too..what include did you add to make it work?
2020-03-10 07:19 AM
Did you check the example i posted further down?
2020-03-10 08: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.