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

Hi,

I just installed Grass 7 via osgeo4w on W7 64 bits and got this error after pressing “Start Grass”.

3d view mode: grass_g3d.7.0.svn not found
Grass module g.region not found. Unable to star map display window

What’s causing this?

Thanks
Filipe

On Sun, Sep 30, 2012 at 2:29 PM, Filipe Dias <filipesdias@gmail.com> wrote:

Hi,

I just installed Grass 7 via osgeo4w on W7 64 bits and got this error after pressing “Start Grass”.

3d view mode: grass_g3d.7.0.svn not found
Grass module g.region not found. Unable to star map display window

What’s causing this?

Thanks
Filipe

On Sun, Sep 30, 2012 at 3:29 PM, Filipe Dias <filipesdias@gmail.com> wrote:

Hi,

I just installed Grass 7 via osgeo4w on W7 64 bits and got this error after
pressing "Start Grass".

3d view mode: grass_g3d.7.0.svn not found
Grass module g.region not found. Unable to star map display window

The package is coming from here:
http://wingrass.fsv.cvut.cz/grass70/osgeo4w/

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
...

Someone having a local Windows compile environment will need
to run "make" within the directory and check for the error. The
other errors will be mainly subsequent errors.

Markus

Hi,

Sorry for my ignorance on the subject, but what do you mean by " run “make” within the directory and check for the error" ?

Meanwhile I tried reinstalling and uninstall/install Grass 7 and I still get the same error. If its a local problem shouldn’t that have solved the problem?

Thanks

Best regards
F.

On Mon, Oct 1, 2012 at 6:41 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Sun, Sep 30, 2012 at 3:29 PM, Filipe Dias <filipesdias@gmail.com> wrote:

Hi,

I just installed Grass 7 via osgeo4w on W7 64 bits and got this error after
pressing “Start Grass”.

3d view mode: grass_g3d.7.0.svn not found
Grass module g.region not found. Unable to star map display window

The package is coming from here:
http://wingrass.fsv.cvut.cz/grass70/osgeo4w/

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

Someone having a local Windows compile environment will need
to run “make” within the directory and check for the error. The
other errors will be mainly subsequent errors.

Markus

On Mon, Oct 1, 2012 at 10:41 PM, Filipe Dias <filipesdias@gmail.com> wrote:

Hi,

Sorry for my ignorance on the subject, but what do you mean by " run "make"
within the directory and check for the error" ?

It means that a person who is doing local winGRASS compilation
on his/her computer, may please check for the issue. That requires
a development environment (i.e. compiler and more) on the machine
as outlined here:

http://trac.osgeo.org/grass/wiki/CompileOnWindows

Meanwhile I tried reinstalling and uninstall/install Grass 7 and I still get
the same error. If its a local problem shouldn't that have solved the
problem?

Unfortunately not. We recently made some changes in the XDR
support (needed to get GRASS 7 compiled for Android) in the raster3D
library which apparently does not compile on Windows.

We'll sort it out soon, I hope.

Markus

Hi,

2012/10/1 Markus Neteler <neteler@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)
doubleio.c:12: error: (Each undeclared identifier is reported only once
doubleio.c:12: error: for each function it appears in.)
doubleio.c:12: error: syntax error before "n"
doubleio.c:29: error: `n' undeclared (first use in this function)
doubleio.c: In function `Rast3d_read_doubles':
doubleio.c:54: error: `u_int' undeclared (first use in this function)
doubleio.c:54: error: syntax error before "n"
doubleio.c:71: error: `n' undeclared (first use in this function)
make[3]: *** [OBJ.i686-pc-mingw32/doubleio.o] Error 1
...

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

On Mon, Oct 1, 2012 at 11:31 PM, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

2012/10/1 Markus Neteler <neteler@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

On Sun, Sep 30, 2012 at 3:29 PM, Filipe Dias <filipesdias@gmail.com> wrote:

Hi,

I just installed Grass 7 via osgeo4w on W7 64 bits and got this error after
pressing "Start Grass".

3d view mode: grass_g3d.7.0.svn not found
Grass module g.region not found. Unable to star map display window

The problem seems to be solved with the recent fix. See

http://wingrass.fsv.cvut.cz/grass70/
--> WinGRASS-7.0.svn-r53301-365-Setup.exe (or later)

Please update from OSGeo4W and let us know if the problem
persists.

Markus

Markus Neteler wrote:

> 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.

There's no need for typedefs. Fixed in r53304.

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

Hi
I just tried to load the latest version and got a different error. Print screen attached

Best regards

On Wed, Oct 3, 2012 at 1:30 PM, Glynn Clements <glynn@gclements.plus.com> wrote:

Markus Neteler wrote:

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.

There’s no need for typedefs. Fixed in r53304.


Glynn Clements <glynn@gclements.plus.com>


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

(attachments)

grass_error2.jpg

I just tried to load the latest version and got a different error. Print

screen attached

it's related to

http://lists.osgeo.org/pipermail/grass-dev/2012-October/060217.html
https://trac.osgeo.org/osgeo4w/ticket/305

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Can-t-load-Grass-7-on-Windows-7-tp5005384p5006739.html
Sent from the Grass - Users mailing list archive at Nabble.com.