C++ SFML [ dyld: Library not loaded... ]

  • Sikapaper
    Likes 0

    Problem Description

    我不知道為什麼Library無法載入

    I don’t know why Library not loaded.

  • Sonar Systems admin
    Likes 0

    What version are you using?

  • Sikapaper
    Likes 0

    Thank you, i have solved the problem using home-brew SFML installation.

  • Sonar Systems admin
    Likes 0

    Good to hear you solved the problem.

  • H́OÍ¡T͝EL
    Likes 0

    f you've downloaded SFML2.5.0 like i did, you might not have the .dylib files in your lib folder. run> brew install sfml < into the terminal

     

    then if you use the finder- go to folder feature and copy and paste> /usr/local/sfml/cellar/sfml/2.4.2/include <into the path that appears it will take you to a folder that contains the .dylib files you see in the video

    drag and drop all the ones he had (making sure it's the 2.4.2 versions (even though they might have an arrow on them)) in the link binary libraries as sonar systems did

     

    thanks to Owen Morgan from stackoverflow


  • Sonar Systems admin
    Likes 1

    Thank you for sharing this

Login to reply