[Gdal-dev] Compiling gdal with MinGW/MSYS?
Thom DeCarlo
t.r.decarlo at larc.nasa.gov
Wed May 11 09:05:55 EDT 2005
Hi,
I'm trying for the first time to compile gdal with MinGW under Win2K. I
think I've got all the required MinGW packages, but the build is failing
with these messages:
make[1]: Entering directory `/s/OSG/gdal/port'
/bin/sh.exe ../libtool --mode=compile g++ -Wall -O2 -I../port -c -o
cpl_vsil_unix_stdio_64.o cpl_vsil_unix_stdio_64.cpp
g++ -Wall -O2 -I../port -c cpl_vsil_unix_stdio_64.cpp -DDLL_EXPORT
-DPIC -o .libs/cpl_vsil_unix_stdio_64.o
cpl_vsil_unix_stdio_64.cpp: In function `int VSIStat(const char*,
VSIStatBuf*)':
cpl_vsil_unix_stdio_64.cpp:175: error: `stat64' undeclared (first use
this function)
cpl_vsil_unix_stdio_64.cpp:175: error: (Each undeclared identifier is
reported only once for each function it appears in.)
make[1]: *** [cpl_vsil_unix_stdio_64.o] Error 1
make[1]: Leaving directory `/s/OSG/gdal/port'
make: *** [port-target] Error 2
I suspect I'm missing something in the include path, but I thought the
./configure should have picked up all the appropriate stuff.
Can anyone give me more info about the proper setup of mingw for gdal?
Thanks,
Thom
--
Thom DeCarlo
-------------------------------------------------------
I know the Voices aren't REAL.
But, sometimes they have good ideas!
More information about the Gdal-dev
mailing list