Skip to content
This repository has been archived by the owner on Jun 30, 2024. It is now read-only.

Known Issue for building with SMFL 2.5.1 #3

Open
charmhe opened this issue Mar 17, 2023 · 3 comments
Open

Known Issue for building with SMFL 2.5.1 #3

charmhe opened this issue Mar 17, 2023 · 3 comments
Assignees

Comments

@charmhe
Copy link

charmhe commented Mar 17, 2023

Platform: Mac Intel x86
SFML ver: 2.5.1. Obtained from brew install SFML as of 3/16/2023
Issue:

Two building issues with SFML 2.5.1:

  1. will report errors for this map initialization. Actually, it is unnecessary.
PerfLogger::PerfLogger() { 
    start_times = {};
    durations = {};
}
  1. After linking it will report:
Linking... Done
Failed to open sound file "res/audio/background_music.wav" (format not supported)
ERROR: Failed to load res/audio/background_music.wav
make: *** [execute-debug] Abort trap: 6
@mircea-pavel-anton
Copy link
Owner

Hello, @charminh

Thanks for reporting this issue! I will take a look on it as soon as I have the chance. It's been a while since I worked on/updated this project.

@53ndC0r30n1y
Copy link

Platform: Mac Intel x86 SFML ver: 2.5.1. Obtained from brew install SFML as of 3/16/2023 Issue:

Two building issues with SFML 2.5.1:

  1. will report errors for this map initialization. Actually, it is unnecessary.
PerfLogger::PerfLogger() { 
    start_times = {};
    durations = {};
}
  1. After linking it will report:
Linking... Done
Failed to open sound file "res/audio/background_music.wav" (format not supported)
ERROR: Failed to load res/audio/background_music.wav
make: *** [execute-debug] Abort trap: 6

I have replaced all the audio files with the same audio file that can be played. The game is running normally.

@mircea-pavel-anton mircea-pavel-anton self-assigned this Nov 13, 2023
@mircea-pavel-anton
Copy link
Owner

Maybe it is an issue with the files being too large? I'll look into it as soon as i can, hopefully this week

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

No branches or pull requests

3 participants