[GRASS-dev] Testing the new ZSTD raster compression - was: Re: GRASS GIS raster files: LZW compression?
Helmut Kudrnovsky
hellik at web.de
Fri Dec 8 10:30:39 PST 2017
Markus Neteler wrote
> Hi,
>
> (subject renamed for clarity, original thread:
> part 1:
> https://lists.osgeo.org/pipermail/grass-dev/2017-October/thread.html#86395
> part 2:
> https://lists.osgeo.org/pipermail/grass-dev/2017-December/086738.html
> )
after little testing, I succeed to compile winGRASS with ZSTD-support ;-)
Fri Dec 8 19:10:32 CET 2017: STARTING dll.to.a
[...]
/c/OSGeo4W64/bin/libzstd.dll => mswindows/osgeo4w/lib/libzstd
* [C:/OSGeo4W64/bin/libzstd.dll] Found PE+ image
[...]
checking host system type... x86_64-w64-mingw32
checking for gcc... gcc
[...]
checking whether to use zstd... yes
checking for location of zstd includes...
checking for zstd.h... yes
checking for location of zstd library...
checking for ZSTD_compress in -lzstd... yes
[...]
GRASS is now configured for: x86_64-w64-mingw32
Source directory: /usr/src/grass_trunk
Build directory: /usr/src/grass_trunk
Installation directory: ${prefix}/grass-7.5.svn
Startup script in directory:/c/OSGeo4W64/bin
C compiler: gcc -g -O2
C++ compiler: c++ -g -O2
Building shared libraries: yes
OpenGL platform: Windows
MacOSX application: no
MacOSX architectures:
MacOSX SDK:
BLAS support: no
BZIP2 support: yes
C++ support: yes
Cairo support: yes
DWG support: no
FFTW support: yes
FreeType support: yes
GDAL support: yes
GEOS support: yes
LAPACK support: no
Large File support (LFS): yes
libLAS support: yes
MySQL support: no
NetCDF support: no
NLS support: yes
ODBC support: yes
OGR support: yes
OpenCL support: no
OpenGL support: yes
OpenMP support: no
PDAL support: no
PNG support: yes
POSIX thread support: no
PostgreSQL support: yes
Readline support: no
Regex support: yes
SQLite support: yes
TIFF support: yes
X11 support: no
Zstandard support: yes <=
:-)
steps:
- compiled zstd-1.3.2 in MSYS2 (other possibility would be to use the
precompiled zstd-binaries from the zstd project)
- added manually exe and dll and the header of zstd to the OSGeo4W-tree
- adapted grass_trunk\mswindows\osgeo4w\package.sh
that's all.
all what would be needed is to include zstd into the OSGeo4W tree. will open
a ticket there.
-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html
More information about the grass-dev
mailing list