[QGIS-Developer] Could not find gdal309.lib

Paul N surveykshak at gmail.com
Mon Jun 10 07:31:37 PDT 2024


Hi,

I am trying to compile QGIS 3.36 release code and during cmake
configuration I am getting the following error.

---------------------------------------------------------------------------------------------------------------------------

CMake Error at C:/OSGeo4W/apps/gdal/lib/cmake/gdal/GDAL-targets.cmake:83
(message):
The imported target "GDAL::GDAL" references the file

"C:/OSGeo4W/apps/gdal/lib/gdal309.lib"

but this file does not exist. Possible reasons include:

* The file was deleted, renamed, or moved to another location.

* An install or uninstall procedure did not complete successfully.

* The installation package was faulty and contained

"C:/OSGeo4W/apps/gdal/lib/cmake/gdal/GDAL-targets.cmake"

but not all the files it references.

Call Stack (most recent call first):
C:/OSGeo4W/apps/gdal/lib/cmake/gdal/GDALConfig.cmake:20 (include)
cmake/FindGDAL.cmake:16 (find_package)
CMakeLists.txt:365 (find_package)


-------------------------------------------------------------------------------------------------------------------------------

Is there any code error. There is not gdal309.lib at path
"C:/OSGeo4W/apps/gdal/lib.


Regards

Paul N
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20240610/e35456f5/attachment-0001.htm>


More information about the QGIS-Developer mailing list