[gdal-dev] Re: Link GDAL with MinGW

2009-02-26 Thread LF
Frank Warmerdam pobox.com> writes: > > Ari Jolma wrote: > > oops, I believe it is not correct to say "Swig bindings use some C++ > > API", but it is nevertheless sometimes hard/not possible to mix VC and > > MinGW when developing for Windows > > Folks, > > I am interested in making use of th

[gdal-dev] Re: Link GDAL with MinGW

2009-02-26 Thread LF
haps it needs some flags when compile. > > Ari > > LF kirjoitti: > > Hi to everyone, > > I'm trying to make a plugin for GDAL. So I need to use some GDALDataset methods > > (AddBand, GetDriver, setGCPs, ...). > > When I compile my code with MinGW it

[gdal-dev] Link GDAL with MinGW

2009-02-26 Thread LF
Hi to everyone, I'm trying to make a plugin for GDAL. So I need to use some GDALDataset methods (AddBand, GetDriver, setGCPs, ...). When I compile my code with MinGW it's all OK, but when MinGW starts linking it doesn't found these methods and give me "undefined reference" to all them. In makefile

[gdal-dev] Re: Conflicts when using GDAL with minGW

2009-02-24 Thread LF
LF interfree.it> writes: > > It seems that the GDAL library is causing some functions in the minGW > > C++ library (cstdio) to be undeclared. > I had two conflicts between mingw and gdal for variables *_copysign* > and *ssize_t*, defined in both mingw and gdal. > Should

[gdal-dev] Re: Conflicts when using GDAL with minGW

2009-02-24 Thread LF
Ozy Sjahputera missouri.edu> writes: > ... > > error: `snprintf' is not a member of `std' > e:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/math.h error: > declaration of C function `float _copysign(float, float)' conflicts with > e:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../incl