It was my first time using openframeworks and xcode. The code itself did not seem to be a problem. But the main platform osx and xcode version was the big issue that i had to solve. I had to try deleting and re-intalling osx on my Macbook Air several time and downloading xcode from online. It was time consuming part. Currently, the openframeworks runs in osx Yosemite version 10.10.3 and xcode version 6.3.1.