SFML community forums

Help => General => Topic started by: 0x7e7e on April 10, 2010, 09:53:21 am

Title: [OSX 10.4|Xcode 2.5] Problems linking audio stuffs
Post by: 0x7e7e on April 10, 2010, 09:53:21 am
Just a while ago i stumbled across sfml, which seems a mighty fine alternative to SDL. However, im having some troubles building a test application on my mac. (I have a intel core2duo mac, Osx 10.4 tiger, Xcode 2.5)

I followed the tutorial (http://www.sfml-dev.org/tutorials/1.6/start-osx.php) and copied the sfml frameworks, and the additional frameworks (OpenAL and sndfile)  to my Library/frameworks directory.

I created a test application using the 'Graphic Window Application' template for Xcode, and put some sample code in it from here (http://www.sfml-dev.org/documentation/1.6/)

However, i get some linking errors from XCode (which in my opinion are always too cryptic to be of any use...)
Code: [Select]

...


According to these linking errors, i'd say, the compiler cant find the sndfile library... I did copy it to my frameworks folder tho... And  also added it to my project.

Currently i have the following frameworks added in my project:
SFML.framework
sfml-system.framework
sfml-window.framework
sfml-graphics.framework
sfml-audio.framework
sndfile.framework
OpenAL.framework
OpenGL.framework (i dont know if this one is necessary)
Cocoa.framework (prolly not necessary?)

Currently i dont copy the frameworks to my target. And i assume my app is using the frameworks from my library/frameworks dir

So, does anyone have a clue what i might have done wrong/not done causing the linking errors?

Thanks a bunch!