[GRASS-dev] [GRASS-user] WinGRASS build up (WIP)

Pedro Venâncio pedrongvenancio at gmail.com
Wed Nov 13 06:26:54 PST 2019


Hi all again,

I've tested GRASS standalone and I got the same error with
WinGRASS-7.8.1-1-Setup-x86_64.

Then I uninstalled this version and installed WinGRASS-7.8.0-2-Setup-x86_64
and everything worked fine.

So, it seems that there is something wrong with GRASS-7.8.1 in my machine.
Also when running algorithms in CLI, GRASS throws the message about
gdal300.dll, but that dll is present in the path specified (screenshot
attached).

Any hint about what can be wrong?

Thanks.

Best regards,
Pedro




Pedro Venâncio <pedrongvenancio  gmail.com> escreveu no dia terça,
12/11/2019 à(s) 15:02:

> Hi Martin,
>
> Hum, it can be related, because starting GRASS with
>
> grass --text
>
> and then
>
> v.buffer
>
> I get a windows message saying that the gdal300.dll is missing. However, I
> have a gdal300.dll file in OSGeoW folder: C:\OSGeo4W64\bin.
>
> GRASS config gives:
>
> C:\>grass78 --config
> x86_64-w64-mingw32
> ./configure  --host=x86_64-w64-mingw32 '--with-libs=C:\\OS3944~1/lib'
> --with-includes=/c/OSGeo4W64/include --libexecdir=/c/OSGeo4W64/bin
> --prefix=/c/OSGeo4W64/apps/grass --bindir=/c/OSGeo4W64/bin
> --includedir=/c/OSGeo4W64/include --without-x --with-cxx --enable-shared
> --enable-largefile --with-fftw --with-freetype
> --with-freetype-includes=/mingw64/include/freetype2
> --with-proj-share=/c/OSGeo4W64/share/proj
> --with-proj-includes=/c/OSGeo4W64/include
> --with-proj-libs=/usr/src/grass781/mswindows/osgeo4w/lib --with-postgres
> --with-postgres-includes=/c/OSGeo4W64/include
> --with-postgres-libs=/usr/src/grass781/mswindows/osgeo4w/lib
> --with-gdal=/usr/src/grass781/mswindows/osgeo4w/gdal-config
> --with-geos=/usr/src/grass781/mswindows/osgeo4w/geos-config --with-sqlite
> --with-sqlite-includes=/c/OSGeo4W64/include
> --with-sqlite-libs=/usr/src/grass781/mswindows/osgeo4w/lib --with-regex
> --with-nls --with-zstd --with-odbc --with-cairo --with-opengl=windows
> --with-bzlib --with-liblas=/usr/src/grass781/mswindows/osgeo4w/liblas-config
> gcc
> C:\OSGEO4~1\apps\grass\grass78
> Traceback (most recent call last):
>   File "C:\OSGEO4~1\apps\grass\grass78\etc\grass78.py", line 2025, in main
>     index = sys.argv.index(batch_exec_param)
> ValueError: '--exec' is not in list
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>   File "C:\OSGEO4~1\apps\grass\grass78\etc\grass78.py", line 2216, in
> <module>
>     main()
>   File "C:\OSGEO4~1\apps\grass\grass78\etc\grass78.py", line 2030, in main
>     params = parse_cmdline(sys.argv[1:], default_gui=default_gui)
>   File "C:\OSGEO4~1\apps\grass\grass78\etc\grass78.py", line 1951, in
> parse_cmdline
>     print_params()
>   File "C:\OSGEO4~1\apps\grass\grass78\etc\grass78.py", line 1862, in
> print_params
>     "%s\n" % val[0].split(':')[1].rstrip('$"\n').strip())
> IndexError: list index out of range
> Press any key to continue . . .
>
>
>
> Martin Landa <landa.martin  gmail.com> escreveu no dia terça, 12/11/2019
> à(s) 14:26:
>
>> Hi,
>>
>> út 12. 11. 2019 v 15:14 odesílatel Pedro Venâncio
>> <pedrongvenancio  gmail.com> napsal:
>> > GDAL version: 3.1.0dev
>> > GEOS version: 3.8.0-CAPI-1.13.1
>> > PROJ version: Rel. 7.0.0, March 1st, 2020
>>
>> it's probably unrelated, but GRASS 7.8.1 is compiled with GDAL 3.0 and
>> PROJ 6.0.
>>
>> Ma
>>
>> --
>> Martin Landa
>> http://geo.fsv.cvut.cz/gwiki/Landa
>> http://gismentors.cz/mentors/landa
>>
>
-------------- próxima parte ----------
Um anexo em HTML foi limpo...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20191113/b7f06d75/attachment-0001.html>
-------------- próxima parte ----------
A non-text attachment was scrubbed...
Name: grass_781_dll_error.jpg
Type: image/jpeg
Size: 62585 bytes
Desc: não disponível
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20191113/b7f06d75/attachment-0001.jpg>


More information about the grass-dev mailing list