[Drawkit] DkMinimal again shows error

Graham Cox graham.cox at bigpond.com
Tue Apr 22 04:19:34 PDT 2008


On 22 Apr 2008, at 8:57 pm, vinitha ks wrote:
> Hi,
> Thanks for your kind reply.I tried to build the GCdraw kit it built  
> with 8 warnings.Then i tried to build in dubug GCMinimal ,but it  
> again shows 1 error.When i try to build it in release then it shows  
> 2 errors as follows.When i build the GCdrawkit in the linked  
> frameworks folder GCGradientpanel.framework shows in red colour.IS  
> there any problem.


I'll be honest - I have absolutely no idea.

GCGradientpanel.framework is not part of any of these projects - it's  
another project I have worked on so it's most peculiar that it's  
showing up there. Are you sure you have downloaded the latest (beta 2)  
release, and are not trying to use the earlier one?

DrawKit itself shouldn't produce any warnings - I compile with a very  
strict set of warnings (far more than the Cocoa project defaults) and  
get none. What are they? Might be a clue...

I can't tell much from the errors you posted - just that it can't find  
the framework. Did you follow my earlier advice? Don't put  
GCDrawKit.framework into the frameworks folder, just let it build  
somewhere locally. Place the DKMinimal project in the same folder as  
the DrawKit project - not in a subfolder of Drawkit or anywhere else.  
DKMinimal needs Drawkit's build folder to be in the correct relative  
position, and of course it has to be there, so Drawkit must be built  
first.

<your hard disk>...--><a particular folder>-->DrawKit
<your hard disk>...--><a particular folder>-->DKMinimal

If you can get Drawkit to build, the DKMinimal project is trivial -  
you could try recreating it from scratch. It contains no code at all -  
just a custom view class in its main window within a scrollview set to  
DKDrawingView. All done in Interface Builder.


> I'm realy new to cocoa and MAc.Expecting your kind reply.

Frankly I don't think Drawkit is really a beginner's framework.  
Without documentation (coming soon...) it's probably impossible to  
understand without a fair bit of Cocoa experience. Not wishing to  
discourage you but you may need to walk before you can run.


cheers, Graham





More information about the Drawkit mailing list