[QGIS-Developer] Problem with building QGIS on Windows
Szymon Ślęczka
szymonsleczka7 at gmail.com
Mon Dec 12 04:42:00 PST 2022
I'm still getting error like
C:\OSGeo4W\qgis\ms-windows\osgeo4w>configonly.bat
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.11.20
** Copyright (c) 2021 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
BEGIN: 12.12.2022 13:39:35,40
CMAKE: 12.12.2022 13:39:35,49
CMake Error at CMakeLists.txt:12 (cmake_policy):
Policy "CMP0094" is not known to this version of CMake.
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19044.
-- The C compiler identification is MSVC 19.0.24215.1
-- The CXX compiler identification is MSVC 19.0.24215.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual
Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual
Studio 14.0/VC/bin/x86_amd64/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 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual
Studio 14.0/VC/bin/x86_amd64/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.29.0 Master (32900)
-- Looking for CL_VERSION_2_2
-- Looking for CL_VERSION_2_2 - found
-- Found OpenCL: C:/OSGeo4W/lib/opencl.lib (found version "2.2")
-- Found OpenCL C++ headers: C:/OSGeo4W/include
-- Could not find GRASS 7
-- Could not find GRASS 8
-- Found ODBC: odbc32.lib
-- Found FLEX: C:/cygwin64/bin/flex.exe (found suitable version "2.6.4",
minimum required is "2.6")
-- Found BISON: C:/cygwin64/bin/bison.exe (found version "3.8.2")
CMake Error at cmake/FindProj.cmake:70 (FILE):
FILE failed to open for reading (No such file or directory):
C:/OSGeo4W/apps/proj-dev/include/proj_api.h
Call Stack (most recent call first):
CMakeLists.txt:354 (find_package)
-- Found Proj: C:/OSGeo4W/apps/proj-dev/lib/proj.lib version (..)
-- Found GEOS: C:/OSGeo4W/lib/geos_c.lib ()
-- Found GDAL: C:/OSGeo4W/apps/gdal-dev/lib/gdal_i.lib (3.7.0dev-c57259edd5)
-- Found Expat: C:/OSGeo4W/lib/libexpat.lib
-- Found Spatialindex: C:/OSGeo4W/lib/spatialindex-64.lib
-- Found LibZip: C:/OSGeo4W/lib/zip.lib
-- Found libzip: C:/OSGeo4W/lib/zip.lib
-- Found Sqlite3: C:/OSGeo4W/lib/sqlite3_i.lib
-- Found Protobuf: C:/OSGeo4W/lib/libprotobuf.lib (found version "3.13.0")
-- Found Protobuf: C:/OSGeo4W/lib/libprotobuf.lib
-- Found ZLIB: C:/OSGeo4W/lib/zlib.lib (found version "1.2.12")
-- Found zlib: C:/OSGeo4W/lib/zlib.lib
-- Found exiv2: C:/OSGeo4W/lib/exiv2.lib
-- Could NOT find PostgreSQL (missing: PostgreSQL_TYPE_INCLUDE_DIR) (found
version "14.3")
-- Found PostgreSQL: C:/OSGeo4W/lib/libpq.lib
-- Found SpatiaLite: C:/OSGeo4W/lib/spatialite_i.lib
-- Qt WebKit support enabled
-- Using embedded laz-perf
-- Found ZSTD: C:/OSGeo4W/lib/zstd.lib
-- Found ZSTD: C:/OSGeo4W/lib/zstd.lib
-- Found Qt version: 5.15.3
-- Found QScintilla2: C:/OSGeo4W/apps/Qt5/lib/qscintilla2.lib (2.13.1)
-- Found QtKeychain: C:/OSGeo4W/apps/Qt5/lib/qt5keychain.lib
-- Found QCA: C:\OSGeo4W\apps\Qt5\lib\qca-qt5.lib (2.3.1)
-- Pedantic compiler settings enabled
-- Debug output enabled
-- Found GSL: C:/OSGeo4W/lib/gsl.lib;C:/OSGeo4W/lib/cblas.lib
-- Found Python: C:/OSGeo4W/bin/python3.exe (found suitable version
"3.9.5", minimum required is "3.7") found components: Interpreter
Development
-- Found Python executable: C:/OSGeo4W/bin/python3.exe (version 3.9.5)
-- Python library: C:/OSGeo4W/apps/Python39/libs/python39.lib
-- Python site-packages: C:\OSGeo4W\apps\Python39\Lib\site-packages
-- Found SIP version: 6.1.1
-- Found PyQt5 version: 5.15.4
-- Found QScintilla2 PyQt module: 2.13.1
-- git marker, but no git found - version will be unknown
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed
-- Performing Test COMPILER_HAS_DEPRECATED
-- Performing Test COMPILER_HAS_DEPRECATED - Success
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Found HDF5: hdf5-shared (found version "1.10.7")
-- Found PkgConfig: C:/cygwin64/bin/pkg-config (found version "")
-- Found NetCDF: C:/OSGeo4W/lib/netcdf.lib
-- Found LibXml2: C:/OSGeo4W/lib/libxml2.lib (found version "2.9.10")
-- Found OCI: C:/OSGeo4W/lib/oci.lib
-- Found FCGI: C:/OSGeo4W/lib/libfcgi.lib
-- Using PROJ >= 6 srs database.
-- Ctest Binary Directory set to:
C:/OSGeo4W/qgis/ms-windows/osgeo4w/build-qgis-test-x86_64/output/bin
CMake Error: The following variables are used in this project, but they are
set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake
files:
C:/OSGeo4W/qgis/src/gui/QWT_INCLUDE_DIR
used as include directory in directory C:/OSGeo4W/qgis/src/gui
QWT_INCLUDE_DIR
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory C:/OSGeo4W/qgis/python
used as include directory in directory
C:/OSGeo4W/qgis/tests/src/3d/sandbox
used as include directory in directory
C:/OSGeo4W/qgis/tests/src/3d/sandbox
used as include directory in directory
C:/OSGeo4W/qgis/tests/src/3d/sandbox
used as include directory in directory
C:/OSGeo4W/qgis/tests/src/3d/sandbox
-- Configuring incomplete, errors occurred!
See also
"C:/OSGeo4W/qgis/ms-windows/osgeo4w/build-qgis-test-x86_64/CMakeFiles/CMakeOutput.log".
See also
"C:/OSGeo4W/qgis/ms-windows/osgeo4w/build-qgis-test-x86_64/CMakeFiles/CMakeError.log".
cmake failed
BUILD ERROR 1: 12.12.2022 13:39:58,16
On Sun, Dec 11, 2022 at 4:37 PM Jürgen E. Fischer via QGIS-Developer <
qgis-developer at lists.osgeo.org> wrote:
> Hi Szymon,
>
> On Sat, 10. Dec 2022 at 21:22:38 +0100, Szymon Ślęczka via QGIS-Developer
> wrote:
> > I want to build QGIS on Windows.
>
> The package recipes are on
> https://github.com/jef-n/OSGeo4W/tree/master/src/qgis/osgeo4w
>
>
> Jürgen
>
> --
> Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
> Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
> Software Engineer D-26506 Norden
> https://www.norbit.de
> QGIS release manager (PSC) Germany IRC: jef on Libera|OFTC
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20221212/c6e780d4/attachment-0001.htm>
More information about the QGIS-Developer
mailing list