gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Missing HDF5 libraries

RK
Robert Kingsly
Sat, Nov 11, 2023 7:09 AM

While building gem5 for x86, get the following warning. Wondering how can it be resolved?

scons: done building targets.*** Summary of Warnings ***Warning: Header file <png.h> not found.         This host has no libpng library.         Disabling support for PNG framebuffers.Warning: Couldn't find HDF5 C++ libraries. Disabling HDF5 support.

regardsRobert K

While building gem5 for x86, get the following warning. Wondering how can it be resolved? ---------------------------------------------------------------------------------------------------------- scons: done building targets.*** Summary of Warnings ***Warning: Header file <png.h> not found.         This host has no libpng library.         Disabling support for PNG framebuffers.Warning: Couldn't find HDF5 C++ libraries. Disabling HDF5 support. ----------------------------------------------------------------------------------------------------------- regardsRobert K
B
bbruce@ucdavis.edu
Mon, Nov 13, 2023 2:03 PM

It can be resolved by installing the libraries that are missing. How you do so will different depending on your host system. However, these are just warnings, not errors. gem5 is still usable for the vast majority of cases without these libraries. These warnings simply exist to inform the users that certain niche features are disabled as libraries necessary for them to work cannot be found.

If gem5 is working for you, don’t worry about it.

It can be resolved by installing the libraries that are missing. How you do so will different depending on your host system. However, these are just warnings, not errors. gem5 is still usable for the vast majority of cases without these libraries. These warnings simply exist to inform the users that certain niche features are disabled as libraries necessary for them to work cannot be found. If gem5 is working for you, don’t worry about it.