the code is SDL_Init(SDL_INIT_AUDIO); Sound_Init(); int buff = 4096; Sound_Sample *sample; sample = Sound_NewSampleFromFile("shine.ogg", 0, buff); text->AppendText(wxString(SDL_GetError())+"\n"); I've got all libs up-to-date