Comments (4)
I am wondering if you need to uninstall and install bazel again after your get Xcode and its command line tools. Also, please do bazel clean --expunge
to make sure you have a clean start.
It seems like the error message is truncated, I would like to see more error message if possible. Moreover, can you report the version number of your OS, Bazel, clang, and XCode?
Here are some links that may help:
- https://stackoverflow.com/questions/43230143/tensorflow-build-issue-with-bazel#comment73708719_43230143
- bazelbuild/bazel#9213
from mediapipe.
The error could mean that Bazel can't find an appropriate c++ compiler on your mac.
Did you install Xcode in your /Applications folder (that's where Bazel will look for it), and are the Xcode command line tools also installed?
Please see the "Installing on macOS" section in install.md for more details.
If you still have the issue, let me know the version number of the OS, Bazel, XCode you have.
from mediapipe.
Thank you @jiuqiant. I did not have Xcode installed. I installed Xcode and got closer but still received a (different) error.
$ bazel run --verbose_failures --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hello_world:hello_world
DEBUG: Rule 'build_bazel_rules_apple' indicated that a canonical reproducible form can be obtained by modifying arguments commit = "6c9fcae7a3597aabd43f28be89466afe0eab18de", shallow_since = "1565379803 -0700" and dropping ["tag"]
DEBUG: Call stack for the definition of repository 'build_bazel_rules_apple' which is a git_repository (rule definition at /private/var/tmp/_bazel_faucherd/3a6923036fc899f82029b0fb9d70b802/external/bazel_tools/tools/build_defs/repo/git.bzl:181:18):
- /Users/faucherd/Documents/Personal/Machine_Learning/Google/mediapipe/WORKSPACE:251:1
INFO: Analyzed target //mediapipe/examples/desktop/hello_world:hello_world (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
ERROR: /private/var/tmp/_bazel_faucherd/3a6923036fc899f82029b0fb9d70b802/external/zlib_archive/BUILD.bazel:5:1: undeclared inclusion(s) in rule '@zlib_archive//:zlib':
this rule is missing dependency declarations for the following files included by 'external/zlib_archive/uncompr.c':
from mediapipe.
Thank you again @jiuqiant. --expunge did the trick
Target //mediapipe/examples/desktop/hello_world:hello_world up-to-date:
bazel-bin/mediapipe/examples/desktop/hello_world/hello_world
INFO: Elapsed time: 212.890s, Critical Path: 149.52s
INFO: 539 processes: 539 darwin-sandbox.
INFO: Build completed successfully, 548 total actions
INFO: Build completed successfully, 548 total actions
I0820 16:49:42.129235 210040256 hello_world.cc:56] Hello World!
I0820 16:49:42.129977 210040256 hello_world.cc:56] Hello World!
I0820 16:49:42.130002 210040256 hello_world.cc:56] Hello World!
I0820 16:49:42.130019 210040256 hello_world.cc:56] Hello World!
I0820 16:49:42.130035 210040256 hello_world.cc:56] Hello World!
I0820 16:49:42.130053 210040256 hello_world.cc:56] Hello World!
I0820 16:49:42.130074 210040256 hello_world.cc:56] Hello World!
I0820 16:49:42.130100 210040256 hello_world.cc:56] Hello World!
I0820 16:49:42.130112 210040256 hello_world.cc:56] Hello World!
I0820 16:49:42.130125 210040256 hello_world.cc:56] Hello World!
from mediapipe.
Related Issues (20)
- Is there a way to improve performance through some configuration parameters? HOT 3
- i was not able to install pip3 install mediapipe-silicon ,it is for mac os air HOT 6
- iOS: Can't merge user_target_xcconfig for pod targets: ["MediaPipeTasksCommon", "MediaPipeTasksGenAIC"]. HOT 6
- After a few minutes, the image segmenter starts working very slowly with the SelfieMulticlass model (256 x 256) HOT 2
- Clarification Needed on Python Compatibility HOT 3
- Add GPU support to LLM C API HOT 3
- You may need an additional loader to handle the result of these loaders. HOT 3
- convert ImageFrame to Image
- customize Object detect HOT 3
- Failed to get LLM params: INVALID_ARGUMENT: LLM model file is null HOT 6
- In my Flutter project, I use the blaze_face_short_range.tflite model and get output in the format [1, 896, 16] and [1, 896, 1]. Tell me how I can turn them into coordinates. HOT 1
- Selfie Segmentation vs Image Segmentation HOT 2
- Google Meet's model (image_segmenter) HOT 1
- Availability of previous version wheels HOT 3
- Detection of non-existent landmarks HOT 1
- Mediapipe with WebGL2... HOT 3
- MediaPipe shouldn't resize the external canvas HOT 3
- hair segmetation through medipipe code in python HOT 6
- Hair segmentation : ValueError: could not broadcast input array from shape (3,) into shape (337,325,4) HOT 3
- difference in results for landmarks and world_landmarks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mediapipe.