SFML community forums

Help => General => Topic started by: Michael B on June 05, 2021, 11:36:15 am

Title: Example tennis on Mac 10.13.6 fails at startup
Post by: Michael B on June 05, 2021, 11:36:15 am
I'm evaluating SFML for a game project.  I tried to get the examples working on a Mac 10.13.6 High Sierra.

The example tennis failed at startup with the following message:

Quote
dyld: lazy symbol binding failed: Symbol not found: _aligned_alloc
  Referenced from: /Users/michael/svn/SFML/extlibs/libs-osx/Frameworks/../Frameworks/openal.framework/Versions/A/openal (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _aligned_alloc
  Referenced from: /Users/michael/svn/SFML/extlibs/libs-osx/Frameworks/../Frameworks/openal.framework/Versions/A/openal (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

Abort trap: 6

The problem is with the openal library which is seemingly too new for my OS (Note 'which was built from Mac OS X 10.15' in the message).  I did build the binary from the GitHub repo, master branch using the CMake configuration including the examples.  Unfortunately I could not find an older version of the openal library in the internet.

Is there anything I could do to solve this?
Title: Re: Example tennis on Mac 10.13.6 fails at startup
Post by: eXpl0it3r on June 07, 2021, 04:53:04 pm
You could get the old versions of the dependencies from the git repo, before I updated them to support ARM64.

https://github.com/SFML/SFML/tree/788ac2ecf58d66f3498a5c4c4d1c1610f118e80f/extlibs/libs-osx/Frameworks