[gdal-dev] DWGDirect and Teigha failing to compile

Carman, Darren darren.carman at infoterra-global.com
Mon Jan 23 04:08:51 EST 2012

Thanks Even. I will give that a go.

Darren Carman
Senior Software Engineer
GEO-Information Services

Astrium Services
Tel +44 (0)1252 362138

-----Original Message-----
From: Even Rouault [mailto:even.rouault at mines-paris.org] 
Sent: 21 January 2012 09:18
To: gdal-dev at lists.osgeo.org
Cc: Carman, Darren
Subject: Re: [gdal-dev] DWGDirect and Teigha failing to compile

Le vendredi 20 janvier 2012 10:56:34, Carman, Darren a écrit :
> Hi,
> I am having problems installing GDAL 1.8.1 using the Open Design
> Alliance Teigha v3 software. We run Red Hat EL6.1 64bit which used gcc
> 4.4. The Teigha distribution contains prebuilt libraries for this
> compiler, so no source code.
> The servers we are upgrading from were Red Hat EL4.8 32bit running GDAL
> 1.4.5 and ODA 2.5 (pre Teigha branding and changes). This works fine.
> I am unsure if this is still supported and did notice the extra dxf and
> dwg directories under ogrsf_frmts, but am unsure whether they are meant
> to replace this or use different technologies. I don't see them
> mentioned in the configure help.
> So far I have:
> a)      Downloaded the dxfdwg directory and modified GNUMakefile,
> ogr_dwg.h, OdFileBuf.cpp and OdFileBuf.h to reflect changes in ODA
> function names and allow it to build.

The dxfdwg directory from http://trac.osgeo.org/gdal/browser/spike/dxfdwg ? 
This is really unsupported stuff now. Frank Warmerdam has written a new DWG 
driver in GDAL 1.9.0 that relies on the Teigha libraries. See 
http://gdal.org/ogr/drv_dwg.html . So I'd suggest you to upgrade to 1.9.0

Infoterra Ltd. Is part of the Astrium GEO-Information Services Division and a wholly owned subsidiary of Astrium, Europe's leading space systems and services specialist.

Disclaimer. The information contained in this e-mail and its attachments are confidential and intended only for the use of the named addressee(s). If you are not the intended addressee, please do not read, copy, use or disclose this message or its attachments. If you have received this message in error, please notify the sender immediately and delete or destroy all copies of this message and attachments in all media. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Infoterra Ltd and shall not form part of any binding agreement.

Infoterra Limited a company registered in England under number 2359955 and having its registered office at Atlas House, 41 Wembley Road, Leicester, LE3 1UT. VAT number GB 476 0468 27. 

P Before printing, think about the environment 

More information about the gdal-dev mailing list