Re: compile DrawKit in 10.8
Re: compile DrawKit in 10.8
- Subject: Re: compile DrawKit in 10.8
- From: Graham Cox <email@hidden>
- Date: Sun, 05 Aug 2012 20:33:33 +1000
Hi James,
I'm not really sure questions about my framework are appropriate for Cocoa-Dev, but anyhoo... what you have there are linker errors. I build DK daily and I had no problem at all with the 10.8 SDK or Xcode 4.4, so I'm not sure what the problem might be. The errors are all symbols within DK itself, not part of Cocoa. They are references to plain C functions though, not Objective-C methods. That might be a clue. These functions are part of the .m files listed here, so I don't know why the compiler would skip them, or otherwise overlook them. Odd. Have you tried building 64-bit?
--Graham
On 05/08/2012, at 6:25 PM, James Maxwell <email@hidden> wrote:
> Hello All,
>
> Has anyone had problems compiling drawkit on 10.8? I can't seem to build it. I tried downloading a fresh copy from apptree.net, but I still get errors. I'm using "Latest" base sdk and the "default" LLVM compiler. I'm trying to build the 32-bit version, for now, and getting these 4 errors:
>
> Undefined symbols for architecture i386:
> "_partcodeForElement", referenced from:
> -[DKDrawablePath pathCreateLoop:] in DKDrawablePath.o
> -[DKDrawablePath lineCreateLoop:] in DKDrawablePath.o
> -[DKDrawablePath polyCreateLoop:] in DKDrawablePath.o
> -[DKDrawablePath arcCreateLoop:] in DKDrawablePath.o
> -[DKDrawablePath isOpenEndPoint:] in DKDrawablePath.o
> -[NSBezierPath(DKEditing) moveControlPointPartcode:toPoint:colinear:coradial:constrainAngle:] in NSBezierPath+Editing.o
> "_partcodeForElementControlPoint", referenced from:
> -[DKDrawablePath pathCreateLoop:] in DKDrawablePath.o
> -[NSBezierPath(DKEditing) partcodeHitByPoint:tolerance:startingFromElement:prioritiseOnPathPoints:] in NSBezierPath+Editing.o
> -[NSBezierPath(DKEditing) partcodeForLastPoint] in NSBezierPath+Editing.o
> -[NSBezierPath(DKEditing) moveControlPointPartcode:toPoint:colinear:coradial:constrainAngle:] in NSBezierPath+Editing.o
> "_subdivideBezierAtT", referenced from:
> -[NSBezierPath(DKEditing) insertControlPointAtPoint:tolerance:type:] in NSBezierPath+Editing.o
> -[NSBezierPath(Geometry) distanceFromStartOfPathAtPoint:tolerance:] in NSBezierPath+Geometry.o
> _subdivideBezierAtLength in NSBezierPath+Geometry.o
> ld: symbol(s) not found for architecture i386
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
>
>
> Any thoughts appreciated.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden