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

Author Topic: Mac Xcode error: "ld: library not found for -lsfml-system"  (Read 2743 times)

0 Members and 1 Guest are viewing this topic.

Richie2000

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Mac Xcode error: "ld: library not found for -lsfml-system"
« on: January 25, 2013, 11:53:35 pm »
I'm trying to get SFML setup and compile the basic application in Xcode.

Used this page, but still got errors:
http://www.sfml-dev.org/tutorials/2.0/start-osx.php

I've tried to compile both dylib and framework applications and neither work.

For dylibs:
I edited the SFML_LINK_DYLIBS_SUFFIX setting to "".
Made sure that the dylibs files were in /usr/local/lib


For frameworks:
I added /Library/Frameworks to the framework search path.


MacBook Air (Mid 2012, Mac OS X Lion 10.7.5)
SFML: Version 2.0 RC (Installed using the wizard)
Xcode: Version 4.5.2 (4G2008a)

Richie2000

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Re: Mac Xcode error: "ld: library not found for -lsfml-system"
« Reply #1 on: January 26, 2013, 12:08:01 am »
Just got Frameworks to compile using this post:
http://en.sfml-dev.org/forums/index.php?topic=10381.0

Thanks!!

Robmanu-xx

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Mac Xcode error: "ld: library not found for -lsfml-system"
« Reply #2 on: January 27, 2013, 05:32:41 am »
 ;)