[gdal-dev] Re: Link GDAL with MinGW

2009-02-26 Thread LF
. 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's all OK, but when MinGW starts linking it doesn't found these methods and give me undefined

[gdal-dev] Re: Link GDAL with MinGW

2009-02-26 Thread LF
Frank Warmerdam warmerdam at 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 the

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

2009-02-24 Thread LF
Ozy Sjahputera sjahputerao at 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

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

2009-02-24 Thread LF
LF lucafasano at 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 I define some