コンパイルしようとすると26個のエラーが発生しますが、すべてが適切な場所にありますが、ほとんど一定のエラーが長すぎることを理解できません。Plzは、Cプログラミングでmp3ファイルを再生したいのです。
*エラーはjpg画像に表示されます
#include "inc/fmod.h"
FMUSIC_MODULE* handle;
int main ()
{
// init FMOD sound system
FSOUND_Init (44100, 32, 0);
// load song
handle=FMUSIC_LoadSong ("don.mp3");
// play song only once
// when you want to play a midi file you have to disable looping
// BEFORE playing the song else this command has no effect!
FMUSIC_SetLooping (handle, false);
// play song
FMUSIC_PlaySong (handle);
// wait until the users hits a key to end the app
while (!_kbhit())
{
}
//clean up
FMUSIC_FreeSong (handle);
FSOUND_Close();
}