I'm working together with Sune (deepfrenzee) on this project and just wanted to let you know that we are now successfully using Mitab on WCE from the GDAL distribution, so thanks to Daniel and Mateusz for the support.
For the record: A few changes were needed to make the latest GDAL (v1.5.0) build for WCE: - In the gdalce_common property sheet, under Common Properties / C/C++ / Preprocessor, remove preprocessor definition OGR_ENABLED. - Add the file ogr/ogrsf_frmts/shape/shp_vsi.c to the project. - In the gdalce_dll property sheet, under Configuration Properties / Linker / Input for the Release configuration, add the additional dependency ccrtrtti.lib. In addition, to access the MITAB API, we simply changed the project to build a static library (.lib) instead of a dll (gdalce_dll property sheet, Configuration Properties / General, Configuration Type). That way we avoid the problem that the Mitab API is not exported in the dll. Regards, Jerker Hammarberg Tetrasoft --- In [email protected], Daniel Morissette <[EMAIL PROTECTED]> wrote: > > Forwarding Mateusz' reply... > > -------- Original Message -------- > Subject: Re: [mitab] Building mitab for Pocket PC / WCE > Date: Wed, 06 Feb 2008 17:27:55 +0100 > From: Mateusz Loskot > To: Daniel Morissette > CC: [email protected] > > Daniel Morissette wrote: > > deepfrenzee wrote: > >> Hi > >> > >> We've been trying to build mitab for the pocket pc platform, so far > >> unsuccessfully. > > Daniel / deepfrenzee, > > Yes, this is tricky, but feasible. At least, I've managed to build MITAB > as a part of the GDAL project (what Daniel has mentioned). > > >> The problem is a lot of headers and some basic winapi is missing on WCE. > > Yes, there are, but mostly not WinAPI but C library is incomplete. > For this purpose, I've developed an extension/supplement for the C > library and POSIX on Windows CE - WCELIBCEX: > > http://mateusz.loskot.net/projects/wcelibcex/ > > The WCELIBCEX is used as a compilation enabler while > building GDAL for Windows CE. > > >> Right now we are trying to slim down the library to the bare minimin > >> of what we need, to see how far that gets us. > > I believe this is unnecessary because MITAB compiles without > problems using WCELIBCEX. > > >> Help and suggestions are most welcome. > >> > > > > I believe MITAB has already been built for WCE by Mateusz Loskot from > > the GDAL project as part of an overall effort to port GDAL/OGR (which > > includes MITAB) to WCE, the default MITAB makefiles may just be missing > > some compile flags. > > > > I'd recommend that you post this question to the gdal-dev list where > > Mateusz is listening and may be able to provide more info: > > http://lists.osgeo.org/mailman/listinfo/gdal-dev > > Here is solution for Visual C++ 8.0 (2005) > > http://trac.osgeo.org/gdal/browser/trunk/gdal/wince > > However, this one may needs some update and I'm going to do it soon. > > Here, you can find alternative solution for Visual C++ > and I this one is more up to date: > > http://trac.osgeo.org/moss4g/browser/trunk/libs/gdal > > This is a part of the more complete framework of a bunch of libraries I > ported and maintain for Windows CE platform under common name - MOSS4G > > http://trac.osgeo.org/moss4g/browser/trunk/libs/ > > Feel free to send your further questions to gdal-dev, > I'll do my best to help. > > p.s. Daniel, I believe I've not subscribed to the [email protected] > list, so please could you forward my message there? Thank you! > > Cheers > -- > Mateusz Loskot > http://mateusz.loskot.net > Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/mitab/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/mitab/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
