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

Author Topic: [OSX] Linker Error after installing SFML  (Read 2317 times)

0 Members and 1 Guest are viewing this topic.

N3xus132

  • Newbie
  • *
  • Posts: 3
    • View Profile
[OSX] Linker Error after installing SFML
« 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

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: [OSX] Linker Error after installing SFML
« Reply #1 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.
SFML / OS X developer

N3xus132

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: [OSX] Linker Error after installing SFML
« Reply #2 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.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: [OSX] Linker Error after installing SFML
« Reply #3 on: May 07, 2016, 12:17:22 am »
Did you install all the system requirements, including the CLT?
SFML / OS X developer

N3xus132

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: [OSX] Linker Error after installing SFML
« Reply #4 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.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: [OSX] Linker Error after installing SFML
« Reply #5 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.
SFML / OS X developer