cancel
Showing results for 
Search instead for 
Did you mean: 

How to use SVG in touchGFX

Junde
Senior II

Hi there,

In my touchGFX project, I import an SVG file.

I can compile and simulate the UI page using TouchGFX Designer, which works as expected.

However, after I finished the design in TouchGFX Designer and tried to compiler the project by MDK-ARM, the following error was present:

Junde_0-1734415027630.png

(When I delete the SVG object in TouchGFX Designer, everything works well again.)

I don't know what this means, how do I resolve it?

Thanks for your help!

 

 

1 ACCEPTED SOLUTION
4 REPLIES 4
GaetanGodart
ST Employee

Hello @Junde ,

 

Could you check if it works when compiling and flashing from TouchGFX Designer?

Maybe there is a missing include file or library path in your IAR project?

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)

@ferro  Thank you

this resolved my error!

@GaetanGodart thanks for your reply

It can work well with the touchGFX Designer in simulation mode.

My question can be resolved by enabling "Vector Rendering" in cubeMx.