[postgis-devel] [PostGIS] #925: [raster] ST_Transform

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Thu Jun 9 14:19:32 PDT 2011


> What error are you getting with compiling GDAL 1.8 and trunk.  I was having
> problems before, but they seemed to magically disappear.

libtool: compile:  g++ -g -O2 -Wall -DOGR_ENABLED -I/c/thesrc/gdal/gdal18/port -
DHAVE_LIBZ -c cpl_vsil_win32.cpp  -DDLL_EXPORT -DPIC -o .libs/cpl_vsil_win32.o
cpl_vsil_win32.cpp: In member function `virtual int VSIWin32FilesystemHandler::S
tat(const char*, VSIStatBuf*, int)':
cpl_vsil_win32.cpp:444: error: `VSI_STAT64' was not declared in this scope
cpl_vsil_win32.cpp:444: warning: unused variable 'VSI_STAT64'
make[1]: *** [cpl_vsil_win32.lo] Error 1
make[1]: Leaving directory `/c/thesrc/gdal/gdal18/port'
make: *** [port-target] Error 2

> You might want to give it another try if you haven't recently.  Ilike I mentioend, I
> was even able to compile trunk without using the --without-libtool switch.

This is the 1.8 branch.

>  As far as the other issue with GDAL -- tried to swap out my mingw with the
> VC++ (and all dependencies I downloaded, but raster didn't like it at all).
> I may have missed a dependency though.

The issue I have is with PROJ as well. I really don't understand. 

My next try will be to tell GDAL to link with it statically with --with-static-proj

Pierre



More information about the postgis-devel mailing list