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

Unable to run on macOS #39

Open
svanimpe opened this issue Oct 2, 2022 · 0 comments
Open

Unable to run on macOS #39

svanimpe opened this issue Oct 2, 2022 · 0 comments

Comments

@svanimpe
Copy link

svanimpe commented Oct 2, 2022

Hi,

I just tried to run this project on macOS but got the following errors:

libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Failed to load res/audio/bg1.ogg: SDL_mixer Error: stb_vorbis_open_rwops: VORBIS_invalid_first_page
Failed to load res/audio/bg3.ogg: SDL_mixer Error: stb_vorbis_open_rwops: VORBIS_invalid_first_page
Failed to load audio!
Failed to load media!

My setup is as follows:

SDL2 2.24
SDL2_mixer 2.6.2
SDL2_image 2.6.2 (with libvorbis 1.3.7)
SDL2_ttf 2.20.1
SDL2_net 2.2.0
all installed using Homebrew on macOS 12.6

I ran the executable from the build/bin directory and checked that the resource files are present.

Update: On Linux, it works fine.

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

1 participant