[postgis-devel] [PostGIS] #1158: Can't compile under Windows mingw
PostGIS
trac at osgeo.org
Sat Aug 20 20:20:58 PDT 2011
#1158: Can't compile under Windows mingw
---------------------+------------------------------------------------------
Reporter: robe | Owner: strk
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 2.0.0
Component: postgis | Version: trunk
Keywords: |
---------------------+------------------------------------------------------
Comment(by robe):
Okay restarting fixed my out of reserve space error, but the raster test
api problem still exists. If I do this
cd raster/test
make
here is the log of what happens:
{{{
make -C core check
make[1]: Entering directory `/c/projects/postgis/trunk/raster/test/core'
cc -g -O2 -DDLL_EXPORT -DPIC -Wall -Wmissing-prototypes -I../../rt_core
-Ic:/projects/PostGIS/trunk/liblwgeom -I/c/projects/GDAL/rel-trunk/include
-o testapi testapi.c -lm ../../rt_core/librtcore.a
c:/projects/PostGIS/trunk/liblwgeom/.libs/liblwgeom.a -L/c/projects/GDAL
/rel-trunk/lib -lgdal
In file included from ../../rt_core/rt_api.h:90,
from testapi.c:7:
c:/projects/PostGIS/trunk/liblwgeom/liblwgeom.h:23:22: proj_api.h: No such
file or directory
In file included from ../../rt_core/rt_api.h:90,
from testapi.c:7:
c:/projects/PostGIS/trunk/liblwgeom/liblwgeom.h:2190: error: syntax error
before "lwproj_from_string"
c:/projects/PostGIS/trunk/liblwgeom/liblwgeom.h:2190: warning: type
defaults to `int' in declaration of `lwproj_from_string'
c:/projects/PostGIS/trunk/liblwgeom/liblwgeom.h:2190: warning: data
definition has no type or storage class
c:/projects/PostGIS/trunk/liblwgeom/liblwgeom.h:2198: error: syntax error
before "projPJ"
c:/projects/PostGIS/trunk/liblwgeom/liblwgeom.h:2199: error: syntax error
before "projPJ"
make[1]: *** [testapi] Error 1
make[1]: Leaving directory `/c/projects/postgis/trunk/raster/test/core'
make: *** [core-check] Error 2
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1158#comment:48>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list