编译 Gem5 时出现警告

发布于 2025-01-18 06:30:14 字数 368 浏览 4 评论 0原文

我正在尝试使用以下命令在 ubuntu 20.04 操作系统上编译 gem5:

scons build/X86/gem5.opt -j8

我收到以下警告: 警告:头文件未找到。 该主机没有 libpng 库。 禁用对 PNG 帧缓冲区的支持。 警告:此编译器不支持已弃用的命名空间。 请务必检查邮件列表是否已弃用 公告。 警告:找不到 HDF5 C++ 库。禁用 HDF5 支持

我尝试了以下解决方案:

sudo apt-get install libhdf5-dev

sudo apt-get install libpng-dev

然后尝试使用相同的构建命令再次编译 gem5,但仍然收到相同的警告

i am trying to compile gem5 on ubuntu 20.04 OS using below command:

scons build/X86/gem5.opt -j8

i got below warning:
Warning: Header file <png.h> not found.
This host has no libpng library.
Disabling support for PNG framebuffers.
Warning: Deprecated namespaces are not supported by this compiler.
Please make sure to check the mailing list for deprecation
announcements.
Warning: Couldn't find HDF5 C++ libraries. Disabling HDF5 support

i tried below solutions:

sudo apt-get install libhdf5-dev

sudo apt-get install libpng-dev

then tried to compile gem5 again with same build command, but still getting the same warnings

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文