using older code in of007

Hi! I’m new to OF/c++.

Basically I am trying to use an older code example (written in 2009) in the lastest OF. The older code needed to compile in 10.5 with appkit.

I started a new empty project in of007. pasted in the code. changed project SDK to 10.5. Added appkit to frameworks. there are still 3 errors remaining…I have no clue how to fix it. :frowning:

I am using xcode 3.2.6 and Mac OSX 10.6.8

the older code I am using is Zach’s code to grab screens.

Any insight is deeply appreciated! :slight_smile: Thanks!

![]( shot 2012-01-28 at 3.30.17 PM.png)

solved. set base SDK to Current Mac osx worked.