I have started on the header files used by gdal/ogr to extract compatible headers that will be able to be compiled against gdal. Basically I am adding in the types only based on the usage, without referencing DirectDWG (which I have never seen) this is a perfectly legal way to create the header files.
Currently, it has only stubs and does not compile totaly, yet, but it is a start. github here : http://github.com/h4ck3rm1k3/InDirectDWG get the gdal svn cd /experiments/gdal/ svn co https://svn.osgeo.org/gdal/trunk/gdal see page here :http://trac.osgeo.org/gdal/wiki/DownloadSource git clone g...@github.com:h4ck3rm1k3/InDirectDWG.git get the dxfdwg client code that we use as the indirect definition of the DirectDwg : cd /experiments/gdal/gdal/ogr/ogrsf_frmts/ svn checkout http://svn.osgeo.org/gdal/spike/dxfdwg Configure in the root dir like this using my code as the dwgdirect. cd /experiments/gdal/gdal ./configure --with-dwgdirect=$PATHTO/libredwg make -C /experiments/gdal/gdal/ogr/ogrsf_frmts/dxfdwg mike On Thu, May 6, 2010 at 7:36 AM, jamesmikedup...@googlemail.com < jamesmikedup...@googlemail.com> wrote: > Wow, > Libogr uses dwgdirect, now that is really worth working on. > > here are some I found : > http://code.google.com/p/gdal-kml/ > http://code.google.com/p/tf-net/ > > here is some sketchup plugin for dwg: > > http://download.sketchup.com/OnlineDoc/gsu_mac/K-Input_and_Output/Import_and_Export/IO-DWGDXFExport.htm > > I will start on gdal, I will build header files for all gdal/ogr usages of > dwgdirect and rebuild the header files from that. > > mike > > > On Thu, May 6, 2010 at 7:24 AM, jamesmikedup...@googlemail.com < > jamesmikedup...@googlemail.com> wrote: > >> Ok, >> lets make a list of all open source software the uses DWGDirect and I will >> compile based on that, an ersatz API that fits the function templates. That >> way we can at least liberate the free software from the clutches of EVIL. >> mike >> >> >> On Thu, May 6, 2010 at 1:02 AM, Rodrigo Rodrigues da Silva < >> pita...@members.fsf.org> wrote: >> >>> >>> >>> On 05-05-2010 02:25, jamesmikedup...@googlemail.com wrote: >>> >>>> interesting, so does that mean there will be more progress. >>>> >>> >>> I wouldn't say so. Open Design has released new libraries with R2010 >>> support, but hasn't updated the publicly available specs. That means, they >>> have reverse engineered R2010 but have not released it. >>> >>> >>> Is anyone here a member of this group? >>>> are we working on api compatibility with opendesign libs? >>>> does anyone have header files? >>>> >>> >>> No, the headers are not available unless you pay for membership. >>> Nonetheless, I think it would be illegal to copy them since they are >>> non-free, I suppose. >>> >>> Anyway, I've seen software that uses DWGDirect and the API seems too >>> complicated. I think that our API approach, at least what we've done so far, >>> is simpler and easier to use. >>> >>> >>> -- >>> Rodrigo Rodrigues da Silva >>> GNU LibreDWG maintainer >>> FSF Associate Member #7788 >>> PoliGNU - Grupo de Estudos de Software Livre da Poli/USP >>> >>> >>> >> >