Build log
host
sscmex 0.7.0 · fail · run sscmex-0.7.0-1791110782017
82 of 82 lines
1Resolving Hex dependencies...2Resolution completed in 0.089s3Unchanged:4 cc_precompiler 0.1.115 circular_buffer 1.1.06 elixir_make 0.10.07 interactive_cmd 0.1.48 nerves 2.0.0-pre.29 nerves_discovery 0.1.510 nerves_logging 0.2.411 nerves_runtime 0.13.1312 nerves_system_bbb 2.30.213 nerves_system_br 1.34.414 nerves_system_mangopi_mq_pro 0.17.215 nerves_system_qemu_aarch64 0.4.216 nerves_system_rpi0 2.1.217 nerves_system_rpi4 2.1.218 nerves_system_rpi5 2.1.219 nerves_system_trellis 0.5.020 nerves_system_x86_64 1.34.221 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.122 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.123 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.124 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.125 nerves_toolchain_x86_64_nerves_linux_musl 15.3.126 nerves_uevent 0.1.727 property_table 0.3.428 ring_logger 0.11.729 sscmex 0.7.030 tablet 0.3.331 toolshed 0.5.032 uboot_env 1.0.233All dependencies have been fetched34==> sscmex35Not searching for unused variables given on the command line.36-- The C compiler identification is GNU 13.3.037-- The CXX compiler identification is GNU 13.3.038-- Detecting C compiler ABI info39-- Detecting C compiler ABI info - done40-- Check for working C compiler: /usr/bin/cc - skipped41-- Detecting C compile features42-- Detecting C compile features - done43-- Detecting CXX compiler ABI info44-- Detecting CXX compiler ABI info - done45-- Check for working CXX compiler: /usr/bin/c++ - skipped46-- Detecting CXX compile features47-- Detecting CXX compile features - done48-- PRIV_DIR: /work/proj/_build/host/lib/sscmex/priv49-- ERTS_INCLUDE_DIR: /usr/local/lib/erlang/erts-17.1/include50CMake Error at cmake/sscma_micro.cmake:26 (message):51 SG200X_SDK_PATH is not set, but SSCMA-Micro's CVI engine52 (MA_USE_ENGINE_CVI=1) requires <cviruntime.h> from the CVITEK TPU SDK.5354 Fix one of:55 1. Use the sscmex devenv (provides the SDK automatically):56 direnv allow # or: devenv shell57 2. Point SG200X_SDK_PATH at an extracted reCameraOS SDK,58 e.g. download reCameraOS_sdk_v0.2.0.tar.gz from59 https://github.com/Seeed-Studio/reCamera-OS/releases60 and set:61 export SG200X_SDK_PATH=/path/to/sg2002_recamera_emmc62 3. Use the precompiled NIF from a GitHub release. In your63 parent project, ensure a checksum.exs is present (Hex64 packaging includes one automatically; for git deps, add65 the checksum.exs from the matching release as a dep66 overlay) so cc_precompiler can fetch the precompiled67 artefact instead of building from source.68Call Stack (most recent call first):69 CMakeLists.txt:73 (include)707172-- Configuring incomplete, errors occurred!73make: *** [Makefile:24: /work/proj/_build/host/lib/sscmex/priv/sscmex_nif.so] Error 174could not compile dependency :sscmex, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile sscmex --force", update it with "mix deps.update sscmex" or clean it with "mix deps.clean sscmex"75==> nerves_compatibility_test76** (Mix) Could not compile with "make" (exit status: 2).77You need to have gcc and make installed. If you are using78Ubuntu or any other Debian-based system, install the packages79"build-essential". Also install "erlang-dev" package if not80included in your Erlang/OTP version. If you're on Fedora, run81"dnf group install 'Development Tools'".82