X11 (on a mac you can just open the X11 app and if X11 isn’t installed it’ll take you to the download).
cmake (you can use home-brew for that)
In terminal make the lib-xx.xx/examples your root
cmake -G Xcode ..
cmake –build . –config Release