1) Install XCODE 4.4
2) After XCODE is installed, go to XCode-> Preferences->Downloads
and install "command line tools".
3) Install mercurial .
Open a new terminal and use the command to checkout the code:
hg clone https://...
5) cd graphlabapi
6) For compiling the collaborative filtering library: