./../src/1.35.1-3e0a7e503c.clean/src/mfxloader.cpp:82:9: warning: "VERSION" redefined
82 | #define VERSION(major, minor) {{minor, major}}
| ^~~~~~~
<command-line>: note: this is the location of the previous definition
./../src/1.35.1-3e0a7e503c.clean/src/mfxparser.cpp: In function ‘std::string MFX::printCodecId(mfxU32)’:
./../src/1.35.1-3e0a7e503c.clean/src/mfxparser.cpp:60:3: error: ‘uint8_t’ was not declared in this scope
60 | uint8_t* data = reinterpret_cast<uint8_t*>(&id);
| ^~~~~~~
./../src/1.35.1-3e0a7e503c.clean/src/mfxparser.cpp:29:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
28 | #include "mfxloader.h"
+++ |+#include <cstdint>
29 |
./../src/1.35.1-3e0a7e503c.clean/src/mfxparser.cpp:60:12: error: ‘data’ was not declared in this scope; did you mean ‘std::data’?
60 | uint8_t* data = reinterpret_cast<uint8_t*>(&id);
| ^~~~
| std::data
In file included from /usr/include/c++/14/list:64,
from ./../src/1.35.1-3e0a7e503c.clean/src/mfxparser.cpp:26:
/usr/include/c++/14/bits/range_access.h:344:5: note: ‘std::data’ declared here
344 | data(initializer_list<_Tp> __il) noexcept
| ^~~~
./../src/1.35.1-3e0a7e503c.clean/src/mfxparser.cpp:60:36: error: ‘uint8_t’ does not name a type
60 | uint8_t* data = reinterpret_cast<uint8_t*>(&id);
| ^~~~~~~
./../src/1.35.1-3e0a7e503c.clean/src/mfxparser.cpp:60:36: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./../src/1.35.1-3e0a7e503c.clean/src/mfxparser.cpp:60:43: error: expected ‘>’ before ‘*’ token
60 | uint8_t* data = reinterpret_cast<uint8_t*>(&id);
| ^
./../src/1.35.1-3e0a7e503c.clean/src/mfxparser.cpp:60:43: error: expected ‘(’ before ‘*’ token
60 | uint8_t* data = reinterpret_cast<uint8_t*>(&id);
| ^
| (
./../src/1.35.1-3e0a7e503c.clean/src/mfxparser.cpp:60:44: error: expected primary-expression before ‘>’ token
60 | uint8_t* data = reinterpret_cast<uint8_t*>(&id);
| ^
./../src/1.35.1-3e0a7e503c.clean/src/mfxparser.cpp:60:50: error: expected ‘)’ before ‘;’ token
60 | uint8_t* data = reinterpret_cast<uint8_t*>(&id);
| ^
| )
make: *** [Makefile:722: src/libmfx_la-mfxparser.lo] Error 1
make: *** Waiting for unfinished jobs....
Package: mfx-dispatch:x64-linux@1.35.1#4
Host Environment
vcpkg-scripts version: 64f3d3d 2025-03-27 (4 hours ago)
To Reproduce
vcpkg install mfx-dispatchFailure logs
/home/thomas/vcpkg/buildtrees/mfx-dispatch/build-x64-linux-dbg-err.log
/home/thomas/vcpkg/buildtrees/mfx-dispatch/build-x64-linux-dbg-out.log