I'm having issues installing depthai-gui on my Nvidia Xavier. I have been able to get past all my problems but this one. I had to build lots of libraries: such as QT, PySide2, OpenCV, along with others. I get the following error when running the command:
pip install --extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local/ depthai-gui
I have gotten the depthai_demo.py working.
Error:
Building wheels for collected packages: depthai
Building wheel for depthai (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /home/hlberg/Data/Software/VirtualEnvs/depthai/bin/python /home/hlberg/Data/Software/VirtualEnvs/depthai/lib/python3.6/site-packages/pip/vendor/pep517/in_process.py build_wheel /tmp/tmpiaif2r89
cwd: /tmp/pip-install-snwlf2x0/depthai_261404c7b73349168cca8cc7092c364e
Complete output (424 lines):
running bdist_wheel
running build
running build_ext
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- [hunter] Calculating Toolchain-SHA1
-- [hunter] Calculating Config-SHA1
-- [hunter] HUNTER_ROOT: /home/hlberg/.hunter
-- [hunter] [ Hunter-ID: 062a19a | Toolchain-ID: 08f9145 | Config-ID: a65fa5a ]
-- [hunter] NLOHMANN_JSON_ROOT: /home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install (ver.: 3.9.1)
-- Found nlohmann_json: /home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/lib/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found version "3.9.1")
-- [hunter] XLINK_ROOT: /home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install (ver.: luxonis-2020.2-mx_id_compatible)
-- [hunter] BZIP2_ROOT: /home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install (ver.: 1.0.8-p0)
-- [hunter] FP16_ROOT: /home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install (ver.: 0.0.0-febbb1c-p0)
-- [hunter] LIBARCHIVE_ROOT: /home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install (ver.: 3.4.2-p2)
-- [hunter] SPDLOG_ROOT: /home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install (ver.: 1.8.1)
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Git: /usr/bin/git (found version "2.17.1")
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Performing Test FLAG-Wall
-- Performing Test FLAG-Wall - Success
-- Performing Test FLAG-Wextra
-- Performing Test FLAG-Wextra - Success
-- Performing Test FLAG-Woverloaded-virtual
-- Performing Test FLAG-Woverloaded-virtual - Success
-- Performing Test FLAG-Wformat=2
-- Performing Test FLAG-Wformat=2 - Success
-- Performing Test FLAG-Wmisleading-indentation
-- Performing Test FLAG-Wmisleading-indentation - Success
-- Performing Test FLAG-Wduplicated-cond
-- Performing Test FLAG-Wduplicated-cond - Success
-- Performing Test FLAG-Wduplicated-branches
-- Performing Test FLAG-Wduplicated-branches - Success
-- Performing Test FLAG-Wnull-dereference
-- Performing Test FLAG-Wnull-dereference - Success
-- Performing Test FLAG-Wdouble-promotion
-- Performing Test FLAG-Wdouble-promotion - Success
-- Performing Test FLAG-Wsign-compare
-- Performing Test FLAG-Wsign-compare - Success
-- Performing Test FLAG-Wtype-limits
-- Performing Test FLAG-Wtype-limits - Success
-- Performing Test FLAG-Wno-unused-command-line-argument
-- Performing Test FLAG-Wno-unused-command-line-argument - Failed
-- Performing Test FLAG-Wno-unused-parameter
-- Performing Test FLAG-Wno-unused-parameter - Success
-- Performing Test FLAG-Wno-format-nonliteral
-- Performing Test FLAG-Wno-format-nonliteral - Success
-- Performing Test FLAG-Wno-gnu-zero-variadic-macro-arguments
-- Performing Test FLAG-Wno-gnu-zero-variadic-macro-arguments - Failed
-- Performing Test FLAG-Wself-assign-field
-- Performing Test FLAG-Wself-assign-field - Failed
-- Performing Test FLAG-Werror-unused-lambda-capture
-- Performing Test FLAG-Werror-unused-lambda-capture - Failed
-- Performing Test FLAG-Werror-return-type
-- Performing Test FLAG-Werror-return-type - Failed
-- Performing Test FLAG-Werror-non-virtual-dtor
-- Performing Test FLAG-Werror-non-virtual-dtor - Failed
-- Performing Test FLAG-Werror-sign-compare
-- Performing Test FLAG-Werror-sign-compare - Failed
-- Performing Test FLAG-Werror-reorder
-- Performing Test FLAG-Werror-reorder - Failed
-- Compiling depthai-core resources in PATCH_ONLY mode
-- Downloading Depthai device side binaries from server...
-- Downloading depthai and patch
-- commit:
-- Downloading and checking depthai-device-fwp.tar.xz
-- Downloading depthai bootloader
-- folder: /tmp/pip-install-snwlf2x0/depthai_261404c7b73349168cca8cc7092c364e/build/temp.linux-aarch64-3.6/depthai-core/resources
-- maturity: release
-- commit_version_arg: 0.0.7
-- Downloading and checking depthai-bootloader.cmd
-- LIST OF RESOURCE COMPILED FILES: /tmp/pip-install-snwlf2x0/depthai_261404c7b73349168cca8cc7092c364e/build/temp.linux-aarch64-3.6/depthai-core/resources/depthai-device-fwp-d55d55a15e273298bb94006c6b7bc1a4b31a10a2.tar.xz;/tmp/pip-install-snwlf2x0/depthai_261404c7b73349168cca8cc7092c364e/build/temp.linux-aarch64-3.6/depthai-core/resources/depthai-bootloader-0.0.7.cmd
-- Check for working incbin assembly directive
-- Check for working incbin assembly directive - works
-- ClangFormat: clang-format not found! Target 'clangformat' not available...
-- [hunter] HUNTER_ROOT: /home/hlberg/.hunter
-- [hunter] [ Hunter-ID: 062a19a | Toolchain-ID: 08f9145 | Config-ID: a65fa5a ]
-- [hunter] PYBIND11_ROOT: /home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install (ver.: 2.5.0)
-- Found PythonInterp: /home/hlberg/Data/Software/VirtualEnvs/depthai/bin/python (found version "3.6.9")
-- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython3.6m.so
-- Performing Test HAS_CPP14_FLAG
-- Performing Test HAS_CPP14_FLAG - Success
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- LTO enabled
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/pip-install-snwlf2x0/depthai_261404c7b73349168cca8cc7092c364e/build/temp.linux-aarch64-3.6
[ 3%] Generating depthai-resources resource loader
[ 3%] Generating intermediate file for /tmp/pip-install-snwlf2x0/depthai_261404c7b73349168cca8cc7092c364e/build/temp.linux-aarch64-3.6/depthai-core/resources/depthai-device-fwp-d55d55a15e273298bb94006c6b7bc1a4b31a10a2.tar.xz
[ 5%] Generating intermediate file for /tmp/pip-install-snwlf2x0/depthai_261404c7b73349168cca8cc7092c364e/build/temp.linux-aarch64-3.6/depthai-core/resources/depthai-bootloader-0.0.7.cmd
Scanning dependencies of target depthai-resources
[ 7%] Building CXX object depthai-core/CMakeFiles/depthai-resources.dir/cmrc_depthai-resources/lib.cpp.o
[ 9%] Building CXX object depthai-core/CMakeFiles/depthai-resources.dir/cmrc_depthai-resources/intermediate/depthai-bootloader-0.0.7.cmd.cpp.o
[ 11%] Building CXX object depthai-core/CMakeFiles/depthai-resources.dir/cmrc_depthai-resources/intermediate/depthai-device-fwp-d55d55a15e273298bb94006c6b7bc1a4b31a10a2.tar.xz.cpp.o
[ 13%] Linking CXX static library libdepthai-resources.a
[ 13%] Built target depthai-resources
Scanning dependencies of target depthai-core
[ 15%] Building C object depthai-core/CMakeFiles/depthai-core.dir/shared/depthai-bootloader-shared/src/SBR.c.o
[ 17%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/shared/depthai-shared/src/datatype/DatatypeEnum.cpp.o
[ 19%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/pipeline/datatype/CameraControl.cpp.o
[ 21%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/pipeline/datatype/StreamPacketParser.cpp.o
[ 23%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/device/DataQueue.cpp.o
[ 27%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/pipeline/Node.cpp.o
[ 27%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/pipeline/node/XLinkIn.cpp.o
[ 29%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/device/DeviceBootloader.cpp.o
[ 31%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/pipeline/node/VideoEncoder.cpp.o
[ 33%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/pipeline/AssetManager.cpp.o
[ 37%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/pipeline/datatype/ImgFrame.cpp.o
[ 35%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/pipeline/node/MyProducer.cpp.o
[ 39%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/openvino/OpenVINO.cpp.o
[ 43%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/device/CallbackHandler.cpp.o
[ 43%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/pipeline/datatype/Buffer.cpp.o
[ 45%] Building C object depthai-core/CMakeFiles/depthai-core.dir/src/bspatch/bspatch.c.o
[ 47%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/pipeline/node/NeuralNetwork.cpp.o
[ 49%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/pipeline/node/XLinkOut.cpp.o
[ 50%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/pipeline/node/ColorCamera.cpp.o
[ 52%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/utility/Resources.cpp.o
[ 60%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/utility/Initialization.cpp.o
[ 60%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/pipeline/datatype/ImageManipConfig.cpp.o
[ 60%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/xlink/XLinkConnection.cpp.o
[ 66%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/device/Device.cpp.o
[ 66%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/pipeline/datatype/NNData.cpp.o
[ 66%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/pipeline/node/StereoDepth.cpp.o
[ 68%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/pipeline/Pipeline.cpp.o
[ 68%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/pipeline/node/MonoCamera.cpp.o
[ 70%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/pipeline/node/ImageManip.cpp.o
[ 72%] Building CXX object depthai-core/CMakeFiles/depthai-core.dir/src/openvino/BlobReader.cpp.o
/tmp/pip-install-snwlf2x0/depthai_261404c7b73349168cca8cc7092c364e/depthai-core/src/utility/Resources.cpp: In lambda function:
/tmp/pip-install-snwlf2x0/depthai_261404c7b73349168cca8cc7092c364e/depthai-core/src/utility/Resources.cpp:228:13: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
int r = archive_read_open_memory(a, deviceTarXz.begin(), deviceTarXz.size());
^
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/fmt/bundled/core.h: In instantiation of ‘struct fmt::v7::detail::arg_data<fmt::v7::detail::value<fmt::v7::basic_format_context<std::back_insert_iterator<fmt::v7::detail::buffer<char> >, char> >, char, 1, 0>’:
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/fmt/bundled/core.h:1391:7: required from ‘class fmt::v7::format_arg_store<fmt::v7::basic_format_context<std::back_insert_iterator<fmt::v7::detail::buffer<char> >, char>, long int>’
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/fmt/bundled/core.h:1811:55: required from ‘std::back_insert_iterator<Container> fmt::v7::format_to(std::back_insert_iterator<Container>, const S&, Args&& ...) [with Container = fmt::v7::basic_memory_buffer<char>; S = const char; Args = {long int&}; typename std::enable_if<(fmt::v7::is_contiguous<T>::value && fmt::v7::detail::is_string<S>::value), int>::type <anonymous> = 0]’
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/fmt/bundled/chrono.h:768:19: required from ‘OutputIt fmt::v7::detail::format_duration_value(OutputIt, Rep, int) [with Char = char; Rep = long int; OutputIt = std::back_insert_iterator<fmt::v7::basic_memory_buffer<char> >]’
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/fmt/bundled/chrono.h:1108:48: required from ‘decltype (ctx.out()) fmt::v7::formatter<std::chrono::duration<Rep1, Period1>, Char>::format(const duration&, FormatContext&) [with FormatContext = fmt::v7::basic_format_context<std::back_insert_iterator<fmt::v7::detail::buffer<char> >, char>; Rep = long int; Period = std::ratio<1, 1000000000>; Char = char; decltype (ctx.out()) = std::back_insert_iterator<fmt::v7::detail::buffer<char> >; fmt::v7::formatter<std::chrono::duration<Rep1, Period1>, Char>::duration = std::chrono::duration<long int, std::ratio<1, 1000000000> >]’
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/fmt/bundled/core.h:949:5: required from ‘static void fmt::v7::detail::value<Context>::format_custom_arg(const void, typename Context::parse_context_type&, Context&) [with T = std::chrono::duration<long int, std::ratio<1, 1000000000> >; Formatter = fmt::v7::formatter<std::chrono::duration<long int, std::ratio<1, 1000000000> >, char, void>; Context = fmt::v7::basic_format_context<std::back_insert_iterator<fmt::v7::detail::buffer<char> >, char>; typename Context::parse_context_type = fmt::v7::basic_format_parse_context<char>]’
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/fmt/bundled/core.h:935:19: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/logger.h:340:27: required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, const FormatString&, const Args& ...) [with FormatString = fmt::v7::basic_string_view<char>; Args = {std::chrono::duration<long int, std::ratio<1, 1000000000> >, std::chrono::duration<long int, std::ratio<1, 1000000000> >}]’
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/logger.h:87:9: required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, const Args& ...) [with Args = {std::chrono::duration<long int, std::ratio<1, 1000000000> >, std::chrono::duration<long int, std::ratio<1, 1000000000> >}; spdlog::string_view_t = fmt::v7::basic_string_view<char>]’
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/logger.h:93:9: required from ‘void spdlog::logger::log(spdlog::level::level_enum, const FormatString&, const Args& ...) [with FormatString = char [47]; Args = {std::chrono::duration<long int, std::ratio<1, 1000000000> >, std::chrono::duration<long int, std::ratio<1, 1000000000> >}]’
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/logger.h:105:9: required from ‘void spdlog::logger::debug(const FormatString&, const Args& ...) [with FormatString = char [47]; Args = {std::chrono::duration<long int, std::ratio<1, 1000000000> >, std::chrono::duration<long int, std::ratio<1, 1000000000> >}]’
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/spdlog.h:151:5: required from ‘void spdlog::debug(const FormatString&, const Args& ...) [with FormatString = char [47]; Args = {std::chrono::duration<long int, std::ratio<1, 1000000000> >, std::chrono::duration<long int, std::ratio<1, 1000000000> >}]’
/tmp/pip-install-snwlf2x0/depthai_261404c7b73349168cca8cc7092c364e/depthai-core/src/utility/Resources.cpp:291:89: required from here
cc1plus: warning: this condition has identical branches [-Wduplicated-branches]
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/fmt/bundled/core.h: In instantiation of ‘struct fmt::v7::detail::arg_data<fmt::v7::detail::value<fmt::v7::basic_format_context<std::back_insert_iterator<fmt::v7::detail::buffer<char> >, char> >, char, 1, 0>’:
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/fmt/bundled/core.h:1391:7: required from ‘class fmt::v7::format_arg_store<fmt::v7::basic_format_context<std::back_insert_iterator<fmt::v7::detail::buffer<char> >, char>, long int>’
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/fmt/bundled/core.h:1835:57: required from ‘std::cxx11::basic_string<Char> fmt::v7::format(const S&, Args&& ...) [with S = char [28]; Args = {long int&}; Char = char]’
/tmp/pip-install-snwlf2x0/depthai_261404c7b73349168cca8cc7092c364e/depthai-core/src/pipeline/node/MonoCamera.cpp:60:86: required from here
cc1plus: warning: this condition has identical branches [-Wduplicated-branches]
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/fmt/bundled/core.h: In instantiation of ‘struct fmt::v7::detail::arg_data<fmt::v7::detail::value<fmt::v7::basic_format_context<std::back_insert_iterator<fmt::v7::detail::buffer<char> >, char> >, char, 1, 0>’:
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/fmt/bundled/core.h:1391:7: required from ‘class fmt::v7::format_arg_store<fmt::v7::basic_format_context<std::back_insert_iterator<fmt::v7::detail::buffer<char> >, char>, long int>’
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/fmt/bundled/core.h:1835:57: required from ‘std::cxx11::basic_string<Char> fmt::v7::format(const S&, Args&& ...) [with S = char [28]; Args = {long int&}; Char = char]’
/tmp/pip-install-snwlf2x0/depthai_261404c7b73349168cca8cc7092c364e/depthai-core/src/pipeline/node/ColorCamera.cpp:66:86: required from here
cc1plus: warning: this condition has identical branches [-Wduplicated-branches]
/tmp/pip-install-snwlf2x0/depthai_261404c7b73349168cca8cc7092c364e/depthai-core/src/pipeline/Pipeline.cpp: In member function ‘dai:😮penVINO::Version dai:😛ipelineImpl::getPipelineOpenVINOVersion() const’:
/tmp/pip-install-snwlf2x0/depthai_261404c7b73349168cca8cc7092c364e/depthai-core/src/pipeline/Pipeline.cpp:220:60: warning: ‘version’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(!OpenVINO::areVersionsBlobCompatible(*version, *requiredVersion)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/fmt/bundled/core.h: In instantiation of ‘struct fmt::v7::detail::arg_data<fmt::v7::detail::value<fmt::v7::basic_format_context<std::back_insert_iterator<fmt::v7::detail::buffer<char> >, char> >, char, 1, 0>’:
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/fmt/bundled/core.h:1391:7: required from ‘class fmt::v7::format_arg_store<fmt::v7::basic_format_context<std::back_insert_iterator<fmt::v7::detail::buffer<char> >, char>, std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >’
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/fmt/bundled/format.h:3510:54: required from ‘typename fmt::v7::buffer_context<Char>::iterator fmt::v7::format_to(fmt::v7::basic_memory_buffer<Char, SIZE>&, const S&, Args&& ...) [with S = fmt::v7::basic_string_view<char>; Args = {const std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&}; long unsigned int SIZE = 250; Char = char; typename fmt::v7::buffer_context<Char>::iterator = std::back_insert_iterator<fmt::v7::detail::buffer<char> >]’
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/logger.h:340:27: required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, const FormatString&, const Args& ...) [with FormatString = fmt::v7::basic_string_view<char>; Args = {std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}]’
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/logger.h:87:9: required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, const Args& ...) [with Args = {std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; spdlog::string_view_t = fmt::v7::basic_string_view<char>]’
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/logger.h:93:9: required from ‘void spdlog::logger::log(spdlog::level::level_enum, const FormatString&, const Args& ...) [with FormatString = char [51]; Args = {std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}]’
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/logger.h:105:9: required from ‘void spdlog::logger::debug(const FormatString&, const Args& ...) [with FormatString = char [51]; Args = {std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}]’
/home/hlberg/.hunter/Base/062a19a/08f9145/a65fa5a/Install/include/spdlog/spdlog.h:151:5: required from ‘void spdlog::debug(const FormatString&, const Args& ...) [with FormatString = char [51]; Args = {std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}]’
/tmp/pip-install-snwlf2x0/depthai_261404c7b73349168cca8cc7092c364e/depthai-core/src/device/Device.cpp:224:106: required from here
cc1plus: warning: this condition has identical branches [-Wduplicated-branches]
[ 74%] Linking CXX static library libdepthai-core.a
[ 74%] Built target depthai-core
Scanning dependencies of target depthai
[ 76%] Building CXX object CMakeFiles/depthai.dir/src/XLinkConnectionBindings.cpp.o
[ 78%] Building CXX object CMakeFiles/depthai.dir/src/py_bindings.cpp.o
[ 80%] Building CXX object CMakeFiles/depthai.dir/src/DataQueueBindings.cpp.o
[ 82%] Building CXX object CMakeFiles/depthai.dir/src/DatatypeBindings.cpp.o
[ 84%] Building CXX object CMakeFiles/depthai.dir/src/DeviceBootloaderBindings.cpp.o
[ 88%] Building CXX object CMakeFiles/depthai.dir/src/pipeline/AssetManagerBindings.cpp.o
[ 88%] Building CXX object CMakeFiles/depthai.dir/src/log/LogBindings.cpp.o
[ 92%] Building CXX object CMakeFiles/depthai.dir/src/openvino/OpenVINOBindings.cpp.o
[ 92%] Building CXX object CMakeFiles/depthai.dir/src/DeviceBindings.cpp.o
[ 96%] Building CXX object CMakeFiles/depthai.dir/src/pipeline/NodeBindings.cpp.o
[ 96%] Building CXX object CMakeFiles/depthai.dir/src/pipeline/CommonBindings.cpp.o
[ 98%] Building CXX object CMakeFiles/depthai.dir/src/pipeline/PipelineBindings.cpp.o
/tmp/pip-install-snwlf2x0/depthai_261404c7b73349168cca8cc7092c364e/src/pipeline/NodeBindings.cpp:15:10: fatal error: hedley/hedley.h: No such file or directory
#include "hedley/hedley.h"
~~~~~~~~~~~
compilation terminated.
CMakeFiles/depthai.dir/build.make:230: recipe for target 'CMakeFiles/depthai.dir/src/pipeline/NodeBindings.cpp.o' failed
make[2]: *** [CMakeFiles/depthai.dir/src/pipeline/NodeBindings.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/depthai.dir/all' failed
make[1]: *** [CMakeFiles/depthai.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
Traceback (most recent call last):
File "/home/hlberg/Data/Software/VirtualEnvs/depthai/lib/python3.6/site-packages/pip/vendor/pep517/in_process.py", line 280, in <module>
main()
File "/home/hlberg/Data/Software/VirtualEnvs/depthai/lib/python3.6/site-packages/pip/vendor/pep517/in_process.py", line 263, in main
json_out['return_val'] = hook(hook_input['kwargs'])
File "/home/hlberg/Data/Software/VirtualEnvs/depthai/lib/python3.6/site-packages/pip/vendor/pep517/in_process.py", line 205, in build_wheel
metadata_directory)
File "/tmp/pip-build-env-msq40px1/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 217, in build_wheel
wheel_directory, config_settings)
File "/tmp/pip-build-env-msq40px1/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 202, in _build_with_temp_dir
self.run_setup()
File "/tmp/pip-build-env-msq40px1/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 254, in run_setup
self).run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-msq40px1/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 145, in run_setup
exec(compile(code, file, 'exec'), locals())
File "setup.py", line 195, in <module>
python_requires='>=3.5',
File "/tmp/pip-build-env-msq40px1/overlay/lib/python3.6/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(attrs)
File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-msq40px1/overlay/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "setup.py", line 83, in run
self.build_extension(ext)
File "setup.py", line 155, in build_extension
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j']' returned non-zero exit status 2.
ERROR: Failed building wheel for depthai
Failed to build depthai
ERROR: Could not build wheels for depthai which use PEP 517 and cannot be installed directly