Skip to main content
WLewe
Associate III
October 24, 2019
Question

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

  • October 24, 2019
  • 9 replies
  • 1323 views

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
November 4, 2019

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
November 4, 2019

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
March 10, 2020

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

Martin KJELDSEN
Principal III
November 5, 2019

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
November 5, 2019

Thats very helpful. Thank you!