Skip to content

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

@claybridges

Description

@claybridges

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions