[QGIS-Developer] QGIS (release-3_22) compilation

rnathreddy at sanasw.com rnathreddy at sanasw.com
Sun Dec 12 17:31:21 PST 2021


Hi,

 

Trying to compile the qgis (release-3_22 branch) with MSVC 2015 on Windows
10 (64 bit version). 

 

When I run the configonly.bat file I am getting the following errors:

 

E:\QGIS\ms-windows\osgeo4w\build-qgis-test-x86_64\CMakeFiles\CMakeTmp\src.cx
x(1): error C2065: '__deprecated__': undeclared identifier
[E:\QGIS\ms-windows\osgeo4w\build-qgis-test-x86_64\CMakeFiles\CMakeTmp\cmTC_
7bce4.vcxproj]

E:\QGIS\ms-windows\osgeo4w\build-qgis-test-x86_64\CMakeFiles\CMakeTmp\src.cx
x(1): error C4430: missing type specifier - int assumed. Note: C++ does not
support default-int
[E:\QGIS\ms-windows\osgeo4w\build-qgis-test-x86_64\CMakeFiles\CMakeTmp\cmTC_
7bce4.vcxproj]

E:\QGIS\ms-windows\osgeo4w\build-qgis-test-x86_64\CMakeFiles\CMakeTmp\src.cx
x(1): error C2448: '__attribute__': function-style initializer appears to be
a function definition
[E:\QGIS\ms-windows\osgeo4w\build-qgis-test-x86_64\CMakeFiles\CMakeTmp\cmTC_
7bce4.vcxproj]

Done Building Project
"E:\QGIS\ms-windows\osgeo4w\build-qgis-test-x86_64\CMakeFiles\CMakeTmp\cmTC_
7bce4.vcxproj" (default targets) -- FAILED.

 

The CMake error log is also attached.

 

Can anyone help me in this regard?

 

Regards

Raghunath

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20211213/3376f0de/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeError.log
Type: application/octet-stream
Size: 7435 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20211213/3376f0de/attachment.obj>


More information about the QGIS-Developer mailing list