[Osgeo4w-trac] Re: [osgeo4w] #34: proj: projects.h missing
OSGeo4W
trac_osgeo4w at osgeo.org
Sat Mar 26 14:35:58 EDT 2011
#34: proj: projects.h missing
---------------------+------------------------------------------------------
Reporter: jef | Owner: warmerdam
Type: defect | Status: closed
Priority: minor | Component: Package
Version: | Resolution: fixed
Keywords: pkg-proj |
---------------------+------------------------------------------------------
Comment(by martinl):
OK, anyway when compiling GRASS module `g.region`
http://trac.osgeo.org/grass/browser/grass/trunk/general/g.region/printwindow.c
I getting
{{{
gcc -g -Wall -Werror-implicit-function-declaration -fno-common -Wextra
-Wunused -I/usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/include
-I/usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/include
-I/usr/local/include -I/usr/local/include -DPACKAGE=\""grassmods"\"
-I/usr/local/include -I/usr/local/src/grass_trunk/dist.i686-pc-linux-
gnu/include -I/usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/include -o
OBJ.i686-pc-linux-gnu/printwindow.o -c printwindow.c
In file included from /usr/local/include/projects.h:248:0,
from printwindow.c:5:
/usr/local/include/proj_api.h:61:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or ‘__attribute__’ before ‘*’ token
/usr/local/include/proj_api.h:82:34: error: expected ‘)’ before ‘const’
/usr/local/include/proj_api.h:95:30: error: expected ‘)’ before ‘int’
/usr/local/include/proj_api.h:96:35: error: expected ‘)’ before ‘const’
/usr/local/include/proj_api.h:108:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or ‘__attribute__’ before ‘pj_get_default_ctx’
/usr/local/include/proj_api.h:109:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or ‘__attribute__’ before ‘pj_get_ctx’
/usr/local/include/proj_api.h:110:26: error: expected declaration
specifiers or ‘...’ before ‘projCtx’
/usr/local/include/proj_api.h:111:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or ‘__attribute__’ before ‘pj_ctx_alloc’
/usr/local/include/proj_api.h:114:33: error: expected ‘)’ before ‘int’
/usr/local/include/proj_api.h:115:33: error: expected ‘)’ before ‘int’
/usr/local/include/proj_api.h:116:34: error: expected ‘)’ before ‘void’
/usr/local/include/proj_api.h:117:36: error: expected ‘)’ before ‘void’
/usr/local/include/proj_api.h:120:22: error: expected ‘)’ before ‘ctx’
}}}
--
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/34#comment:11>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer for the OSGeo stack.
More information about the Osgeo4w-trac
mailing list