-
-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] loading ctypes fails on Windows #2288
Comments
I just tried with the new GRASS 8.3 (and 8.0) in OSGeo4W, and there this seems to work fine... |
Similar error during compilation GRASS GIS Addons (OS MS Windows) on CVUT university server e.g.
and etc. |
Seems there are some errors during compilation MS Windows GRASS GIS version on CVUT university server:
Full compilation log. Full error log. |
WinGRASS-8.3.dev-56986425a-1-Setup.exe standalone installer.
|
WinGRASS-8.3.dev-56986425a-1-Setup.exe standalone installer with installed Important Microsoft Runtime DLLs. It seems libgrass_vector.8.3.dll has missing gdal304.dll and this is reason why libgrass_vector.8.3.dll isn't loaded via Python ctypes (error mention above). IEUser@MSEDGEWIN10 MSYS /c/Program Files/GRASS GIS 8.3/lib
$ ldd libgrass_vector.8.3.dll | grep "not found"
gdal304.dll => not found but gdal304.dll path is Then I copy gdal304.dll into IEUser@MSEDGEWIN10 MSYS /c/Program Files/GRASS GIS 8.3/lib
$ ldd libgrass_vector.8.3.dll | grep gdal
gdal304.dll => /c/Program Files/GRASS GIS 8.3/lib/gdal304.dll (0x7ffec2ab0000) but gdal304.dll has missing dll dependency too. IEUser@MSEDGEWIN10 MSYS /c/Program Files/GRASS GIS 8.3/extrabin
$ ldd gdal304.dll | grep "not found"
jpeg.dll => not found
api-ms-win-crt-runtime-l1-1-0.dll => not found
api-ms-win-crt-string-l1-1-0.dll => not found
api-ms-win-crt-stdio-l1-1-0.dll => not found
api-ms-win-crt-utility-l1-1-0.dll => not found
api-ms-win-crt-convert-l1-1-0.dll => not found
api-ms-win-crt-time-l1-1-0.dll => not found
api-ms-win-crt-heap-l1-1-0.dll => not found
api-ms-win-crt-environment-l1-1-0.dll => not found
api-ms-win-crt-locale-l1-1-0.dll => not found
api-ms-win-crt-math-l1-1-0.dll => not found
api-ms-win-crt-filesystem-l1-1-0.dll => not found gdal305.dll has all dll dependency. IEUser@MSEDGEWIN10 MSYS /c/Program Files/GRASS GIS 8.3/extrabin
$ ldd gdal305.dll | grep "not found" If I copy this gdal305.dll into |
Maybe OSGeo4W on the build server is not updated / cleaned? Latest GDAL runtime in OSGeo4W is 305 (there is no 304)... All thre version of GRASS GIS (7.8, 8.2, 8.3) in OSGeo4W start nicely... And the CI builds work fine as well... |
WinGRASS is compiled/builded on CVUT server, I can't check it because I don't have access to it. Could @neteler inform @landam about this issue and #2497, please?
Maybe would be good, start transform compiling/building process of WinGRAS into GitHub CI, if it is technically possible. |
Yes, this should be a midterm Target. |
Perhaps related to PR #1212? |
The error still persists: wx.metadata addon comilation log (generated Sat, 29 Apr 2023 16:01:21) error:
|
IIRC, there was recently a GDAL update in OSGeo4W. Maybe the build environment is not updated yet. |
This seems like a couple different issues from different periods. Please, create a new issue to help clarify the current situation. |
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):
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:
The text was updated successfully, but these errors were encountered: