[QGIS-Developer] ZSTD missing while compiling QGis

Uhrig, Stefan stefan.uhrig at sap.com
Thu Mar 18 11:39:48 PDT 2021


Hi Peter,

There is a zstd-devel package in the OSGeo4W setup. You can install it to resolve the issue.

Best regards,
Stefan

From: QGIS-Developer <qgis-developer-bounces at lists.osgeo.org> On Behalf Of peter.steibert at t-online.de
Sent: Thursday, March 18, 2021 5:32 PM
To: qgis-developer at lists.osgeo.org
Subject: [QGIS-Developer] ZSTD missing while compiling QGis

Hello,

i am just trying to compile the QGis project. At the moment I am executing configonly.bat with the following output:

**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.9.17
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
BEGIN: 18.03.2021 17:01:32,56
CMAKE: 18.03.2021 17:01:32,58
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19042.
-- The C compiler identification is MSVC 19.16.27034.0
-- The CXX compiler identification is MSVC 19.16.27034.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- QGIS version: 3.19.0 Master (31900)
-- Looking for CL_VERSION_2_2
-- Looking for CL_VERSION_2_2 - found
-- Found OpenCL: C:/OSGeo4W64/lib/opencl.lib (found version "2.2")
-- Found OpenCL C++ headers: C:/OSGeo4W64/include
-- Found GRASS 7: C:/OSGeo4W64/apps/grass/grass78 (7.8.5, off_t size = 8)
-- Found ODBC: odbc32.lib
-- Found Proj: C:/OSGeo4W64/apps/proj-dev/lib/proj.lib version 8 (8.1.0)
-- Found GEOS: C:/OSGeo4W64/lib/geos_c.lib (3.8.1)
-- Found GDAL: C:/OSGeo4W64/apps/gdal-dev/lib/gdal_i.lib (3.3.0dev)
-- Found Expat: C:/OSGeo4W64/lib/expat.lib
-- Found Spatialindex: C:/OSGeo4W64/lib/spatialindex-64.lib
-- Found Qwt: C:/OSGeo4W64/apps/Qt5/lib/qwt.lib (6.1.3)
-- Found LibZip: C:/OSGeo4W64/lib/zip.lib
-- Found libzip: C:/OSGeo4W64/lib/zip.lib
-- Found Sqlite3: C:/OSGeo4W64/lib/sqlite3_i.lib
-- Found Protobuf: C:/OSGeo4W64/lib/libprotobuf.lib (found version "3.11.4")
-- Found Protobuf: C:/OSGeo4W64/lib/libprotobuf.lib
-- Found ZLIB: C:/OSGeo4W64/lib/zlib.lib (found version "1.2.8")
-- Found zlib: C:/OSGeo4W64/lib/zlib.lib
-- Found PostgreSQL: C:/OSGeo4W64/lib/libpq.lib
-- Found SpatiaLite: C:/OSGeo4W64/lib/spatialite_i.lib
-- Qt WebKit support enabled
-- Could NOT find ZSTD (missing: ZSTD_LIBRARY ZSTD_INCLUDE_DIR)
CMake Error at CMakeLists.txt:414 (message):
  ZSTD not found - EPT provider cannot be built


-- Configuring incomplete, errors occurred!
See also "C:/OCI/QGIS-master2/QGIS-master/ms-windows/osgeo4w/build-qgis-test-x86_64/CMakeFiles/CMakeOutput.log".
cmake failed
BUILD ERROR 1: 18.03.2021 17:01:40,43


How can i get ZSTD and achieve that it is detected by configonly.bat?

Thanks in advance
Peter

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20210318/b175bd9e/attachment-0001.html>


More information about the QGIS-Developer mailing list