简体   繁体   English

FLAC.framework错误

[英]FLAC.framework error

I am trying to learn how to use SFML however when i try to compile my c++ code i get Xcode telling me Command /bin/sh failed with exit code 2 . 我正在尝试学习如何使用SFML,但是当我尝试编译C ++代码时,我得到了Xcode告诉我Command /bin/sh failed with exit code 2 this is the error i get when i click more info 这是我单击更多信息时遇到的错误

ditto: can't get real path for source '/Library/Frameworks/FLAC.framework' couldn't copy /Library/Frameworks/FLAC.framework to /Users/tris/Library/Developer/Xcode/DerivedData/idk-ckysmijtsswdysecxtelmnggzhun/Build/Products/Debug/idk.app/Contents/Frameworks//FLAC.framework Command /bin/sh failed with exit code 2 同上:无法获取源'/Library/Frameworks/FLAC.framework的真实路径,无法将/Library/Frameworks/FLAC.framework复制到/ Users / tris / Library / Developer / Xcode / DerivedData / idk-ckysmijtsswdysecxtelmnggzhun / Build / Products / Debug / idk.app / Contents / Frameworks // FLAC.framework命令/ bin / sh失败,退出代码为2

how would i go about fixing this? 我将如何解决这个问题? i have tried reinstalling the Command line tools packaged with xcode. 我尝试重新安装xcode附带的命令行工具。

thanks. 谢谢。

There was an error with the way i had installed SFML. 我安装SFML的方式出现错误。 If anyone comes across this error then please go back and install the dylib option of sfml. 如果有人遇到此错误,请返回并安装sfml的dylib选项。 that is how my issue was resolved. 这就是我的问题得到解决的方式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM