VTPG / CommonCode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting CG errors when I try to inlude VTPG_Common.[hm]

claybridges opened this issue · comments

I'm compiling something without the CG framework. Cut and paste from Xcode.

/Users/clay/ex/game/model/VTPG_Common.m: In function 'VTPG_DDToStringFromTypeAndValue':
/Users/clay/ex/game/model/VTPG_Common.m:47: error: expected specifier-qualifier-list before 'CGPoint'
/Users/clay/ex/game/model/VTPG_Common.m:47: error: 'NSStringFromCGPoint' undeclared (first use in this function)
/Users/clay/ex/game/model/VTPG_Common.m:47: error: (Each undeclared identifier is reported only once
/Users/clay/ex/game/model/VTPG_Common.m:47: error: for each function it appears in.)
/Users/clay/ex/game/model/VTPG_Common.m:47: error: 'CGPoint' undeclared (first use in this function)
/Users/clay/ex/game/model/VTPG_Common.m:47: error: expected expression before ')' token
/Users/clay/ex/game/model/VTPG_Common.m:48: error: expected specifier-qualifier-list before 'CGSize'
/Users/clay/ex/game/model/VTPG_Common.m:48: error: 'NSStringFromCGSize' undeclared (first use in this function)
/Users/clay/ex/game/model/VTPG_Common.m:48: error: 'CGSize' undeclared (first use in this function)
/Users/clay/ex/game/model/VTPG_Common.m:48: error: expected expression before ')' token
/Users/clay/ex/game/model/VTPG_Common.m:49: error: expected specifier-qualifier-list before 'CGRect'
/Users/clay/ex/game/model/VTPG_Common.m:49: error: 'NSStringFromCGRect' undeclared (first use in this function)
/Users/clay/ex/game/model/VTPG_Common.m:49: error: 'CGRect' undeclared (first use in this function)
/Users/clay/ex/game/model/VTPG_Common.m:49: error: expected expression before ')' token