[QGIS-Developer] QGIS 3.40 build failure in crssync with PROJ 9.7.1 on OSGeo4W

Mehmet DUMAN (UZAY) mehmet.duman at tubitak.gov.tr
Wed Feb 4 13:15:29 PST 2026


 
Hello QGIS developers, 
  
I am building QGIS 3.40 (ltr) from source on Windows using the OSGeo4W development environment and Visual Studio 2022, and I am encountering a build failure in the "synccrsdb" target. 
  
Environment 
  
- QGIS: 3.40 (source build) 
- OS: Windows x64 
- Compiler: Visual Studio 2022 
- Build system: CMake (MSVC generator) 
  
OSGeo4W packages installed 
  
Main development meta-package: 
  
qgis-ltr-deps 
  
Relevant dependency versions: 
  
proj-runtime: 9.7.1 
proj-data: 1.24 
  
Error 
  
The build fails while running "crssync.exe": 
  
Operation needs translation in QgsCoordinateReferenceSystemUtils::translateProjection: spilhaus 
aborted 
  
Visual Studio reports: 
  
synccrsdb.vcxproj 
custom build exited with code -1073740791 
  
Question 
  
Is QGIS 3.40 expected to build correctly with PROJ 9.7.x, or is there a recommended PROJ version range for this release when using OSGeo4W? 
  
Should the qgis-ltr-deps package alone be sufficient to build the QGIS LTR source on Windows? 
If not, what is the recommended dependency set or workflow for building the LTR branch with OSGeo4W? 
  
  
  
Best regards, 
Mehmet Duman 
R&D Engineer 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20260205/b54ff5bc/attachment.htm>


More information about the QGIS-Developer mailing list