windows - cygnetcdf-13.dll 的问题需要在 Cygwin 中使用新版本的 CDO
问题描述
我在使用最新版本的 CDO 时遇到问题,例如 CDO-1.9.7.1。当我尝试在 Windows 10 中将任何 CDO 运算符与 Cygwin 一起使用时出现:“加载共享库时出错:cygnetcdf-13.dll:无法打开共享对象文件:没有这样的文件或目录”
我对旧版本的 CDO (<= CDO-1.9.5) 没有任何问题。
有谁知道如何修复它并在带有 Cygwin 的 Windows 10 中使用新版本的 CDO 或 Windows 中的其他 shell 选项?
非常感谢你!
解决方案
使用 cygcheck 找到合适的包:
$ cygcheck -p cygnetcdf-13.dll
Found 4 matches for cygnetcdf-13.dll
libnetcdf13-4.6.0-1 - libnetcdf13: NetCDF (network Common Data Form)
libnetcdf13-4.6.1-1 - libnetcdf13: NetCDF (network Common Data Form)
libnetcdf13-4.6.1-2 - libnetcdf13: NetCDF (network Common Data Form)
netcdf-debuginfo-4.6.1-2 - netcdf-debuginfo: Debug info for netcdf
所以你需要安装libnetcdf13
包。
如果您需要查看它需要哪些程序,则在
https://cygwin.com/packages/summary/libnetcdf13.html
depends: cygwin, libcurl4, libgcc1 (x86), libhdf5_101, libhdf5hl_100
推荐阅读
- r - R:glm 中的起始值到底是什么以及如何指定?
- javascript - 在响应 onclick 中重定向到 index.html 文件
- typescript - TypeScript:如何使用变量推断类型在类之外定义另一个具有相同类型的变量
- c++ - 如何从 C++ 头文件中导出函数
- html - 如何将 html 表格行中的数据发送到后端
- java - 如何使用 UI 本地时间格式从晚上 10 点到上午 9 点禁用按钮并显示警报对话框
- verilog - 在 Verilog 中如何将 1'b1 添加到 8 位 reg 中?
- android - Qt/Android/CMake:未考虑自定义 AndroidManifest.xml
- kubernetes - Kubernetes 容器从其他容器中抓取变量
- swift - 你可以在消失时为 SwiftUI 视图设置动画吗?