Skip to content

Unable to run on macOS #39

Description

@svanimpe

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions