Hi all and Happy New Year
I have uninstalled SFML 2.1 (that was working very well) to install SFML 2.2 (SFML-2.2-osx-clang-universal)
Following your tutorial:
I copied the content of lib to /usr/local/lib and the content of include to /usr/local/include.
I copied the content of Frameworks to /Library/Frameworks and sndfile.framework and freetype.framework from extlibs to /Library/Frameworks.
I copied SFML directory from templates to /Library/Developer/Xcode/Templates
My Mac is Yosemite 10.10.1, Xcode is 6.1.1 and SFML is Clang - universal 32+64-bit (OS X 10.7+, compatible with C++11 and libc++)
I tried to create an application but it doesn't compile.
How can I fix this problem please? Thank you in advance
My Xcode screen shows this:
http://www.imageupload.co.uk/images/2014/12/31/Screen_Shot_2014-12-31_at_180225.png-----------------------------------------------------------------------------------------------------------------
ProcessInfoPlistFile /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug/My\ First\ SFML\ App.app/Contents/Info.plist My\ First\ SFML\ App/My\ First\ SFML\ App-Info.plist
cd "/Users/Fab/Desktop/My First SFML App"
builtin-infoPlistUtility /Users/Fab/Desktop/My\ First\ SFML\ App/My\ First\ SFML\ App/My\ First\ SFML\ App-Info.plist -genpkginfo /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug/My\ First\ SFML\ App.app/Contents/PkgInfo -expandbuildsettings -platform macosx -o /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug/My\ First\ SFML\ App.app/Contents/Info.plist
CompileC /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/ResourcePath.o My\ First\ SFML\ App/ResourcePath.mm normal i386 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
cd "/Users/Fab/Desktop/My First SFML App"
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c++ -arch i386 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.7 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/My\ First\ SFML\ App.hmap -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug/include -I/usr/local/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/DerivedSources/i386 -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/DerivedSources -F/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug -F/Library/Frameworks -MMD -MT dependencies -MF /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/ResourcePath.d --serialize-diagnostics /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/ResourcePath.dia -c /Users/Fab/Desktop/My\ First\ SFML\ App/My\ First\ SFML\ App/ResourcePath.mm -o /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/ResourcePath.o
CompileC /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/main.o My\ First\ SFML\ App/main.cpp normal i386 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd "/Users/Fab/Desktop/My First SFML App"
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch i386 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.7 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/My\ First\ SFML\ App.hmap -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug/include -I/usr/local/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/DerivedSources/i386 -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/DerivedSources -F/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug -F/Library/Frameworks -MMD -MT dependencies -MF /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/main.d --serialize-diagnostics /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/main.dia -c /Users/Fab/Desktop/My\ First\ SFML\ App/My\ First\ SFML\ App/main.cpp -o /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/main.o
CompileC /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/main.o My\ First\ SFML\ App/main.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd "/Users/Fab/Desktop/My First SFML App"
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.7 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/My\ First\ SFML\ App.hmap -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug/include -I/usr/local/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/DerivedSources/x86_64 -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/DerivedSources -F/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug -F/Library/Frameworks -MMD -MT dependencies -MF /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/main.d --serialize-diagnostics /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/main.dia -c /Users/Fab/Desktop/My\ First\ SFML\ App/My\ First\ SFML\ App/main.cpp -o /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/main.o
CompileC /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/ResourcePath.o My\ First\ SFML\ App/ResourcePath.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
cd "/Users/Fab/Desktop/My First SFML App"
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.7 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/My\ First\ SFML\ App.hmap -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug/include -I/usr/local/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/DerivedSources/x86_64 -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/DerivedSources -F/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug -F/Library/Frameworks -MMD -MT dependencies -MF /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/ResourcePath.d --serialize-diagnostics /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/ResourcePath.dia -c /Users/Fab/Desktop/My\ First\ SFML\ App/My\ First\ SFML\ App/ResourcePath.mm -o /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/ResourcePath.o
Ld /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/My\ First\ SFML\ App normal x86_64
cd "/Users/Fab/Desktop/My First SFML App"
export MACOSX_DEPLOYMENT_TARGET=10.7
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -L/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug -L/usr/local/lib -F/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug -F/Library/Frameworks -filelist /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/My\ First\ SFML\ App.LinkFileList -Xlinker -rpath -Xlinker @loader_path/../Frameworks -mmacosx-version-min=10.7 -framework sfml-system -framework sfml-window -framework sfml-graphics -framework sfml-audio -framework sfml-network -stdlib=libc++ -fobjc-link-runtime -Xlinker -dependency_info -Xlinker /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/My\ First\ SFML\ App_dependency_info.dat -o /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/My\ First\ SFML\ App
Undefined symbols for architecture x86_64:
"sf::Image::~Image()", referenced from:
_main in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Ld /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/My\ First\ SFML\ App normal i386
cd "/Users/Fab/Desktop/My First SFML App"
export MACOSX_DEPLOYMENT_TARGET=10.7
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -L/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug -L/usr/local/lib -F/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug -F/Library/Frameworks -filelist /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/My\ First\ SFML\ App.LinkFileList -Xlinker -rpath -Xlinker @loader_path/../Frameworks -mmacosx-version-min=10.7 -framework sfml-system -framework sfml-window -framework sfml-graphics -framework sfml-audio -framework sfml-network -stdlib=libc++ -fobjc-link-runtime -Xlinker -dependency_info -Xlinker /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/My\ First\ SFML\ App_dependency_info.dat -o /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/My\ First\ SFML\ App
Undefined symbols for architecture i386:
"sf::Image::~Image()", referenced from:
_main in main.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)