Hey!
I'm trying to install SFML on my mac(mountain lion). I'm very new to os-x just bought the computer
I tried to compile the sfml 2.0 source with cmake but it giving me some weird error
CMake Error at /Applications/CMake 2.8-8.app/Contents/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
Could NOT find Freetype (missing: FREETYPE_LIBRARY) (found version "2.4.4")
Call Stack (most recent call first):
/Applications/CMake 2.8-8.app/Contents/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
/Applications/CMake 2.8-8.app/Contents/share/cmake-2.8/Modules/FindFreetype.cmake:106 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
src/SFML/Graphics/CMakeLists.txt:78 (find_package)
Configuring incomplete, errors occurred!
so i decided to use the installer from the downloads section, i installed got the templetes on xcode BUT i can't compile and run... It gives me this error:
ld: library not found for -lsfml-system
clang: error: linker command failed with exit code 1 (use -v to see invocation)
i googled it and found that i should change "SFML_LINK_DYLIBS_SUFFIX" to nothing(leave it empty) but i my settings it already empty...
So i don't know what to do... Can someone please help me fix this problem?
Thanks!