[gdal-dev] DWGDirect and Teigha failing to compile

Even Rouault even.rouault at mines-paris.org
Sat Jan 21 04:17:45 EST 2012


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


More information about the gdal-dev mailing list