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

Author Topic: library not found for -lsfml-system-d (Application Template) Xcode4.5, SFML2.0  (Read 1510 times)

0 Members and 1 Guest are viewing this topic.

emge

  • Newbie
  • *
  • Posts: 1
    • View Profile
Im on a MBP with ML 10.8.2 using Xcode 4.5.2.

I followed this tutorial of SFML 2.0 Installation:
http://www.sfml-dev.org/tutorials/2.0/start-osx.php

I have installed the latest version of XQuartz:
http://xquartz.macosforge.org/trac/wiki/X112.7.4

I installed SFML 2.0 Mac OS X 32+64 bits - installer (5.1 MB):
 http://www.sfml-dev.org/download/2.0-rc/SFML-2.0-rc-osx.pkg

And then i create my new SFML Application with the Template:
http://www.sfml-dev.org/tutorials/2.0/images/xcode_new_project.png

Now i have my project and i press "Run" and the build fails with 1 issue:
ld: library not found for -lsfml-system-d
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Errormessage:
http://i.imgur.com/lIT9Z.png


I have googled this and all i could find that was near my problem was this:
http://en.sfml-dev.org/forums/index.php?topic=8937.0

I followed the link:
https://github.com/SFML/SFML/issues/233

and I changed so my template had a default framework path setting.  However this didnt solve my issue.
As my problem is with the Library. I noticed they talked about it later in the comments but without solution.

I have tried for myself going into the Build Settings and then adding the row "uss/local/lib/" to the Library Search Path:
http://i.imgur.com/0ELtN.jpg

I assumed this is what has to be done. But its just a guess. However, this change did not have any effect :-\
Any suggestions?

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Debug binaries are not shipped with the RC; try the release ones.
SFML / OS X developer