-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mediapipe MacOS helloworld failure #52
Comments
I have this issue too. |
me too on macos |
It seems to be a compatibility issue between Mediapipe and OpenCV4.1.1 on macos. We are working on a fix. For now, a temporary workaround could be
|
In 785d266, we switched the default OpenCV version to 3.4.5 on macos. You can do the following steps to switch the opencv dependency and rebuild the hello world example:
|
We are closing this issue for now due to lack of activity. Please comment if this is still an issue for you. |
FYI using opencv@3 on it's own didn't work for me. I still had to run |
…er_update_mediapipe_library Update text classifier library
pjhuang-macbookpro:mediapipe pjhuang$ bazel run --define MEDIAPIPE_DISABLE_GPU=1 \
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_pjhuang/afa06e99810fc5bceaeb2263198f79fa/external/bazel_tools/tools/build_defs/repo/git.bzl:181:18):
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_pjhuang/afa06e99810fc5bceaeb2263198f79fa/external/com_github_glog_glog/BUILD.bazel:68:1: C++ compilation of rule '@com_github_glog_glog//:glog' failed (Exit 1) cc_wrapper.sh failed: error executing command external/local_config_cc/cc_wrapper.sh -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -fcolor-diagnostics -fno-omit-frame-pointer '-std=c++0x' -MD -MF ... (remaining 36 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox
external/com_github_glog_glog/src/logging.cc:1227:3: error: use of undeclared identifier 'RawLog__SetLastTime'
RawLog__SetLastTime(data_->tm_time_, usecs);
^
1 error generated.
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: 0.997s, Critical Path: 0.89s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
pjhuang-macbookpro:mediapipe pjhuang$ bazel version
Build label: 0.28.1-homebrew
Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Fri Jul 19 16:09:50 2019 (1563552590)
Build timestamp: 1563552590
Build timestamp as int: 1563552590
The text was updated successfully, but these errors were encountered: