h5py buildroot
时间: 2023-09-12 18:03:04 浏览: 41
To build h5py on Buildroot, you can follow these steps:
1. Add h5py package to your Buildroot configuration file (usually named `defconfig` or `config`):
```
BR2_PACKAGE_H5PY=y
```
2. Rebuild your Buildroot system:
```
make
```
3. Once Buildroot has finished building, you can find the h5py package in the output directory (`output/target/`).
4. To use h5py in your application, you will need to link against the h5py library and include its header files. You can do this by adding the appropriate flags to your build system.
Note that h5py depends on the HDF5 library, which is also available in Buildroot (`BR2_PACKAGE_HDF5`), so you will need to ensure that this library is also included in your configuration.