help compilng v006 project on Lion


I want to make some changes on a old (v006) project but since the time I did it I have formated my computer and updated to Lion

now I can no longer compile it with xcode4 - I get some errors as I use ofTrueTypeFontWS.cpp which I found somewhere for v006

I downloaded xcode3 with 10.5 /10.4 SDK and tried it but I get several errors again… I can’t find any instructions online of what the right preferences are…

pls help me this is a kinda urgent…

I tried to compile an example - I set the SDK to 10.5 and the compiler version to gcc4.0 and it did compile but I get some linker errors

any ideas ?