Skip to main content
WLewe
Associate III
Oct 24, 2019 4:03 PM UTC
Question

When opening the graph widget get "Error during code generation"

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.

This topic has been closed for replies.

9 replies

Martin KJELDSEN
Principal III
Nov 4, 2019 10:17 AM UTC

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

WLewe
WLeweAuthor
Associate III
Nov 4, 2019 1:44 PM UTC

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.

JScot.2
Associate II
Mar 10, 2020 2:16 PM UTC

I'm stuck exactly here too..what include did you add to make it work?

Martin KJELDSEN
Principal III
Nov 5, 2019 9:09 AM UTC

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

WLewe
WLeweAuthor
Associate III
Nov 5, 2019 3:45 PM UTC

Thats very helpful. Thank you!