[GRASS-user] Compiling winGRASS with OSGEO4w- #2

Hi Luisa,

Hi,
Back again with this issue. Thanks Helmut and Antonio for your help but so
far I haven't manage to compile GRASS using OSGEO4W. (and it seems that
neither Antonio)
Since Glynn told me that I might have some issues with newer versions I
decided to use older versions of prebuilt and MinGW packages.

[...]

Ok So the problem now is: libgrass_rowio.dll. How can I debug this dll and
How can I create it? And what might be happening?
This was a HUGE IMPROVE :slight_smile:

Thank you
Luisa

I've done a completly new installation of my osgeo4w-installation on my WinVista32-box to get the latest osgeo4w-setup and followed the
wiki (http://trac.osgeo.org/grass/wiki/CompileOnWindows#Pre-builtBinaries) for installing
all dependencies, prebuilt libraries and utilities etc.

I've choosen the way with TortoiseSVN to get a completly new svn-checkout at revision 42566
(see the wiki B) Graphical user interface based:
Alternatively, get TortoiseSVN, a plugin for Windows
Explorer, which can be used for managing the local source tree.) in C:\OSGeo4W\usr\src\grass64svn.

I can't reproduce your error, Grass64 is compiling fine and I'm able to start Grass64 in
C:\OSGeo4W\apps\grass\bin (in the osgeo4w-msys-shell) by grass64 -wx.

