[GRASS-user] Can't load Grass 7 on Windows 7

Markus Neteler neteler at osgeo.org
Tue Oct 2 00:02:27 PDT 2012


On Mon, Oct 1, 2012 at 11:31 PM, Martin Landa <landa.martin at gmail.com> wrote:
> Hi,
>
> 2012/10/1 Markus Neteler <neteler at osgeo.org>:
>> In fact, there is a compilation error:
>> http://wingrass.fsv.cvut.cz/grass70/logs/log-r53294-363/error.log
>> --> /osgeo4w/usr/src/grass_trunk/lib/raster3d
>
> see
>
> http://wingrass.fsv.cvut.cz/grass70/logs/log-r53294-363/package.log
>
> ...
> doubleio.c: In function `Rast3d_write_doubles':
> doubleio.c:12: error: `u_int' undeclared (first use in this function)

Apparently MinGW does not define:

typedef unsigned long int ulong;
typedef unsigned short int ushort;
typedef unsigned int uint;

http://sourceforge.net/tracker/index.php?func=detail&aid=2922311&group_id=2435&atid=102435

In R, I see
http://svn.r-project.org/R/trunk/src/extra/xdr/rpc/types.h
#ifndef _GNU_H_WINDOWS32_SOCKETS
typedef unsigned int u_int;
typedef unsigned long u_long;
typedef unsigned short u_short;
#endif

The latter I have submitted in r53301.

Now let's wait for the compile job to happen again (at latest
next European morning).

Markus


More information about the grass-user mailing list