[GRASS-dev] recent updates to Vlib break vectors in GRASS 7
William Kyngesburye
woklist at kyngchaos.com
Tue Dec 28 09:29:52 EST 2010
On Dec 28, 2010, at 1:20 AM, Markus Neteler wrote:
> On Tue, Dec 28, 2010 at 6:51 AM, Hamish <hamish_b at yahoo.com> wrote:
>> Michael wrote:
>>> gcc -g -O2 -arch i386 -arch x86_64 -fno-common -I/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-darwin10.5.0/include -I/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-darwin10.5.0/include -D_FILE_OFFSET_BITS=64 -I/Library/Frameworks/GDAL.framework/Versions/1.7/Headers -I/Library/Frameworks/GEOS.framework/Versions/3/unix/include -DPACKAGE=\""grasslibs"\" -I/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-darwin10.5.0/include -I/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-darwin10.5.0/include -o OBJ.i386-apple-darwin10.5.0/open_ogr.o -c open_ogr.c
>>> In file included from open_ogr.c:26:
>>> /Users/Shared/grass_dev/grass70_dev/dist.i386-apple-darwin10.5.0/include/grass/gprojects.h:21:22:
>>> error: proj_api.h: No such file or directory
>>
>> it's not finding the proj4 includes.
>
> On Linux 64bit I have no problems to compile.
It needs the PROJ include dir in the compile command. It'll work on Linux since all includes are in /usr/[local/]include. On OS X it's a separate PROJ framework.
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"Those people who most want to rule people are, ipso-facto, those least suited to do it."
- A rule of the universe, from the HitchHiker's Guide to the Galaxy
More information about the grass-dev
mailing list