profile
viewpoint

Ask questionsHello World failed build on Raspberry Pi

ERROR: /home/pi/mediapipe/mediapipe/examples/desktop/hello_world/BUILD:19:1: Linking of rule '//mediapipe/examples/desktop/hello_world:hello_world' failed (Exit 1) gcc failed: error executing command /usr/bin/gcc @bazel-out/arm-fastbuild/bin/mediapipe/examples/desktop/hello_world/hello_world-2.params

Use --sandbox_debug to see verbose messages from the sandbox bazel-out/arm-fastbuild/bin/mediapipe/framework/_objs/calculator_graph/scheduler.pic.o:scheduler.cc:function std::__atomic_base<long long>::operator=(long long): error: undefined reference to '__atomic_store_8' bazel-out/arm-fastbuild/bin/mediapipe/framework/_objs/calculator_graph/scheduler.pic.o:scheduler.cc:function std::__atomic_base<long long>::operator long long() const: error: undefined reference to '__atomic_load_8' bazel-out/arm-fastbuild/bin/mediapipe/framework/_objs/scheduler_queue/scheduler_queue.pic.o:scheduler_queue.cc:function mediapipe::internal::SchedulerTimer::EndNode(long long): error: undefined reference to '__atomic_fetch_add_8' bazel-out/arm-fastbuild/bin/external/com_google_protobuf/_objs/protobuf_lite/arena.pic.o:arena.cc:function google::protobuf::internal::ArenaImpl::Init(): error: undefined reference to '__atomic_fetch_add_8' bazel-out/arm-fastbuild/bin/external/com_google_absl/absl/base/_objs/spinlock_wait/spinlock_wait.pic.o:spinlock_wait.cc:function absl::base_internal::SpinLockSuggestedDelayNS(int): error: undefined reference to '__atomic_load_8' bazel-out/arm-fastbuild/bin/external/com_google_absl/absl/base/_objs/spinlock_wait/spinlock_wait.pic.o:spinlock_wait.cc:function absl::base_internal::SpinLockSuggestedDelayNS(int): error: undefined reference to '__atomic_store_8' collect2: error: ld returned 1 exit status Target //mediapipe/examples/desktop/hello_world:hello_world failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 917.881s, Critical Path: 776.57s INFO: 440 processes: 440 linux-sandbox. FAILED: Build did NOT complete successfully FAILED: Build did NOT complete successfully

Any idea what's causing this? I'm puzzled.

Linux raspberrypi 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 armv7l GNU/Linux

google/mediapipe

Answer questions jiuqiant

Hi, we haven't tested MediaPipe on Raspberry Pi yet. Therefore, we can't guarantee that MediaPipe works on Raspberry Pi. From the error message, it seems to be a linker issue regarding libatomic. You can append --linkopt=-latomic to the Bazel command to see if it fixes the problem.

useful!

Related questions

Get hand_tracking_cpu source code to extract detected hand metadata hot 2
stdout: stderr: xcodebuild: error: SDK &#34;macosx10.10&#34; cannot be located. - mediapipe hot 1
SSL certification error while downloading dependency libraries via Bazel hot 1
Build of Hello World Failed on Darwin (MacOS) hot 1
unable to run multi-hand tracking on video - mediapipe hot 1
Build of Hello World Failed on Darwin (MacOS) hot 1
Bazel build failed in Android Studio hot 1
Fail to pull in MediaPipe's external dependencies due to unstable internet connection hot 1
at com.google.mediapipe.apps.objectdetectioncpu.MainActivity.<clinit>(MainActivity.java:50) hot 1
Hand Tracking Desktop GPU Build Error hot 1
ERROR: An error occurred during the fetch of repository 'bazel_skylib' hot 1
Bazel build failed to fetch Maven dependency hot 1
Is there a way to change color in real time on the hair segmentation android? - mediapipe hot 1
Running error hot 1
Is there any way to write front end in Flutter? - mediapipe hot 1
source:https://uonfu.com/
Github User Rank List