Hello,
I am not able to compile HailoRT from source on my PC with Hailo8 M.2 accelerator. I have compiled the hailo-pcie driver and below are the information about all the necessary dependencies to install the hailoRT:
hap@fedora:~$ gcc --version
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
Copyright (C) 2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
hap@fedora:~$ make --version
GNU Make 4.4.1
Built for x86_64-redhat-linux-gnu
Copyright (C) 1988-2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
hap@fedora:~$ cmake --version
cmake version 3.31.6
CMake suite maintained and supported by Kitware (kitware.com/cmake).
hap@fedora:~$ rpm -q kernel-devel kernel-headers
kernel-devel-6.15.6-200.fc42.x86_64
kernel-headers-6.15.3-200.fc42.x86_64
hap@fedora:~$ uname -r
6.15.6-200.fc42.x86_64
hap@fedora:~$ lspci | grep Hailo
02:00.0 Co-processor: Hailo Technologies Ltd. Hailo-8 AI Processor (rev 01)
hap@fedora:~$ lsmod | grep hailo
hailo_pci 192512 0
hap@fedora:~$ ls -l /lib/firmware/hailo/hailo8_fw.bin
-rw-r–r–. 1 hap hap 164560 Jul 13 11:56 /lib/firmware/hailo/hailo8_fw.bin
I am trying to compile the HailoRT v4.22.0 (same version downloaded from github rep ) from https://hailo.ai/developer-zone/documentation/hailort-v4-22-0/?sp_referrer=install/install.html. and following the instruction from the section - " Compiling HailoRT from Sources" and I get the following output :
hap@fedora:~/Software/hailort$ cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && sudo cmake --build build --config release --target install -DHAILO_BUILD_EXAMPLES=1
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the … syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
– The C compiler identification is GNU 15.1.1
– The CXX compiler identification is GNU 15.1.1
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: /usr/bin/cc - skipped
– Detecting C compile features
– Detecting C compile features - done
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Check for working CXX compiler: /usr/bin/c++ - skipped
– Detecting CXX compile features
– Detecting CXX compile features - done
CMake Deprecation Warning at hailort/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the … syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
CMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(protobuf) is deprecated, call
FetchContent_MakeAvailable(protobuf) instead. Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(protobuf) to be called directly for now,
but the ability to call it with declared details will be removed completely
in a future version.
Call Stack (most recent call first):
hailort/cmake/external/protobuf.cmake:17 (FetchContent_Populate)
hailort/CMakeLists.txt:47 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
– Building protobuf::protoc…
CMake Deprecation Warning at hailort/cmake/execute_cmake.cmake:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the … syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
Call Stack (most recent call first):
hailort/cmake/external/protobuf.cmake:20 (include)
hailort/CMakeLists.txt:47 (include)
CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the … syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
In file included from /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.cc:35:
In member function ‘void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = bool]’,
inlined from ‘void google::protobuf::RepeatedField< >::CopyArray(Element*, const Element*, int) [with Element = bool]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:996:37,
inlined from ‘void google::protobuf::RepeatedField< >::MoveArray(Element*, Element*, int) [with Element = bool]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:990:12,
inlined from ‘void google::protobuf::RepeatedField< >::Reserve(int) [with Element = bool]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:971:14,
inlined from ‘google::protobuf::RepeatedField< >::RepeatedField(const google::protobuf::RepeatedField< >&) [with Element = bool]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:532:12:
/home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:1011:11: warning: ‘void* memcpy(void*, const void*, size_t)’ reading between 1 and 2147483647 bytes from a region of size 0 [-Wstringop-overread]
1011 | memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
In copy constructor ‘google::protobuf::RepeatedField< >::RepeatedField(const google::protobuf::RepeatedField< >&) [with Element = bool]’:
cc1plus: note: source object is likely at address zero
In member function ‘void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = int]’,
inlined from ‘void google::protobuf::RepeatedField< >::CopyArray(Element*, const Element*, int) [with Element = int]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:996:37,
inlined from ‘void google::protobuf::RepeatedField< >::MoveArray(Element*, Element*, int) [with Element = int]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:990:12,
inlined from ‘void google::protobuf::RepeatedField< >::Reserve(int) [with Element = int]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:971:14,
inlined from ‘google::protobuf::RepeatedField< >::RepeatedField(const google::protobuf::RepeatedField< >&) [with Element = int]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:532:12:
/home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:1011:11: warning: ‘void* memcpy(void*, const void*, size_t)’ reading between 4 and 8589934588 bytes from a region of size 0 [-Wstringop-overread]
1011 | memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
In copy constructor ‘google::protobuf::RepeatedField< >::RepeatedField(const google::protobuf::RepeatedField< >&) [with Element = int]’:
cc1plus: note: source object is likely at address zero
In member function ‘void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = unsigned int]’,
inlined from ‘void google::protobuf::RepeatedField< >::CopyArray(Element*, const Element*, int) [with Element = unsigned int]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:996:37,
inlined from ‘void google::protobuf::RepeatedField< >::MoveArray(Element*, Element*, int) [with Element = unsigned int]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:990:12,
inlined from ‘void google::protobuf::RepeatedField< >::Reserve(int) [with Element = unsigned int]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:971:14,
inlined from ‘google::protobuf::RepeatedField< >::RepeatedField(const google::protobuf::RepeatedField< >&) [with Element = unsigned int]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:532:12:
/home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:1011:11: warning: ‘void* memcpy(void*, const void*, size_t)’ reading between 4 and 8589934588 bytes from a region of size 0 [-Wstringop-overread]
1011 | memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
In copy constructor ‘google::protobuf::RepeatedField< >::RepeatedField(const google::protobuf::RepeatedField< >&) [with Element = unsigned int]’:
cc1plus: note: source object is likely at address zero
In member function ‘void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = long int]’,
inlined from ‘void google::protobuf::RepeatedField< >::CopyArray(Element*, const Element*, int) [with Element = long int]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:996:37,
inlined from ‘void google::protobuf::RepeatedField< >::MoveArray(Element*, Element*, int) [with Element = long int]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:990:12,
inlined from ‘void google::protobuf::RepeatedField< >::Reserve(int) [with Element = long int]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:971:14,
inlined from ‘google::protobuf::RepeatedField< >::RepeatedField(const google::protobuf::RepeatedField< >&) [with Element = long int]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:532:12:
/home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:1011:11: warning: ‘void* memcpy(void*, const void*, size_t)’ reading between 8 and 17179869176 bytes from a region of size 0 [-Wstringop-overread]
1011 | memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
In copy constructor ‘google::protobuf::RepeatedField< >::RepeatedField(const google::protobuf::RepeatedField< >&) [with Element = long int]’:
cc1plus: note: source object is likely at address zero
In member function ‘void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = long unsigned int]’,
inlined from ‘void google::protobuf::RepeatedField< >::CopyArray(Element*, const Element*, int) [with Element = long unsigned int]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:996:37,
inlined from ‘void google::protobuf::RepeatedField< >::MoveArray(Element*, Element*, int) [with Element = long unsigned int]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:990:12,
inlined from ‘void google::protobuf::RepeatedField< >::Reserve(int) [with Element = long unsigned int]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:971:14,
inlined from ‘google::protobuf::RepeatedField< >::RepeatedField(const google::protobuf::RepeatedField< >&) [with Element = long unsigned int]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:532:12:
/home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:1011:11: warning: ‘void* memcpy(void*, const void*, size_t)’ reading between 8 and 17179869176 bytes from a region of size 0 [-Wstringop-overread]
1011 | memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
In copy constructor ‘google::protobuf::RepeatedField< >::RepeatedField(const google::protobuf::RepeatedField< >&) [with Element = long unsigned int]’:
cc1plus: note: source object is likely at address zero
In member function ‘void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = float]’,
inlined from ‘void google::protobuf::RepeatedField< >::CopyArray(Element*, const Element*, int) [with Element = float]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:996:37,
inlined from ‘void google::protobuf::RepeatedField< >::MoveArray(Element*, Element*, int) [with Element = float]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:990:12,
inlined from ‘void google::protobuf::RepeatedField< >::Reserve(int) [with Element = float]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:971:14,
inlined from ‘google::protobuf::RepeatedField< >::RepeatedField(const google::protobuf::RepeatedField< >&) [with Element = float]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:532:12:
/home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:1011:11: warning: ‘void* memcpy(void*, const void*, size_t)’ reading between 4 and 8589934588 bytes from a region of size 0 [-Wstringop-overread]
1011 | memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
.
.
.
.
.
.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
In copy constructor ‘google::protobuf::RepeatedField< >::RepeatedField(const google::protobuf::RepeatedField< >&) [with Element = long unsigned int]’:
cc1plus: note: source object is likely at address zero
In member function ‘void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = float]’,
inlined from ‘void google::protobuf::RepeatedField< >::CopyArray(Element*, const Element*, int) [with Element = float]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:996:37,
inlined from ‘void google::protobuf::RepeatedField< >::MoveArray(Element*, Element*, int) [with Element = float]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:990:12,
inlined from ‘void google::protobuf::RepeatedField< >::Reserve(int) [with Element = float]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:971:14,
inlined from ‘google::protobuf::RepeatedField< >::RepeatedField(const google::protobuf::RepeatedField< >&) [with Element = float]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:532:12:
/home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:1011:11: warning: ‘void* memcpy(void*, const void*, size_t)’ reading between 4 and 8589934588 bytes from a region of size 0 [-Wstringop-overread]
1011 | memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
In copy constructor ‘google::protobuf::RepeatedField< >::RepeatedField(const google::protobuf::RepeatedField< >&) [with Element = float]’:
cc1plus: note: source object is likely at address zero
In member function ‘void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = double]’,
inlined from ‘void google::protobuf::RepeatedField< >::CopyArray(Element*, const Element*, int) [with Element = double]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:996:37,
inlined from ‘void google::protobuf::RepeatedField< >::MoveArray(Element*, Element*, int) [with Element = double]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:990:12,
inlined from ‘void google::protobuf::RepeatedField< >::Reserve(int) [with Element = double]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:971:14,
inlined from ‘google::protobuf::RepeatedField< >::RepeatedField(const google::protobuf::RepeatedField< >&) [with Element = double]’ at /home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:532:12:
/home/hap/Software/hailort/hailort/external/protobuf-src/src/google/protobuf/repeated_field.h:1011:11: warning: ‘void* memcpy(void*, const void*, size_t)’ reading between 8 and 17179869176 bytes from a region of size 0 [-Wstringop-overread]
1011 | memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
In copy constructor ‘google::protobuf::RepeatedField< >::RepeatedField(const google::protobuf::RepeatedField< >&) [with Element = double]’:
cc1plus: note: source object is likely at address zero
CMake Error at hailort/cmake/external/protobuf.cmake:48 (include):
include could not find requested file:
/home/hap/Software/hailort/hailort/external/protobuf-install/lib/cmake/protobuf/protobuf-config.cmake
Call Stack (most recent call first):
hailort/CMakeLists.txt:47 (include)
CMake Error at hailort/cmake/external/protobuf.cmake:49 (include):
include could not find requested file:
/home/hap/Software/hailort/hailort/external/protobuf-install/lib/cmake/protobuf/protobuf-module.cmake
Call Stack (most recent call first):
hailort/CMakeLists.txt:47 (include)
CMake Deprecation Warning at hailort/external/protobuf-src/CMakeLists.txt:2 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the … syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
–
– 3.21.12.0
– Performing Test protobuf_HAVE_LD_VERSION_SCRIPT
– Performing Test protobuf_HAVE_LD_VERSION_SCRIPT - Success
– Performing Test CMAKE_HAVE_LIBC_PTHREAD
– Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
– Found Threads: TRUE
– Performing Test protobuf_HAVE_BUILTIN_ATOMICS
– Performing Test protobuf_HAVE_BUILTIN_ATOMICS - Success
CMake Deprecation Warning at hailort/common/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the … syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
CMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(spdlog) is deprecated, call
FetchContent_MakeAvailable(spdlog) instead. Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(spdlog) to be called directly for now,
but the ability to call it with declared details will be removed completely
in a future version.
Call Stack (most recent call first):
hailort/cmake/external/spdlog.cmake:17 (FetchContent_Populate)
hailort/common/CMakeLists.txt:3 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
– Build spdlog: 1.14.1
– Build type: Release
CMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(readerwriterqueue) is deprecated, call
FetchContent_MakeAvailable(readerwriterqueue) instead. Policy CMP0169 can
be set to OLD to allow FetchContent_Populate(readerwriterqueue) to be
called directly for now, but the ability to call it with declared details
will be removed completely in a future version.
Call Stack (most recent call first):
hailort/cmake/external/readerwriterqueue.cmake:17 (FetchContent_Populate)
hailort/common/CMakeLists.txt:4 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(xxhash) is deprecated, call
FetchContent_MakeAvailable(xxhash) instead. Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(xxhash) to be called directly for now,
but the ability to call it with declared details will be removed completely
in a future version.
Call Stack (most recent call first):
hailort/cmake/external/xxhash.cmake:17 (FetchContent_Populate)
hailort/common/CMakeLists.txt:5 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Deprecation Warning at hailort/cmake/common_compiler_options.cmake:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the … syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
Call Stack (most recent call first):
hailort/common/CMakeLists.txt:6 (include)
CMake Deprecation Warning at hailort/common/os/posix/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the … syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
CMake Deprecation Warning at hailort/common/os/posix/linux/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the … syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
CMake Deprecation Warning at hailort/hrpc/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the … syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
CMake Deprecation Warning at hailort/hrpc_protocol/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the … syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
CMake Error at hailort/hrpc_protocol/CMakeLists.txt:3 (protobuf_generate_cpp):
Unknown CMake command “protobuf_generate_cpp”.
– Configuring incomplete, errors occurred!
#################################################
I tired to fix the cmake minimum error by manually editiing all the cmakelist file and after that the error is :
hap@fedora:~/Software/hailort$ cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && sudo cmake --build build --config release --target install -DHAILO_BUILD_EXAMPLES=1
CMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(protobuf) is deprecated, call
FetchContent_MakeAvailable(protobuf) instead. Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(protobuf) to be called directly for now,
but the ability to call it with declared details will be removed completely
in a future version.
Call Stack (most recent call first):
hailort/cmake/external/protobuf.cmake:17 (FetchContent_Populate)
hailort/CMakeLists.txt:47 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
– Building protobuf::protoc…
CMake Error at hailort/cmake/external/protobuf.cmake:48 (include):
include could not find requested file:
/home/hap/Software/hailort/hailort/external/protobuf-install/lib/cmake/protobuf/protobuf-config.cmake
Call Stack (most recent call first):
hailort/CMakeLists.txt:47 (include)
CMake Error at hailort/cmake/external/protobuf.cmake:49 (include):
include could not find requested file:
/home/hap/Software/hailort/hailort/external/protobuf-install/lib/cmake/protobuf/protobuf-module.cmake
Call Stack (most recent call first):
hailort/CMakeLists.txt:47 (include)
–
– 3.21.12.0
CMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(spdlog) is deprecated, call
FetchContent_MakeAvailable(spdlog) instead. Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(spdlog) to be called directly for now,
but the ability to call it with declared details will be removed completely
in a future version.
Call Stack (most recent call first):
hailort/cmake/external/spdlog.cmake:17 (FetchContent_Populate)
hailort/common/CMakeLists.txt:3 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
– Build spdlog: 1.14.1
– Build type: Release
CMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(readerwriterqueue) is deprecated, call
FetchContent_MakeAvailable(readerwriterqueue) instead. Policy CMP0169 can
be set to OLD to allow FetchContent_Populate(readerwriterqueue) to be
called directly for now, but the ability to call it with declared details
will be removed completely in a future version.
Call Stack (most recent call first):
hailort/cmake/external/readerwriterqueue.cmake:17 (FetchContent_Populate)
hailort/common/CMakeLists.txt:4 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(xxhash) is deprecated, call
FetchContent_MakeAvailable(xxhash) instead. Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(xxhash) to be called directly for now,
but the ability to call it with declared details will be removed completely
in a future version.
Call Stack (most recent call first):
hailort/cmake/external/xxhash.cmake:17 (FetchContent_Populate)
hailort/common/CMakeLists.txt:5 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at hailort/hrpc_protocol/CMakeLists.txt:3 (protobuf_generate_cpp):
Unknown CMake command “protobuf_generate_cpp”.
– Configuring incomplete, errors occurred!
######################
And protoc --version installed is ----->>> libprotoc 3.19.6
I do not want to make any changes to the files. We have 2 hailo-8 M.2 processor and we are unable to complie on the two system. Any help would be appreciated.