so I would suggest a completely new setup of the compiling-environment following the
wiki (http://trac.osgeo.org/grass/wiki/CompileOnWindows).

maybe there was any error in the setup of the compiling-environment.

HTH
Helmut
___________________________________________________________
WEB.DE DSL ab 19,99 Euro/Monat. Bis zu 150,- Euro Startguthaben und
50,- Euro Geldprämie inklusive! https://freundschaftswerbung.web.de

Hello Helmut

I’ve done a completly new installation of my osgeo4w-installation on my WinVista32-box to get the latest osgeo4w-setup and followed the
wiki (http://trac.osgeo.org/grass/wiki/CompileOnWindows#Pre-builtBinaries) for installing
all dependencies, prebuilt libraries and utilities etc.

Did you installed the prebuilts and libraries that are linked in there or did you used updates?
And regarding: Temp bugfix (see here), what did you do with that?

I’ve choosen the way with TortoiseSVN to get a completly new svn-checkout at revision 42566
(see the wiki B) Graphical user interface based:
Alternatively, get TortoiseSVN, a plugin for Windows
Explorer, which can be used for managing the local source tree.) in C:\OSGeo4W\usr\src\grass64svn.

I can’t reproduce your error, Grass64 is compiling fine and I’m able to start Grass64 in
C:\OSGeo4W\apps\grass\bin (in the osgeo4w-msys-shell) by grass64 -wx.

Well, it compiled except those 3 functions…

so I would suggest a completely new setup of the compiling-environment following the
wiki (http://trac.osgeo.org/grass/wiki/CompileOnWindows).

as you saw all my steps were the same… Exacly the same…
And for instance, without changing anything, it goes from no compilation to compile with an error in a certain DLL.
One question, I have that DLL from winGRASS installation. can I use that DLL in order to compile my code?

HTH
Helmut


WEB.DE DSL ab 19,99 Euro/Monat. Bis zu 150,- Euro Startguthaben und
50,- Euro Geldprämie inklusive! https://freundschaftswerbung.web.de

Hi Luisa,

---------------------
Von: "Luisa Peña"
Gesendet: 16.06.2010 11:49:45
An: Helmut Kudrnovsky ,GRASS user list
Betreff: Re: Compiling winGRASS with OSGEO4w- #2

Hello Helmut

I've done a completly new installation of my osgeo4w-installation on my WinVista32-box to get the latest osgeo4w-setup and followed the

wiki ([http://trac.osgeo.org/grass/wiki/CompileOnWindows#Pre-builtBinaries]) for installing
all dependencies, prebuilt libraries and utilities etc.

Did you installed the prebuilts and libraries that are linked in there or did you used updates?
And regarding: Temp bugfix (see [ here]), what did you do with that?

I've installed the linked ones.

there were several bug-reports for WinVista/Win7 and the old msys, delivered by osgeo4 or linked in the wiki.

because I prepare from time to time the WinGrass-installer for download from the grass.osgeo.org-site,
I'm using the msys-files mentioned in the trac-ticket 118
(http://downloads.sourceforge.net/project/mingw/MSYS%20Base%20System/msys-1.0.11/msysCORE-1.0.11-bin.tar.gz)

I've choosen the way with TortoiseSVN to get a completly new svn-checkout at revision 42566

(see the wiki B) Graphical user interface based:
Alternatively, get TortoiseSVN, a plugin for Windows
Explorer, which can be used for managing the local source tree.) in C:\OSGeo4W\usr\src\grass64svn.

I can't reproduce your error, Grass64 is compiling fine and I'm able to start Grass64 in

C:\OSGeo4W\apps\grass\bin (in the osgeo4w-msys-shell) by grass64 -wx.

Well, it compiled except those 3 functions...

so I would suggest a completely new setup of the compiling-environment following the

wiki ([http://trac.osgeo.org/grass/wiki/CompileOnWindows\]).

as you saw all my steps were the same... Exacly the same...

And for instance, without changing anything, it goes from no compilation to compile with an error in a certain DLL.
One question, I have that DLL from winGRASS installation. can I use that DLL in order to compile my code?

HTH
Helmut
___________________________________________________________
[WEB.DE] DSL ab 19,99 Euro/Monat. Bis zu 150,- Euro Startguthaben und
50,- Euro Geldprämie inklusive! [https://freundschaftswerbung.web.de]
___________________________________________________________
WEB.DE DSL ab 19,99 Euro/Monat. Bis zu 150,- Euro Startguthaben und
50,- Euro Geldprämie inklusive! https://freundschaftswerbung.web.de

Hi Helmut and List

Helmut I also installed that msysCORE update that is linked in Wiki. I only didn’t installed the Temp_bugfix since it was no package only a ticket :slight_smile:
So I don’t know what can I do to fix this. I’m running in Windows XP. Maybe I was not suppose to install msysCORE-1.0.11-bin?

  • Just one question: this missing dll, I have it a WinGRASSbinarySNAPSHOT installation. can I use it?

  • I needed to test with r.example… What MODULE_TOPDIR should I define to compile r.example? (command: make -C r.example MODULE_TOPDIR= )

If anyone has an idea of what package should I try to fix this error please let me know

Thanks
Luisa

2010/6/16 Helmut Kudrnovsky <hellik@web.de>

Hi Luisa,


Von: “Luisa Peña”
Gesendet: 16.06.2010 11:49:45
An: Helmut Kudrnovsky ,GRASS user list
Betreff: Re: Compiling winGRASS with OSGEO4w- #2

Hello Helmut

I’ve done a completly new installation of my osgeo4w-installation on my WinVista32-box to get the latest osgeo4w-setup and followed the
wiki ([http://trac.osgeo.org/grass/wiki/CompileOnWindows#Pre-builtBinaries]) for installing
all dependencies, prebuilt libraries and utilities etc.

Did you installed the prebuilts and libraries that are linked in there or did you used updates?
And regarding: Temp bugfix (see [ here]), what did you do with that?

I’ve installed the linked ones.

there were several bug-reports for WinVista/Win7 and the old msys, delivered by osgeo4 or linked in the wiki.

because I prepare from time to time the WinGrass-installer for download from the grass.osgeo.org-site,
I’m using the msys-files mentioned in the trac-ticket 118
(http://downloads.sourceforge.net/project/mingw/MSYS%20Base%20System/msys-1.0.11/msysCORE-1.0.11-bin.tar.gz)

I’ve choosen the way with TortoiseSVN to get a completly new svn-checkout at revision 42566
(see the wiki B) Graphical user interface based:
Alternatively, get TortoiseSVN, a plugin for Windows
Explorer, which can be used for managing the local source tree.) in C:\OSGeo4W\usr\src\grass64svn.

I can’t reproduce your error, Grass64 is compiling fine and I’m able to start Grass64 in
C:\OSGeo4W\apps\grass\bin (in the osgeo4w-msys-shell) by grass64 -wx.

Well, it compiled except those 3 functions…

so I would suggest a completely new setup of the compiling-environment following the
wiki ([http://trac.osgeo.org/grass/wiki/CompileOnWindows]).

as you saw all my steps were the same… Exacly the same…
And for instance, without changing anything, it goes from no compilation to compile with an error in a certain DLL.
One question, I have that DLL from winGRASS installation. can I use that DLL in order to compile my code?

HTH
Helmut


[WEB.DE] DSL ab 19,99 Euro/Monat. Bis zu 150,- Euro Startguthaben und

50,- Euro Geldprämie inklusive! [https://freundschaftswerbung.web.de]


WEB.DE DSL ab 19,99 Euro/Monat. Bis zu 150,- Euro Startguthaben und
50,- Euro Geldprämie inklusive! https://freundschaftswerbung.web.de

Hi,

2010/6/16 Luisa Peña <luisapena1979@gmail.com>:

Helmut I also installed that msysCORE update that is linked in Wiki. I only
didn't installed the Temp_bugfix since it was no package only a ticket :slight_smile:
So I don't know what can I do to fix this. I'm running in Windows XP. Maybe
I was not suppose to install msysCORE-1.0.11-bin?
- Just one question: this missing dll, I have it a WinGRASSbinarySNAPSHOT
installation. can I use it?

- I needed to test with r.example... What MODULE_TOPDIR should I define to
compile r.example? (command: make -C r.example MODULE_TOPDIR= <DIR>)
If anyone has an idea of what package should I try to fix this error please
let me know

BTW, what version of make are you using?

make --version

Martin

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

Martin, I’m using:

GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i686-pc-msys

2010/6/18 Martin Landa <landa.martin@gmail.com>

Hi,

2010/6/16 Luisa Peña <luisapena1979@gmail.com>:

Helmut I also installed that msysCORE update that is linked in Wiki. I only
didn’t installed the Temp_bugfix since it was no package only a ticket :slight_smile:
So I don’t know what can I do to fix this. I’m running in Windows XP. Maybe
I was not suppose to install msysCORE-1.0.11-bin?

  • Just one question: this missing dll, I have it a WinGRASSbinarySNAPSHOT
    installation. can I use it?

  • I needed to test with r.example… What MODULE_TOPDIR should I define to
    compile r.example? (command: make -C r.example MODULE_TOPDIR= )
    If anyone has an idea of what package should I try to fix this error please
    let me know

BTW, what version of make are you using?

make --version

Martin


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