Skip to content

[Bug] loading ctypes fails on Windows #2288

@petrasovaa

Description

@petrasovaa

Describe the bug
I installed latest 8.1.dev standalone installer (checked the checkbox to install the microsoft libraries) and I GUI starts but with error because the grass.lib.* imports fail. So 3D view or digitizer don't work.

To Reproduce
It seems not all installations have the same problem.

System description (please complete the following information):

  • Operating System: Windows 10 Education
  • GRASS GIS version: latest main
GRASS version: 8.1.dev                                                          
Code revision: 5561ffe04                                                        
Build date: 2022-03-30                                                          
Build platform: x86_64-w64-mingw32                                              
GDAL: 3.4.2                                                                     
PROJ: 9.0.0                                                                     
GEOS: 3.10.2                                                                    
SQLite: 3.38.1                                                                  
Python: 3.9.5                                                                   
wxPython: 4.1.1                                                                 
Platform: Windows-10-10.0.19042-SP0 

Additional context
I tried to understand this little more and it seems it can find the file (e.g. lib/grasslib_raster.8.1.dll) but in Lookup class I get:

[WinError 127] The specified procedure could not be found

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwindowsMicrosoft Windows specific

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions