Skip to content

GCD 7.7.1.0 Fails to Import DEMs Due to GDAL Initialization Error #482

@Twalker30

Description

@Twalker30

Summary
I am unable to import any DEMs into GCD Standalone 7.7.1.0. The software fails before opening the raster and returns a GDAL initialization error.
The issue occurs immediately when attempting to add a DEM to a project and appears unrelated to the DEM file itself.
System Information
• GCD Version: 7.7.1.0
• Installation Method: Microsoft Store
• Operating System: Windows 11
• Windows Version: 10.0.26200.0
• Processor Architecture: AMD64 (64-bit)
Error Message
The type initializer for 'GCDConsoleLib.GdalConfiguration' threw an exception.
The type initializer for 'OSGeo.GDAL.GdalPINVOKE' threw an exception.
The type initializer for 'SWIGExceptionHelper' threw an exception.
Unable to load DLL 'gdal_wrap': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Full stack trace:
The type initializer for 'GCDConsoleLib.GdalConfiguration' threw an exception.
at GCDConsoleLib.GdalConfiguration.ConfigureGdal()
at GCDConsoleLib.Raster.Open(Boolean write)
at GCDConsoleLib.Raster._initfromfile()
at GCDConsoleLib.GISDataset.get_Proj()
at GCDCore.UserInterface.SurveyLibrary.GISDatasetValidation.DSHasSpatialRef()
at GCDCore.UserInterface.SurveyLibrary.frmImportRaster.PrepareToImportRaster()
at GCDCore.UserInterface.Project.TreeNodeTypes.DEMSurveysGroup.OnAdd()
Troubleshooting Performed
Environment Variables
Checked both User and System Environment Variables.
No GDAL-related variables are present:
• GDAL_DATA
• GDAL_DRIVER_PATH
• PROJ_LIB
PATH Variables
Reviewed User and System PATH variables.
No entries were found for:
• QGIS
• OSGeo4W
• Anaconda
• Miniconda
• GDAL
• Other GIS software that might create GDAL conflicts
Verification of GDAL Installation Files
The following files exist within the GCD installation:
C:\Program Files\WindowsApps
NorthArrowResearchLtd.GCD_7.7.1.0_neutral__1rs5a4rynrdme
GCDStandalone\lib
Confirmed present:
• gdal_wrap.dll
• gdal202.dll
• ogr_wrap.dll
• osr_wrap.dll
• proj.dll
• geos.dll
• geos_c.dll
Verification of GDAL Data Files
The following GDAL data files are present in:
...\GCDStandalone\lib\data
Examples:
• gcs.csv
• pcs.csv
• compdcs.csv
• gdal_datum.csv
• ozi_datum.csv
• ozi_ellips.csv
Application Structure
The installation contains both x64 and x86 folders. Both appear to contain only SQLite.Interop.dll and no additional GDAL binaries.
Additional Notes
• This is the first time GCD has been run on this machine.
• The issue occurs before any DEM is opened.
• Because the GDAL DLLs and GDAL data files are present, the error appears to be related to GDAL runtime initialization, dependency loading, or Microsoft Store packaging rather than the DEM file itself.
Request
Could you please advise whether:
1. There is a known issue with the Microsoft Store release of GCD 7.7.1.0.
2. Additional runtime dependencies are required on Windows 11 build 26200.
3. There are any recommended diagnostics for identifying which dependency of gdal_wrap.dll is failing to load.
Thank you for your assistance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions