I managed to get this building on MacOS Mavericks using the glew and glfw3 libraries off of homebrew. I forked it at djoshea/imgui
See https://github.com/djoshea/imgui/blob/master/examples/opengl...
brew install glew
brew install glfw3
cd examples/opengl_example/
make
./main