libogc icon indicating copy to clipboard operation
libogc copied to clipboard

Ubuntu 21.04 Error: unknown type name 'BOOL' 13 | BOOL MP3Player_IsPlaying(void);

Open Special-Niewbie opened this issue 4 years ago • 1 comments

Hello everyone,

i have set a new machine with Ubuntu 21.04, when I try to build my project I have got this Error:

/opt/devkitpro/libogc/include/mp3player.h:13:1: error: unknown type name 'BOOL'
   13 | BOOL MP3Player_IsPlaying(void);

Have you any idea why it happens this. Months ago, with Linux, I don't remember that i ever face this type of error

Special-Niewbie avatar Jun 30 '21 05:06 Special-Niewbie

Update:

I modified the header, and it seems that the capitol letter it gives the problem with BOOL function.

I will keep you posted on that if everything will works....

Special-Niewbie avatar Jun 30 '21 05:06 Special-Niewbie

OP never replied, and the BOOLin that header has been replaced with the standard C bool

DacoTaco avatar Feb 04 '23 21:02 DacoTaco