Cycles standalone totally black on MacOS

Hi, I compiled the newest cycles standalone on MacOS, everything goes well but i got totally black when rendering the example scenes. Maybe the .xml scene files is outdated?

I also wonder is there a demo project showing how to create a cycles scene using c++ code and render a image?