SFML community forums

Help => General => Topic started by: key-raw on April 24, 2013, 12:31:58 am

Title: I am making a game using sfml 2 and Xcode 4.6
Post by: key-raw 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.
Title: Re: I am making a game using sfml 2 and Xcode 4.6
Post by: Hiura 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..
Title: Re: I am making a game using sfml 2 and Xcode 4.6
Post by: key-raw 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.
Title: Re: I am making a game using sfml 2 and Xcode 4.6
Post by: Hiura 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.
Title: Re: I am making a game using sfml 2 and Xcode 4.6
Post by: hatem.badawi 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

Title: Re: I am making a game using sfml 2 and Xcode 4.6
Post by: Hiura 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)
Title: Re: I am making a game using sfml 2 and Xcode 4.6
Post by: Sonkun on May 04, 2013, 01:31:25 am
Has anyone noticed it isn't the right place for these kind of question ?
Title: Re: I am making a game using sfml 2 and Xcode 4.6
Post by: Laurent 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