1
General / Re: xcode projects will not compile (link)
« on: September 30, 2013, 12:47:43 pm »
Just one further note.
Had same problem on office mac. Same link errors. The solution that worked for my mac at home did not work.
I then installed the gcc version of SFML and retried:
TargetSettings -> Build Phases -> Link Binary with Libraries -> add "SFML.framework"
TargetSettings -> Build Phases -> Link Binary with Libraries -> add "Foundation.framework"
Then it built fine.
Conclusions
gcc version works better with 10.6.8 OS X
OR
The only other difference is that I added the libraries BEFORE I did my *first* build. (maybe if the first build is wrong it messes up xcode project files and all subsequent builds?)
In any case I am not going to retry the clang version just yet to see if that was the problem. I want to actually try some coding first.
Joseph.
Had same problem on office mac. Same link errors. The solution that worked for my mac at home did not work.
I then installed the gcc version of SFML and retried:
TargetSettings -> Build Phases -> Link Binary with Libraries -> add "SFML.framework"
TargetSettings -> Build Phases -> Link Binary with Libraries -> add "Foundation.framework"
Then it built fine.
Conclusions
gcc version works better with 10.6.8 OS X
OR
The only other difference is that I added the libraries BEFORE I did my *first* build. (maybe if the first build is wrong it messes up xcode project files and all subsequent builds?)
In any case I am not going to retry the clang version just yet to see if that was the problem. I want to actually try some coding first.
Joseph.