Skip to content

Add cstdint header to resolve build issue with gcc-15 #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yktyagi
Copy link

@yktyagi yktyagi commented May 12, 2025

Following build issue is observed when building libvpl-tools in yocto project with gcc-15

| /poky_master/build/tmp/work/corei7-64-poky-linux/libvpl-tools/1.4.0/git/tools/legacy/sample_vpp/src/sample_vpp_frc_adv.cpp: In member function 'virtual mfxStatus FRCAdvancedChecker::Init(mfxVideoParam*, mfxU32)':
| /poky_master/build/tmp/work/corei7-64-poky-linux/libvpl-tools/1.4.0/git/tools/legacy/sample_vpp/src/sample_vpp_frc_adv.cpp:60:11: error: 'uint64_t' was not declared in this scope
| 60 | ((uint64_t)m_videoParam.vpp.In.FrameRateExtD * (uint64_t)MFX_TIME_STAMP_FREQUENCY) /
| | ^~~~~~~~
| /poky_master/build/tmp/work/corei7-64-poky-linux/libvpl-tools/1.4.0/git/tools/legacy/sample_vpp/src/sample_vpp_frc_adv.cpp:11:1: note: 'uint64_t' is defined in header ''; this is probably fixable by adding '#include '
| 10 | #include "vm/strings_defs.h"
| +++ |+#include
| 11 |
| /poky_master/build/tmp/work/corei7-64-poky-linux/libvpl-tools/1.4.0/git/tools/legacy/sample_vpp/src/sample_vpp_frc_adv.cpp:60:20: error: expected ')' before 'm_videoParam'
| 60 | ((uint64_t)m_videoParam.vpp.In.FrameRateExtD * (uint64_t)MFX_TIME_STAMP_FREQUENCY) /
| | ~ ^~~~~~~~~~~~
| | )

@Nowa-Ammerlaan
Copy link

Works for me, backporting into Gentoo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants