I am using a STM32F429I Discovery card with a HCSR-04 ultrasonic ranging sensor. I am trying to use the user interface library of Segger (emWin - GUI.lib) in STM32CubeIDE. I want to utilize the GUI.lib
file that I have installed from Segger's website in the emWin package. What I am trying to do is to put a needle pointer on the LCD screen of the card for my ranging sensor. I have adjusted the library path and all kinds of necessary stuff, but when I build the program, I get the error (part of it):
error: stray '\225' in program
error: null character(s) ignored
error: stray '\22' in program
And these errors continuously show up. My understanding is that there is a problem with the encoding of the library, so that there are so many null characters being ignored during the build the process. I have tried to use GCC to statically link the library using Windows PowerShell, however, I have failed. What should I do to be able to use the library GUI.lib
? I need this library because all of the definitions of the functions declared in the headers reside in it.
Note: I am using Windows 10.