Xilinx / XRT

Run Time for AIE and FPGA based platforms
https://xilinx.github.io/XRT
Other
559 stars 473 forks source link

Ubuntu build failure: please include stdint.h header #8289

Closed vpa1977 closed 4 months ago

vpa1977 commented 4 months ago

xilinx-runtime fails to build in Ubuntu Oracular Oriole[1] due to the undefined fixed-width integers:

/<<PKGBUILDDIR>>/src/runtime_src/core/edge/common/aie_parser.h:87:3: error: ‘uint32_t’ does not name a type
   87 |   uint32_t        id;

Would it be possible to include stdint.h that defines those types?

NB. C++ alternative is cstdint, but the standard says that it must define std::, e.g. std::uint32_t.

[1] https://launchpadlibrarian.net/738901615/buildlog_ubuntu-oracular-arm64.xilinx-runtime_2.8.743-0ubuntu10_BUILDING.txt.gz

vpa1977 commented 4 months ago

Done in commit 8964124b8809060236f377fa449420d2d361f812