analogdevicesinc / aditof_sdk

Analog Devices 3D ToF software suite
https://analogdevicesinc.github.io/aditof_sdk/
BSD 3-Clause "New" or "Revised" License
72 stars 49 forks source link

Build fails on Kuiper with missing file #757

Closed SRaus closed 2 years ago

SRaus commented 2 years ago

These are the commands ran

mkdir -p "home/${FIRST_USER_NAME}"
pushd "home/${FIRST_USER_NAME}"
mkdir -p workspace/github
pushd workspace/github
[ -d "aditof_sdk" ] || {
    git clone https://github.com/analogdevicesinc/aditof_sdk.git -b "${ADITOF_SDK_BRANCH}"
}
pushd aditof_sdk
./scripts/raspberrypi3/setup.sh -y -na -ur -es -j "${NUM_JOBS}" -b build -d deps_source_code -i deps_installed
popd 1> /dev/null # pushd aditof_sdk
popd 1> /dev/null # pushd workspace/github
popd 1> /dev/null # pushd "home/${FIRST_USER_NAME}"

and this is the full log:

/home/analog /
/home/analog/workspace/github /home/analog /
Cloning into 'aditof_sdk'...
/home/analog/workspace/github/aditof_sdk /home/analog/workspace/github /home/analog /
./scripts/raspberrypi3/setup.sh: line 6: /home/analog/workspace/github/aditof_sdk/ci/travis/lib.sh: No such file or directory
The sdk will be built in: build
The deps will be downloaded in: deps_source_code
The deps will be installed in: deps_installed
/home/analog/workspace/github/aditof_sdk/deps_installed /home/analog/workspace/github/aditof_sdk
/home/analog/workspace/github/aditof_sdk
./scripts/raspberrypi3/setup.sh: line 172: get_deps_source_code: command not found
./scripts/raspberrypi3/setup.sh: line 179: build_and_install_glog: command not found
./scripts/raspberrypi3/setup.sh: line 180: build_and_install_protobuf: command not found
./scripts/raspberrypi3/setup.sh: line 181: build_and_install_websockets: command not found
/home/analog/workspace/github/aditof_sdk/build /home/analog/workspace/github/aditof_sdk
-- The C compiler identification is GNU 10.2.1
-- The CXX compiler identification is GNU 10.2.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
-- Found Git: /usr/bin/git (found version "2.30.2") 
CMake Error at sdk/CMakeLists.txt:5 (find_package):
  By not providing "Findglog.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "glog", but
  CMake did not find one.
Could not find a package configuration file provided by "glog" (requested
  version 0.3.5) with any of the following names:
    glogConfig.cmake
    glog-config.cmake
-- Configuring incomplete, errors occurred!
See also "/home/analog/workspace/github/aditof_sdk/build/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found.  Stop.
sudo: unable to resolve host fa1adacd3ed3: Name or service not known
make: *** No rule to make target 'install-udev-rules'.  Stop.
/home/analog/workspace/github/aditof_sdk
/etc/systemd/system/tof-server.service:1: Assignment outside of section. Ignoring.

Tied with v3.1.0 , v2.0.0.0 and latest master