SFML community forums

Help => General => Topic started by: N3xus132 on May 06, 2016, 10:29:29 am

Title: [OSX] Linker Error after installing SFML
Post by: N3xus132 on May 06, 2016, 10:29:29 am
Dear all,

I decided to learn SFML and wanted to install it on my mac.

I am running OS X El Capitan with Xcode 7.3 and installed SFML step by step following the tutorial.
When I now try to build the template in Xcode I am getting a linker error:
ld: framework not found sfml-system
clang: error: linker command failed with exit code 1 (use -v to see invocation)

The Framework was copied to /Library/Framworks

May someone help me?

Best Regards Armin
Title: Re: [OSX] Linker Error after installing SFML
Post by: Hiura on May 06, 2016, 03:36:34 pm
Quote
The Framework was copied to /Library/Framworks
Why singular? There are five (+one for headers) of them + the dependencies.
Title: Re: [OSX] Linker Error after installing SFML
Post by: N3xus132 on May 06, 2016, 09:15:51 pm
Maybe my writing was a little bit confusing.

I copied all contents of the frameworks and the extlibs folders into /Library/Frameworks.
Sorry for the confusion.
Title: Re: [OSX] Linker Error after installing SFML
Post by: Hiura on May 07, 2016, 12:17:22 am
Did you install all the system requirements, including the CLT?
Title: Re: [OSX] Linker Error after installing SFML
Post by: N3xus132 on May 12, 2016, 09:59:52 pm
Sorry for my late reply.
I checked if the CLT's are installed yet and yes they are.
Title: Re: [OSX] Linker Error after installing SFML
Post by: Hiura on May 13, 2016, 05:28:57 pm
I once more tested it on fresh OS X 10.11, latest version of the system, Xcode and CLT and it works fine. I can't say what you did wrong though... A few other people had issues with it -- maybe you'll find relevant hints by reading those discussions.