[Drawkit] Drawkit Digest, Vol 11, Issue 8

Bill Monk billmonk at mac.com
Mon Apr 6 11:07:12 PDT 2009


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.


More information about the Drawkit mailing list