1. Awaken what lies in the heart of your swarm. The 17th Techtree Contest has arrived!
    Dismiss Notice
  2. The Hive Workshop is launching its first HD modelling contest. How HD should it be?
    Dismiss Notice
  3. Check out the Staff Job Openings thread.
    Dismiss Notice
Dismiss Notice
Hive 3 Remoosed BETA - NOW LIVE. Go check it out at BETA Hive Workshop! Post your feedback in this new forum BETA Feedback.
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Pretty much stuck (Xcode)

Discussion in 'Programming' started by Screamernail, Dec 8, 2017.

  1. It where at one point where I quitted C++ programming because I had no clue about what any of the on-screen code where. After I've looked up some Swift tutorials, I got to know how it work now. Maybe not all of it but I got to know about how some of it work. (And don't post a script here and ask me how it works, I still need to learn some things) Now I'm trying to make a raycaster engine with SFML using Xcode. But as the title said. Im pretty much stuck.

    [​IMG]
    If this doesn't explain what is wrong then I don't know what else to do. This comes up when I build and run the testing code, it say's that it was successful but this where coming up anyway. Anyone with a Mac and can use Xcode can possibly tell what is wrong. Can help?
     
  2. GhostWolf

    GhostWolf

    Joined:
    Jul 29, 2007
    Messages:
    4,923
    Resources:
    2
    Tools:
    1
    Tutorials:
    1
    Resources:
    2
    The error clearly tells you it cannot find the sfml-graphics library.
    If you are not building with SFML statically, you need also the dynamic library.
     
  3. Really? I followed this tutorial and I thought it would work.
     
  4. GhostWolf

    GhostWolf

    Joined:
    Jul 29, 2007
    Messages:
    4,923
    Resources:
    2
    Tools:
    1
    Tutorials:
    1
    Resources:
    2
    Link the sfml-graphics library...
     
  5. I don't understand.


    EDIT: I'll send a picture of the search paths. How should it be?
     

    Attached Files:

    Last edited by a moderator: Dec 10, 2017
  6. So I'm not gonna do coding? I have to tell you that I'm not that knowing because I never get help.
     
  7. GhostWolf

    GhostWolf

    Joined:
    Jul 29, 2007
    Messages:
    4,923
    Resources:
    2
    Tools:
    1
    Tutorials:
    1
    Resources:
    2
    It depends on yourself. It's not like I or anyone else is going to hold your hand every step of the way.

    A library wasn't loaded since it isn't found. Look where that library is and add its folder to the library search paths...
     
  8. Isn't the lib file the library? How is it supposed to look like?
     
  9. HappyTauren

    HappyTauren

    Joined:
    Nov 3, 2006
    Messages:
    7,669
    Resources:
    87
    Models:
    61
    Icons:
    23
    Packs:
    1
    Tutorials:
    2
    Resources:
    87
    1) Learn English
    2) Learn how to google
    3) Learn how computers work
    4) Learn programming
    5) Learn to respect other people's time
    6) Learn that you aren't supposed to get help (for free), you're supposed to FIND help
     
  10. ...

    You know, I'll stick to Swift programing. Something that is built in Xcode and might work better.
     
  11. I will try again. Because I haven't gotten that many options.


    If no one here can help me then I'll search for a Xcode forum.
     
  12. Daffa

    Daffa

    Joined:
    Jan 30, 2013
    Messages:
    7,993
    Resources:
    31
    Packs:
    1
    Maps:
    9
    Spells:
    18
    Tutorials:
    3
    Resources:
    31
    I also tried using a window specific library in C terminal before. As expected, it doesn't work.

    For libraries not available, you need to see if it's compatible to Mac OS (some are not) first and if it does, install the said library.
     
  13. I'm actually doing SceneKit instead. Some sort of warmup.
     
  14. Daffa

    Daffa

    Joined:
    Jan 30, 2013
    Messages:
    7,993
    Resources:
    31
    Packs:
    1
    Maps:
    9
    Spells:
    18
    Tutorials:
    3
    Resources:
    31
    I see.
     
  15. chobibo

    chobibo

    Joined:
    Sep 24, 2005
    Messages:
    2,672
    Resources:
    0
    Resources:
    0
    Do you already have the sfml library? I think you should download the sfml library. I'm just guessing though, hope it helps.