I\'m trying to compile a project that uses sfml
I installed sfml 2.1
through homebrew
like below
unknown542696d2a12b:keepe
SFML assumes you're building a .app
bundle. Notice it's complaining about not finding FreeType, which is a dependency of SFML (it's not complaining about finding SFML). And notice where it's looking for FreeType: @executable_path/../Frameworks/freetype.framework/Versions/A/freetype
.
If your program (keeper
) is in .
, then OS X is looking for FreeType in ./../Frameworks/freetype.framework/Versions/A/freetype
, and it's complaining that it can't find it. That because those SFML libraries think you've created a .app
bundle, which would then have the necessary/assumed folder structure.
Your options are:
.app
bundle that includes everything@executable_path/../Frameworks/freetype.framework/Versions/A/freetype
)