[Drawkit] DkMinimal again shows error
Graham Cox
graham.cox at bigpond.com
Tue Apr 22 05:09:46 PDT 2008
You can safely ignore these warnings, they are wrong.
Looks like the framework is building fine - you just need to pick up
the built framework in the DKMinimal project. If anything shows up in
red fix it (weirdness about GradientPanel.framework aside - that
shouldn't be there, I have no idea why it would be, and definitely
should be removed).
Or why not try building the demo application project? It's much more
useful, and includes the Drawkit project as a subproject so it should
eliminate dependencies on build order and build settings. The rule
about having the project folders at the same level still applies
however.
cheers, Graham
P.S. Please note my comments about needing experience to use DK at
present. I really don't have time to hold your hand, so while I'm
willing to help you figure out DrawKit's oddities and make some sense
of it, I can't walk you through the basics of using Xcode and Cocoa in
general - you have to get comfortable with the build process generally
first, and make some basic Cocoa apps without DK. To get up to speed
with Cocoa, Aaron Hillegasse's book is a great primer - google it.
On 22 Apr 2008, at 9:45 pm, vinitha ks wrote:
> Hi,
> Yes i download the beta2.0.Just now downloaded it again and
> build.It again shows 8 warning as follows.I'm interested to work in
> cocoa and GCDrawkit.So please help if you can.
> /Users/Newtok/Desktop/vinitha/GCDrawkit/DrawKit/Trunk/Source/Code/
> NSBezierPath+Geometry.m: In function '-[NSBezierPath(Geometry)
> bezierPathWithFragmentedLineSegments:]':
> /Users/Newtok/Desktop/vinitha/GCDrawkit/DrawKit/Trunk/Source/Code/
> NSBezierPath+Geometry.m:535: warning: 'fp.y' may be used
> uninitialized in this function
> /Users/Newtok/Desktop/vinitha/GCDrawkit/DrawKit/Trunk/Source/Code/
> NSBezierPath+Geometry.m:535: warning: 'fp.x' may be used
> uninitialized in this function
> /Users/Newtok/Desktop/vinitha/GCDrawkit/DrawKit/Trunk/Source/Code/
> NSBezierPath+Geometry.m:535: warning: 'pp.y' may be used
> uninitialized in this function
> /Users/Newtok/Desktop/vinitha/GCDrawkit/DrawKit/Trunk/Source/Code/
> NSBezierPath+Geometry.m:535: warning: 'pp.x' may be used
> uninitialized in this function
> /Users/Newtok/Desktop/vinitha/GCDrawkit/DrawKit/Trunk/Source/
> Code/NSBezierPath+Geometry.m:535: warning: 'fp.y' may be used
> uninitialized in this function
> /Users/Newtok/Desktop/vinitha/GCDrawkit/DrawKit/Trunk/Source/
> Code/NSBezierPath+Geometry.m:535: warning: 'fp.x' may be used
> uninitialized in this function
> /Users/Newtok/Desktop/vinitha/GCDrawkit/DrawKit/Trunk/Source/
> Code/NSBezierPath+Geometry.m:535: warning: 'pp.y' may be used
> uninitialized in this function
> /Users/Newtok/Desktop/vinitha/GCDrawkit/DrawKit/Trunk/Source/
> Code/NSBezierPath+Geometry.m:535: warning: 'pp.x' may be used
> uninitialized in this function
More information about the Drawkit
mailing list