Closed luhaopei closed 7 months ago
Can you tell what compiler do you use?
Can you tell what compiler do you use?
Sorry for replying so late My Ubuntu gcc version:13.2.0 g++ version: 13.2.0
Thanks for response!
Ubuntu22.04 uses gcc-11 by default. I can see there are errors when compiling using gcc-12 that is available in Ubuntu22.04 as well. Similar issues with missing includes. I will add a new patch for it, because there are new changes in main branch
The issues has been fixed in https://github.com/intel/linux-npu-driver/pull/25
thank you
systemos:Ubuntu 22.04
error 1: linux-npu-driver/umd/vpu_driver/include/umd_common.hpp:39:33: error: ‘uint64_t’ does not name a type 39 | if (x > static_cast(std::numeric_limits::max())) {
| ^’; did you forget to ‘#include ’?
~~~ linux-npu-driver/umd/vpu_driver/include/umd_common.hpp:13:1: note: ‘uint64_t’ is defined in header ‘error 2: linux-npu-driver/umd/level_zero_driver/ext/source/graph/vcl_symbols.hpp:99:33: error: field ‘compilerNames’ has incomplete type ‘std::array<const char, 2>’ 99 | std::array<const char , 2> compilerNames = {libvpux_driver_compiler.so, | ^
~~~~