Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
Examples not working on Mac OS
Print
Pages: [
1
]
Author
Topic: Examples not working on Mac OS (Read 1041 times)
0 Members and 1 Guest are viewing this topic.
ma
Newbie
Posts: 1
Examples not working on Mac OS
«
on:
February 22, 2021, 03:20:14 am »
I downloaded the SFML file for Mac OS from here:
https://www.sfml-dev.org/files/SFML-2.5.1-macOS-clang.tar.gz
. The examples in the example folder do not work due to missing library files.
For example the cocoa example has this missing file: @rpath/sfml-graphics.framework/Versions/2.5.1/sfml-graphics.
For the shader example it is missing this file: @rpath/sfml-graphics.framework/Versions/2.5.1/sfml-graphics.
For the Sound-capture example it is missing this file: @rpath/sfml-audio.framework/Versions/2.5.1/sfml-audio.
The install_name_tool command can be used to specify where to find these library files.
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11032
Re: Examples not working on Mac OS
«
Reply #1 on:
March 03, 2021, 10:33:28 am »
Like with any shared library/framework-like setup, you need to provide the frameworks at the right place, so the example can load the SFML code.
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
Examples not working on Mac OS