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

Author Topic: I can't instal SFML 2.1 to my Mac please help  (Read 1891 times)

0 Members and 1 Guest are viewing this topic.

Ali Ayasrah

  • Newbie
  • *
  • Posts: 5
    • View Profile
I can't instal SFML 2.1 to my Mac please help
« on: July 14, 2014, 04:50:16 pm »
Hello
i can't install SFML to my Mac (OS X ver: 10.8.5) with (Xcode 5.1.1)

i don't know why, maybe the path of files, it's deferent on my mac, there is no local file inside usr . 
http://www.mediafire.com/view/p5s6fj072pvnd1n/Screen+Shot+2014-07-14+at+5.32.54+PM.png

http://www.mediafire.com/view/s0qb2fdqlpl8062/Screen_Shot_2014-07-14_at_5.34.58_PM.png

so i tried added every file to its file and this doesn't work.
 and i created local file inside usr file and also this doesn't work
http://www.mediafire.com/view/hdmdjihv2xe4l7k/Screen+Shot+2014-07-14+at+5.32.32+PM.png

 after that when i open Xcode no SFML...
http://www.mediafire.com/view/zsztv5pkqro5z8e/Screen_Shot_2014-07-14_at_5.35.18_PM.png

thank you   
« Last Edit: July 14, 2014, 04:53:00 pm by Ali Ayasrah »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10920
    • View Profile
    • development blog
    • Email
Re: I can't instal SFML 2.1 to my Mac please help
« Reply #1 on: July 14, 2014, 05:10:43 pm »
Please provide more information.

What exactly have you been trying to do?
What were you expectations when doing so? What happened instead?
What exactly is problem now? Missing files?

Did you follow the official tutorial step by step?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Ali Ayasrah

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: I can't instal SFML 2.1 to my Mac please help
« Reply #2 on: July 14, 2014, 05:25:37 pm »
ok


Quote
dylib
Copy the content of lib to /usr/local/lib and copy the content of include to /usr/local/include.

first i searched about /usr/ i found it hidden, and there is no /local/ file inside it
see this pic:
http://www.mediafire.com/view/1td0016tkbjwqih/Screen_Shot_2014-07-14_at_6.17.35_PM.png

so i Copied  the content of lib to /usr/lib and  content of include to /usr/include

Quote
frameworks
Copy the content of Frameworks to /Library/Frameworks.
i did that

Quote
SFML needs only two external libraries on Mac OS X. Copy sndfile.framework and freetype.framework from extlibs to /Library/Frameworks.
i did that

after that there is no SFML inside Xcode
http://www.mediafire.com/view/myfiles/#zsztv5pkqro5z8e


so i tried by terminal i got this message :
http://www.mediafire.com/view/myfiles/#s0qb2fdqlpl8062


Ali Ayasrah

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: I can't instal SFML 2.1 to my Mac please help
« Reply #3 on: July 14, 2014, 06:20:24 pm »
i solved it  ;D
thank you

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: I can't instal SFML 2.1 to my Mac please help
« Reply #4 on: July 14, 2014, 06:28:30 pm »
Please say how you solved it. Other people may have the same problem and find this thread.
Laurent Gomila - SFML developer

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: I can't instal SFML 2.1 to my Mac please help
« Reply #5 on: July 14, 2014, 07:31:29 pm »
You don't need to install the dylibs AND the frameworks.... One type of binary is enough.

Everything is explained in the tutorial, please read it carefully.
SFML / OS X developer

Ali Ayasrah

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: I can't instal SFML 2.1 to my Mac please help
« Reply #6 on: July 14, 2014, 07:43:55 pm »
that's happened with me, because there is no /local file inside /usr
and also there is no /xcode inside /Library/Developer
and install.sh's code can't create new folder inside /usr  and /Library/Developer.

so we should do that manually:
1- show hidden files
2- go to /usr, then create new folder with name "local"
3- go to /Library/Developer, then create new folder with name "xcode"     
4- launch terminal
5- drag and drop "install.sh" to terminal, hit enter ...