Problem: Compiler error: "vm_page_size" undefined Solution: Replace vm_page_size with NSPageSize() as in: NSCreateZone(NSPageSize(), NSPageSize(), YES); Problem: Complaints of multiply defined symbols or included files Solution: This occurs when you #import from headers and the order is not correct (for example, you #import "NSView.h" before you #import <AppKit.h/AppKit.h>. Remove ALL #imports from the .h files, except your main, included everywhere, project .h file. This should hierarchically include all your classes, after getting the important system .h's. Example, "stone.h": #import <AppKit/AppKit.h> #import <bsd/sys/dir.h> #import <objc/objc-runtime.h> #import "Graphic.h" #import "BoxGraphic.h" #import "Circle.h" #import "Group.h" #import "BoxGroup.h" #import "ClipGroup.h" (etc) Now, in Circle.h, it would just #import "stone.h", and precomps work! |