Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Example tennis on Mac 10.13.6 fails at startup  (Read 2155 times)

0 Members and 1 Guest are viewing this topic.

Michael B

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Example tennis on Mac 10.13.6 fails at startup
« 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?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10879
    • View Profile
    • development blog
    • Email
Re: Example tennis on Mac 10.13.6 fails at startup
« Reply #1 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
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/