I'm having trouble installing SFML on mac os x 10.8. I'm using cmake 2.8 and xcode 4.
I configured and generated unix makefiles with cmake and installed them with terminal (using "sudo make install"). I followed the instructions posted by sbroadfoot90 found
here and the items were definitely installed when i entered the terminal commands. When it failed to compile, I realized I had done some things wrong (namely I hadnt pressed "configure" again after checking all the boxes needed in cmake) and reiterated the process with the mistakes corrected.
Now, when I compile I get a large list of errors and warnings (see below)
I tried to clean (which I did by manually by deleting the frameworks installed by the "sudo make install" command and the files installed to /usr/local/share/) and reinstall but this didnt help at all. (Am I cleaning incorrectly?)
As far as the installation process goes, I feel I may have the SFML folder containing all the source information for the build in the wrong folder perhaps. I placed it in as such: Users/erikthorne/SFML. But all my applications, including xcode, are found in MacintoshHD/Applications
these two errors are what all the other ones look like, I didnt feel the need to include all of them because I imagine one is sufficient for identifying the issue with the installation process
ld: warning: ignoring file /Library/Frameworks/sfml-system.framework/sfml-system, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /Library/Frameworks/sfml-system.framework/sfml-system
Undefined symbols for architecture i386:
"sf::SoundStream::play()", referenced from:
_main in main.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
really, I don't know whats going on. I've been quite frustrated over this for too long now and I would greatly appreciate it if someone could help me figure it out so I can actually start coding again