ubuntu编译SDL2 ,运行SDL2Test错误 Couldn‘t open audio/video device: No available audio/video device
If you built your own SDL, you probably didn't have development headersfor PulseAudio (or ALSA), so it's trying to use /dev/dsp, which doesn'texist on many modern Linux systems (hence, SDL_Init(SDL_INIT_AUDIO)succeeds, but no devices are found when you
原创
2020-08-19 17:41:40 ·
1344 阅读 ·
0 评论