[GRASS-dev] Make/Configure Issue using Eclipse/Windows

Glynn Clements glynn at gclements.plus.com
Wed May 14 14:12:08 EDT 2008


peter.loewe at gmx.de wrote:

> I am trying to get GRASS compiled in a Eclipse/CDT environment on a Windows machine.
> The approach includes wrapping the "configure / make /make install" -process in an ant file and works very well behaved on linux boxes.
> 
> On a windows box (using msys) "something" is going wrong regarding the header files. This is the first error produced by make, the follow-up errors are similar:
> 
> 
> 
>      [exec] gcc
>      -I/d/Nutzer/ploewe/workspace/neo63/dist.i686-pc-mingw32/include
>      -IC:\msys\1.0\local\include -g -O2 -IC:\msys\1.0\local\include
>      -DPACKAGE=\""grasslibs"\" -D_FILE_OFFSET_BITS=64
>      -DPACKAGE=\""grasslibs"\"
>      -I/d/Nutzer/ploewe/workspace/neo63/dist.i686-pc-mingw32/include
>      -o OBJ.i686-pc-mingw32/auto_mask.o -c auto_mask.c
>      [exec] In file included from auto_mask.c:17:
>      [exec] G.h:2:23: rpc/types.h: No such file or directory
>      [exec] G.h:3:21: rpc/xdr.h: No such file or directory
>      [exec] In file included from auto_mask.c:17:
>      [exec] G.h:42: error: syntax error before "XDR"
>      [exec] G.h:42: warning: no semicolon at end of struct or union
>      [exec] G.h:47: error: syntax error before '}' token
>      [exec] make[3]: *** [OBJ.i686-pc-mingw32/auto_mask.o] Error 1
> 
> The GRASS sources have been downloaded from the SVN, so all files are available. 
> 
> Suggestions, anyone ?

Did you perform this step:

	http://www.webalice.it/marco.pasetti/grass/BuildFromSource.html#Xdr

I.e. does C:\msys\1.0\local\include\rpc\ exist?

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list