[gdal-dev] Question about DWG driver integration into GDAL
Jerome Siot
jerome.siot at maxsea.fr
Wed Jan 27 01:13:00 PST 2016
Dear all,
I'm currently trying to compile GDAL(2.0.1) with DWG driver enabled, *** under Windows 8 *** (I compile with Visual Studio/Cygwin, compilation is successful for other drivers (ex : OGDI)).
1) I tried "# DWG support using the Open Design Alliance Teigha Libraries" :
- I found binaries on https://www.opendesign.com/download/
- I compile successfully, but the driver isn't printed In OGR driver list when in run my sample application
2) For the 2nd way, "# DWG/DXF support via DWGdirect from Open Design Alliance", I didn't find netheir binaries nor sources of DWGDirect
3) I saw on the web a third possibility, which is "DXFDWG", given by https://trac.osgeo.org/gdal/wiki/DxfDwg, which I don't know how to use.
What solution must be used for win32 compilation ?
Is it possible to compile DWG driver within gdal 2.0.1 ?
Thank you, Jérome Siot
(Excuse me for my awful English, I'm French !)
Here is an extract of gdal-2.0.1/nmake.opt
# DWG support using the Open Design Alliance Teigha Libraries
#TD_BASE = C:\warmerda\pkg\td_vc9
#TD_FLAGS = -D_TOOLKIT_IN_DLL_
#TD_INCLUDE = -I$(TD_BASE)\TD\Include -I$(TD_BASE)\TD\Extensions\ExServices
#TD_LIBDIR = $(TD_BASE)\lib\vc9dll
# DWG/DXF support via DWGdirect from Open Design Alliance
#DWGDIRECT=C:\warmerda\DWGdirect
#DWG_LIB_DIR=$(DWGDIRECT)\lib\VC6MD
#DWG_LIB=$(DWG_LIB_DIR)\DD_AcisBuilder_dll.lib $(DWG_LIB_DIR)\DD_AcisRenderer_dll.lib $(DWG_LIB_DIR)\DD_Alloc_dll.lib $(DWG_LIB_DIR)\DD_BmpExport_dll.lib $(DWG_LIB_DIR)\DD_Br_dll.lib $(DWG_LIB_DIR)\DD_Db_dll.lib $(DWG_LIB_DIR)\DD_DwfExport_dll.lib $(DWG_LIB_DIR)\DD_DwfImport_dll.lib $(DWG_LIB_DIR)\DD_Ge_dll.lib $(DWG_LIB_DIR)\DD_Gi_dll.lib $(DWG_LIB_DIR)\DD_Gs_dll.lib $(DWG_LIB_DIR)\DD_ModelerGeometry_dll.lib $(DWG_LIB_DIR)\DD_Root_dll.lib $(DWG_LIB_DIR)\DD_Sm_dll.lib $(DWG_LIB_DIR)\DD_SpatialIndex_dll.lib $(DWG_LIB_DIR)\DD_VC6MD_OleDataAccess_dll.lib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20160127/db9bbd85/attachment.html>
More information about the gdal-dev
mailing list