如何使用Luarocks安装特定版本的HDF5?

OS: Linux Ubuntu Server 18.04

我使用luarocks install hdf5安装了hdf5,但出现以下错误:

/lua/5.1/hdf5/ffi.lua:71: 不支持的 HDF5 版本:1.10.0

我该如何安装特定的低版本,例如1.8.16

点赞
用户7078805
用户7078805

我遇到了 luasocket 的问题。 因此,我安装了特定版本,使用以下命令

luarocks install luasocket 3.0rc1

注意:请先卸载原有版本。

或者

您可以通过 git 获取最新版本

https://peter.colberg.org/lua-hdf5/install#installing-from-git

2020-11-23 16:11:01