[Drawkit] Drawkit Digest, Vol 11, Issue 8

Allan Daly allandaly at me.com
Mon Apr 6 17:43:29 PDT 2009


Hi Bill,

I'm out of town so I'm not able to look up the exact set up to help  
you out right now. If you don't figure this out by Sunday 4/12 I can  
give you more details.

DXFReader and DKSimpleDXF all need to be set to build into the DrawKit  
build directory. If you can get everything to build into there it  
should work. And as Mike wrote you need to use garbage collection.  
Give it a try and let me know if any errors crop up. (The arrangement  
is the same as Graham's DKSimpleDemo application uses.)

If you (or anyone) knows of a better way to set this up or document  
the setting requirements I would love to know it.

The DKSimpleDXF implementation does not yet handle BLOCKS (I'm working  
on that right now). It' does handle LINES, LWPOLYLINES, ARCS, CIRCLES,  
and TEXT entities. It also does not handle MTEXT objects yet.

If you really need this and are willing to help us out, we are in the  
process of developing the DXFReader framework and would love any help  
you might be able to offer. It's an opensource / volunteer effort so  
things are developing only as fast as Mike Caron and I can find time  
to put into it. More info at http://brown-bird.net/Projects/dxfreader.html 
. The project is hosted out of SourceForge.

-Allan

On Apr 6, 2009, at 11:38 AM, Mike Caron wrote:

> Hi Bill!
>
> If you're going to use the built frameworks, then make sure that  
> you've built them using the garbage collection require setting. DXF- 
> Reader project defaults to compiling as GC-only, that is, required,  
> not supported. Thus, I'm guessing that the DKSimple DXF app will  
> have to be compiled with GC-only as well.
>
> Maybe Allan can confirm this?
>
> Hope that helps!
>
> Cheers,
> Mike
>
> On Mon, Apr 6, 2009 at 1:07 PM, Bill Monk <billmonk at mac.com> wrote:
>
> On Feb 23, 2009, at 3:02 PM, Allan <allandaly at me.com> wrote:
>
> I managed to pull together a first pass at the DXFReader framework and
> have posted it along with my modified version of your DK Mini Demo
> program if you or anyone else is interested in taking a look.
>
> The DXFReader framework is here: http://brown-bird.net/dxfreader.html
>
> The DKSimpleDXF demo application is here: http://brown-bird.net/dksimpledxf.html
>
>
> I'm interested in giving DKSimpleDXF a whirl with some largish DXF  
> files. What is the correct directory hierarchy for DrawKit,  
> DXFReader, and DKSimpleDXF to get DKSimpleDXF to build cleanly?
>
>
> I thought I more or less understood Xcode Direct Dependencies,  
> header search paths, @loader_path and such incantations - at least,  
> have successfully used 'em before. But maybe I'm actually an idiot -  
> today when I build DKSimpleDXF, it can't find <GCDrawKit/ 
> DKDrawKit.h> no matter how I adjust things.
>
> Finally I tried removing the DrawKit and DXFReader Xcode projects  
> from DKSimpleDXF, and just dragging in the built frameworks. Now  
> DKSimpleDXF gets the link error
>
>        ld: this linkage unit uses Retain/Release.  It cannot link  
> against the GC-only dylib: /Users/billmonk/Documents/DrawKit/ 
> DKSimpleDXF_v.0.1_r2/DXFReader.framework/DXFReader
>
>
> Apologies if this is dead simple.
> _______________________________________________
> Drawkit mailing list
> Drawkit at lists.apptree.net
> http://lists.apptree.net/listinfo.cgi/drawkit-apptree.net
>
> _______________________________________________
> Drawkit mailing list
> Drawkit at lists.apptree.net
> http://lists.apptree.net/listinfo.cgi/drawkit-apptree.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.apptree.net/pipermail/drawkit-apptree.net/attachments/20090406/e714848f/attachment.htm>


More information about the Drawkit mailing list