cancel
Showing results for 
Search instead for 
Did you mean: 

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

WLewe
Associate III

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.

9 REPLIES 9
Martin KJELDSEN
Chief III

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

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.

Awesome!

/Martin

Martin KJELDSEN
Chief III

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

Thats very helpful. Thank you!

You're welcome! :)

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

Did you check the example i posted further down?

Yes, that's the example I'm using. I'm using the latest 4.13 version. I get exactly the error as above.