Skip to content

Issue building package #1

Description

@jacobhollebon

HI, I am having issues trying to build the package (step 9: python3 setup.py gen_protos && python3 setup.py bdist_wheel ) I am trying to install on a Raspberry PI 4. The Bazel installation seems fine (running 'bazel version' in terminal returns a valid build). However I get the following error

ERROR: /home/pi/mediapipe-0.8.4/mediapipe/python/BUILD:19:17: Linking mediapipe/python/_framework_bindings.so failed: (Exit 1): gcc failed: error executing command /usr/bin/gcc @bazel-out/arm-opt/bin/mediapipe/python/_framework_bindings.so-2.params

Use --sandbox_debug to see verbose messages from the sandbox
/usr/bin/ld.gold: error: cannot find -ljpeg
/usr/bin/ld.gold: error: cannot find -ltiff
/usr/bin/ld.gold: error: cannot find -lavcodec
/usr/bin/ld.gold: error: cannot find -lavformat
/usr/bin/ld.gold: error: cannot find -lavutil
/usr/bin/ld.gold: error: cannot find -lswscale
/usr/bin/ld.gold: error: cannot find -lavresample
collect2: error: ld returned 1 exit status
Target //mediapipe/python:_framework_bindings.so failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 3476.764s, Critical Path: 3460.99s
INFO: 1807 processes: 3 internal, 1804 linux-sandbox.
FAILED: Build did NOT complete successfully
error: command 'bazel' failed with exit status 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions