[GRASS-dev] Re: [GRASS-windows] windows qgis-grass: make grass build with vc or keep a separate qgis-grass mingw build?

Jürgen E. Fischer jef at norbit.de
Fri Mar 27 08:55:08 EDT 2009

Hi Giovanni,

On Fri, 27. Mar 2009 at 12:36:43 +0100, G. Allegri wrote:
>  the problem on mixing MSVC and MinGW built things (at C level) is
> just a problem of a clean memory management (malloc/free). So, my
> question is: would changing the build system (GNU make -> cmake) solve
> this? Or they're unrelated things?


If everything is compile with the same compiler (ie. using the same
runtime library), that will make the problems disappear again.

But that's not even true for all the VC built binaries in OSGeo4W (e.g.
QGIS and Qt are build with Visual C++ 2008 Express Edition, while GDAL
and python are built with VC 7.1 - I think).

AFAICS there's no way around fixing that in GRASS for OSGeo4W.

The build system currently doesn't support VC at all.  I didn't
investigate how intensive it would be to add that to the existing
Makefile, but that might be an option, too.


Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

More information about the grass-dev mailing list