MediaPipe-on-RaspberryPi icon indicating copy to clipboard operation
MediaPipe-on-RaspberryPi copied to clipboard

Rpi 4 Bullseye ERROR: .. mediapipe-0.8.8/third_party/BUILD:97:15: CcCmakeMakeRule third_party/opencv_cmake/include failed: (Exit 127)

Open leonel85 opened this issue 4 years ago • 0 comments

Hello I follow the steps and I install gcc 10.3.0. After run python3 setup.py gen_protos && python3 setup.py bdist_wheel I have this error

....... ERROR: /home/pi/instmedia/mediapipe-0.8.8/third_party/BUILD:97:15: CcCmakeMakeRule third_party/opencv_cmake/include failed: (Exit 127): CMake_wrapper_script.sh failed: error executing command bazel-out/arm-opt/bin/third_party/opencv_cmake_scripts/CMake_wrapper_script.sh

Use --sandbox_debug to see verbose messages from the sandbox rules_foreign_cc: Build failed! rules_foreign_cc: Keeping temp build directory and dependencies directory for debug. rules_foreign_cc: Please note that the directories inside a sandbox are still cleaned unless you specify --sandbox_debug Bazel command line flag. rules_foreign_cc: Printing build logs: _____ BEGIN BUILD LOGS _____

Bazel external C/C++ Rules. Building library opencv_cmake

Environment:______________ BUILD_SCRIPT=bazel-out/arm-opt/bin/third_party/opencv_cmake_scripts/CMake_script.sh EXT_BUILD_ROOT=/home/pi/.cache/bazel/_bazel_pi/f37c7e027ae491c44f68c3cc1afe488d/sandbox/linux-sandbox/181/execroot/mediapipe BUILD_LOG=bazel-out/arm-opt/bin/third_party/opencv_cmake_logs/CMake.log PWD=/home/pi/.cache/bazel/_bazel_pi/f37c7e027ae491c44f68c3cc1afe488d/sandbox/linux-sandbox/181/execroot/mediapipe BUILD_WRAPPER_SCRIPT=bazel-out/arm-opt/bin/third_party/opencv_cmake_scripts/CMake_wrapper_script.sh PYTHON_BIN_PATH=/usr/bin/python3 TMPDIR=/tmp EXT_BUILD_DEPS=/home/pi/.cache/bazel/_bazel_pi/f37c7e027ae491c44f68c3cc1afe488d/sandbox/linux-sandbox/181/execroot/mediapipe/bazel-out/arm-opt/bin/third_party/opencv_cmake.ext_build_deps BUILD_TMPDIR=/home/pi/.cache/bazel/_bazel_pi/f37c7e027ae491c44f68c3cc1afe488d/sandbox/linux-sandbox/181/execroot/mediapipe/bazel-out/arm-opt/bin/third_party/opencv_cmake.build_tmpdir SHLVL=2 LD_LIBRARY_PATH=/opt/gcc-10.3.0-2/lib: INSTALLDIR=/home/pi/.cache/bazel/_bazel_pi/f37c7e027ae491c44f68c3cc1afe488d/sandbox/linux-sandbox/181/execroot/mediapipe/bazel-out/arm-opt/bin/third_party/opencv_cmake PATH=/home/pi/.cache/bazel/_bazel_pi/f37c7e027ae491c44f68c3cc1afe488d/sandbox/linux-sandbox/181/execroot/mediapipe:/opt/gcc-10.3.0-2/bin:/opt/gcc-10.3.0-2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games _=/usr/bin/env


bazel-out/arm-opt/bin/third_party/opencv_cmake_scripts/CMake_script.sh: line 49: cmake: command not found _____ END BUILD LOGS _____ rules_foreign_cc: Build wrapper script location: bazel-out/arm-opt/bin/third_party/opencv_cmake_scripts/CMake_wrapper_script.sh rules_foreign_cc: Build script location: bazel-out/arm-opt/bin/third_party/opencv_cmake_scripts/CMake_script.sh rules_foreign_cc: Build log location: bazel-out/arm-opt/bin/third_party/opencv_cmake_logs/CMake.log

Target //mediapipe/modules/face_detection:face_detection_short_range_cpu failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 618.757s, Critical Path: 475.84s INFO: 403 processes: 223 internal, 180 linux-sandbox. FAILED: Build did NOT complete successfully

Thanks

leonel85 avatar Jan 16 '22 07:01 leonel85