Hi,
Downloaded sfml 2.1 but xcode project will not compile.
I am using xcode 4 on osx 10.6.8
I get 5 linker errors all like the following
Ld /Users/josephkehoe/Library/Developer/Xcode/DerivedData/test-dyvrrygwjxvjqhcerziipthgmbwq/Build/Products/Debug/test.app/Contents/MacOS/test normal i386
cd /Users/josephkehoe/Desktop/SFML/test
setenv MACOSX_DEPLOYMENT_TARGET 10.6
/Developer/usr/bin/clang++ -arch i386 -L/Users/josephkehoe/Library/Developer/Xcode/DerivedData/test-dyvrrygwjxvjqhcerziipthgmbwq/Build/Products/Debug -L/usr/local/lib -F/Users/josephkehoe/Library/Developer/Xcode/DerivedData/test-dyvrrygwjxvjqhcerziipthgmbwq/Build/Products/Debug -F/Library/Frameworks -filelist /Users/josephkehoe/Library/Developer/Xcode/DerivedData/test-dyvrrygwjxvjqhcerziipthgmbwq/Build/Intermediates/test.build/Debug/test.build/Objects-normal/i386/test.LinkFileList -mmacosx-version-min=10.6 -framework sfml-system -framework sfml-window -framework sfml-graphics -framework sfml-audio -framework sfml-network -framework sfml-system -framework sfml-window -framework sfml-graphics -framework sfml-audio -framework sfml-network -framework SFML -o /Users/josephkehoe/Library/Developer/Xcode/DerivedData/test-dyvrrygwjxvjqhcerziipthgmbwq/Build/Products/Debug/test.app/Contents/MacOS/test
Undefined symbols for architecture i386:
".objc_class_name_NSAutoreleasePool", referenced from:
pointer-to-literal-objc-class-name in ResourcePath.o
".objc_class_name_NSBundle", referenced from:
pointer-to-literal-objc-class-name in ResourcePath.o
"_objc_msgSend", referenced from:
resourcePath() in ResourcePath.o
"_NSLog", referenced from:
resourcePath() in ResourcePath.o
"___CFConstantStringClassReference", referenced from:
CFString in ResourcePath.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Note that I have tried downloading binaries and from source. The problem seems to be xcode project file. When I download from source and compile from unix Makefile it produces working examples BUT I still cannot get xcode project to compile so the issue is the project setup in xcode.
Anyone else have this problem or do people just use codeblocks on mac instead?
(XCode seems a bit of a dog)