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

Author Topic: I am making a game using sfml 2 and Xcode 4.6  (Read 2503 times)

0 Members and 1 Guest are viewing this topic.

key-raw

  • Newbie
  • *
  • Posts: 2
    • View Profile
I am making a game using sfml 2 and Xcode 4.6
« on: April 24, 2013, 12:31:58 am »
I receive this error : ld: library not found for -lsfml-system
clang: error: linker command failed with exit code 1 (use -v to see invocation)   

I have viewed countless forum posts about past versions and I was wondering if anyone knew how to guide me in the right direction of getting this to work.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: I am making a game using sfml 2 and Xcode 4.6
« Reply #1 on: April 24, 2013, 03:28:19 pm »
Well, it can be many things.. first, make sure you have compiled & installed the very last version from github. Then, make sure that you configured correctly your project to use dylibs if you installed them instead of frameworks.

or, wait a few more days for the precompiled SFML 2.0 SDK..
SFML / OS X developer

key-raw

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: I am making a game using sfml 2 and Xcode 4.6
« Reply #2 on: April 27, 2013, 09:40:36 pm »
Where would i go for directions on how to compile it. I don't know much outside of using xcode for assignments.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: I am making a game using sfml 2 and Xcode 4.6
« Reply #3 on: April 28, 2013, 10:57:36 am »
You can start with the official tutorials on this exact websites. Read completely both Cmake and Xcode before doing anything – lot of people fail to do that and do things wrong later on. If you have any specific question don't esitate to ask, of course.
SFML / OS X developer

hatem.badawi

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • evision - Website Design & Hosting Services
    • Email
Re: I am making a game using sfml 2 and Xcode 4.6
« Reply #4 on: May 03, 2013, 05:16:53 am »
i think you can get the last bulid for xcode compiler (which i dont know)
http://en.sfml-dev.org/forums/index.php?topic=9513.0

Hatem Badawi
EVISION EGYPT Technical Support Operator
http://www.evisionegypt.com/
Telephone: +2(0111) 6032064
Private Email: hatem.badawi@gmail.com

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: I am making a game using sfml 2 and Xcode 4.6
« Reply #5 on: May 03, 2013, 01:05:46 pm »
or download the official release from the download page..
(I never tested those unofficial build so I've no idea if they work correctly or not and for which compiler / std lib)
SFML / OS X developer

Sonkun

  • Full Member
  • ***
  • Posts: 241
    • View Profile
Re: I am making a game using sfml 2 and Xcode 4.6
« Reply #6 on: May 04, 2013, 01:31:25 am »
Has anyone noticed it isn't the right place for these kind of question ?
Interested in using SFML with Python ? Try out its Python binding!

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: I am making a game using sfml 2 and Xcode 4.6
« Reply #7 on: May 04, 2013, 08:03:06 am »
Quote
Has anyone noticed it isn't the right place for these kind of question ?
Obviously, no ;D
Laurent Gomila - SFML developer

 

anything