Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing <stdio.h> building agains SDL2-compat (linux) #584

Open
lodriguez opened this issue Jan 31, 2025 · 1 comment
Open

missing <stdio.h> building agains SDL2-compat (linux) #584

lodriguez opened this issue Jan 31, 2025 · 1 comment

Comments

@lodriguez
Copy link

Describe the bug
When trying to build with SDL2-compat it complains about missing <stdio.h> in sm64ex/src/pc/audio/audio_sdl2.c sm64ex/src/pc/gfx/gfx_opengl.c after adding #include stdio.h in these files it builds, but the game has crackling sound.

To Reproduce
Steps to reproduce the behavior:
build on linux with sdl3 and sdl2-compat

Expected behavior
building without error and nice distortion free sound

Desktop (please complete the following information):

  • OS: archlinux
  • SDL3 and SDL2-compat

Additional context
Probably not relevant, but in other forks, some sound effects are missing and the game sometimes crashes if you try 60fps (if build against SDL2-compat)

@coreybruce
Copy link

Having a similar issue with audio on the Raspberry pi 5 ever since SDL3 got released and SDL2 got renamed to SDL2-compat, it builds but the audio is all distorted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants