10 years, 7 months ago.

VS1053 - LPC11U24

I am trying to interface the VS1053 Codec with the LPC11U24 Board. In the Application, there is following line used for streaming from a File on SD:

while(!feof(SongFile)) { .... }

Compilation runs through well, however, after linking the Project, I get following Error Message: Error: Undefined symbol feof (referred from main.cpp.LPC11U24.o).

You may need to use stdio.h Dave.

posted by David Fletcher 04 Apr 2014

Thanks Dave. But stdio.h was included. Still get the error.

posted by Martin Heine 07 Apr 2014

I have the same issue, but with a Nucleo L152. I am trying to port the SimpleWavePlayer project to the L152 and keep stuck with this feof() error. Did you both solve the issue?

posted by Thomas Troch 24 Apr 2014

1 Answer

8 years, 2 months ago.

You must use getc instead of feof, like so