SFML XCODE SET UP

  • joshl5859
    Likes 0

    Problem Description

    I watched the sfml set up tutorial on youtube and coppied everything done in the video. 

    when I go to run the program I get the error

    dyld: Library not loaded: @rpath/libsfml-graphics.2.5.dylib

      Referenced from: /Users/*******/Library/Developer/Xcode/DerivedData/SFML_Tutorial-cymosfdiwrmfcmcqaqcgvyznxkuu/Build/Products/Debug/SFML Tutorial

      Reason: image not found

    (lldb)

    I am very interested in many of the xcode courses but am warry of buying them if I am unable to get my code to compile. 

    also the **** in the error are where I took out my full name when copying and pasting. 

  • Sonar Systems admin
    Likes 0

    Which video are you following?


    This reply has been verified.
  • joshl5859
    Likes 0

  • Sonar Systems admin
    Likes 0

    Have you tried the template from the GitHub page?

  • joshl5859
    Likes 0

    Yes and I still recive the same error

  • Sonar Systems admin
    Likes 0

    With the template or the code from the GitHub page?

  • joshl5859
    Likes 0

    With both, and I get the error each time. Can you make an updated video explaing what to do. I have found many people who have run into this same error. 

  • Sonar Systems admin
    Likes 0

    The steps are the same, its usually a small mistake in the setup process. Try installing this https://brew.sh/

    then use this command “

    brew install sfml

  • joshl5859
    Likes 0

    does this go with the xcode program in the header?

  • Sonar Systems admin
    Likes 0

    You run this in the terminal

  • joshl5859
    Likes 0

    The xcode terminal or the mac one?

  • joshl5859
    Likes 0

    I ran in xcode termuinal and I still recieve the same errror. 

  • Sonar Systems admin
    Likes 0

    mac one


    This reply has been verified.
  • joshl5859
    Likes 0

    I still have the error occur

  • Sonar Systems admin
    Likes 0

    Were the command successful?

  • joshl5859
    Likes 0

    no it gave me the error that im asking about...

  • joshl5859
    Likes 0

    I really would like to fix this problem because it has been an ongoing issue. I am very interested in purchasing some of your c++ courses however I am hesistant as a result of my problem and the inability on your end to help me fix it. 

  • Sonar Systems admin
    Likes 0

    Which code are you using?

  • joshl5859
    Likes 0

    c++ in xcode terminal

  • Sonar Systems admin
    Likes 0

    In the xcode terminal? The C++ code should go in your editor, what editor are you using?

  • joshl5859
    Likes 0

    how do i check the editor?

Login to reply