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

Author Topic: Can't get SFML to install properly  (Read 7413 times)

0 Members and 1 Guest are viewing this topic.

SFMLNEWB

  • Newbie
  • *
  • Posts: 2
    • View Profile
Can't get SFML to install properly
« on: October 23, 2018, 10:27:24 pm »
I followed the instructions here https://www.sfml-dev.org/tutorials/2.3/start-osx.php#installing-sfml for framework installation and when I try to build it fails.

I'm using xcode version 10 and the latest stable version of SFML.  The error output is the following:

ditto: can't get real path for source '/Users/SFML/Desktop/packaging/tmp/install/Library/Frameworks/sfml-system.framework'
couldn't copy /Users/SFML/Desktop/packaging/tmp/install/Library/Frameworks/sfml-system.framework to /Users/etk/Library/Developer/Xcode/DerivedData/ProjectGame-bcmdnghmhakkdudovokikhrhgkqs/Build/Products/Debug/ProjectGame.app/Contents/Frameworks//sfml-system.framework
Command PhaseScriptExecution failed with a nonzero exit code

What am I missing here?  I'm new to macs.

SFMLNEWB

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Can't get SFML to install properly
« Reply #1 on: November 02, 2018, 12:13:34 am »
Nothing huh?  Oh well  :(

BrianD

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Can't get SFML to install properly
« Reply #2 on: November 03, 2018, 10:22:03 am »

https://imgur.com/LGZjxN7
I totally don't know why it is and what it effects, but it's working when build on my Xcode 10.1.
« Last Edit: November 03, 2018, 10:31:51 am by BrianD »

kotrunga

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Can't get SFML to install properly
« Reply #3 on: November 08, 2018, 06:27:51 pm »
BrianD- thanks for the screenshot, I was having the same problem. Checking that worked.

I wonder what it is?

BrianD

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Can't get SFML to install properly
« Reply #4 on: November 11, 2018, 05:54:20 pm »
Me too.  ;D

Hua

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Re: Can't get SFML to install properly
« Reply #5 on: November 16, 2018, 05:00:39 am »
I looked all over for the past 2 days.  Finally found this post.  Fixed it!
Thank you!

AlpacaRider

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Can't get SFML to install properly
« Reply #6 on: December 05, 2018, 09:17:42 am »
Thanks a lot, BrianD, works like a charm now :D.

Wizard1969

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Can't get SFML to install properly
« Reply #7 on: January 16, 2020, 06:52:23 pm »
Look where the script is trying to copy the build library files from in order to bundle them with your application....



/Users/SFML/Desktop/packaging/tmp/install/Library/Frameworks
etc.

Do you have a User called SFML on your system?

I simply replaced it with
/Library/Frameworks

which is the location of the files according to the installation instructions.

Regards,
Adam