SFML community forums

Help => General => Topic started by: SFMLNEWB on October 23, 2018, 10:27:24 pm

Title: Can't get SFML to install properly
Post by: SFMLNEWB 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.
Title: Re: Can't get SFML to install properly
Post by: SFMLNEWB on November 02, 2018, 12:13:34 am
Nothing huh?  Oh well  :(
Title: Re: Can't get SFML to install properly
Post by: BrianD on November 03, 2018, 10:22:03 am
(https://imgur.com/LGZjxN7)
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.
Title: Re: Can't get SFML to install properly
Post by: kotrunga 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?
Title: Re: Can't get SFML to install properly
Post by: BrianD on November 11, 2018, 05:54:20 pm
Me too.  ;D
Title: Re: Can't get SFML to install properly
Post by: Hua 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!
Title: Re: Can't get SFML to install properly
Post by: AlpacaRider on December 05, 2018, 09:17:42 am
Thanks a lot, BrianD, works like a charm now :D.
Title: Re: Can't get SFML to install properly
Post by: Wizard1969 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