-
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
What can I do to integrate into my project? #53
Comments
@camillol @jiuqiant If you have gradle build system for Android, you will have to build MediaPipe using bazel build system for Android. Both systems are incompatible for now. |
@mgyong Is it because I don't have the reason to install tensorflow? I don't know now, I am a little dizzy. |
Unfortunately, MediaPipe doesn't support Windows yet. We do support Windows Subsystem for Linux. |
Thank you, may I ask the next version to consider supporting the Gradle compilation of Android studio under Windows? |
@mgyong Can you explain the error. Syncing again with invalidating caches is not working. |
@mgyong Below is the cause of the error in building.
Causing the below error. Which is applying the patch error. Is this a bazel issue.
|
I use Gradle to compile projects and don't know how to modify them.
I also met:
INFO: Call stack for the definition of repository 'org_tensorflow' which is a http_archive (rule definition at C:/users/administrator/_bazel_administrator/miimwwwx/external/bazel_tools/tools/build_defs/repo/http.bzl:237:16):
INFO: Repository 'org_tensorflow' used the following cache hits instead of downloading the corresponding file.
If the definition of 'org_tensorflow' was updated, verify that the hashes were also updated.
ERROR: An error occurred during the fetch of repository 'org_tensorflow':
Traceback (most recent call last):
File "C:/users/administrator/_bazel_administrator/miimwwwx/external/bazel_tools/tools/build_defs/repo/http.bzl", line 56
patch(ctx)
File "C:/users/administrator/_bazel_administrator/miimwwwx/external/bazel_tools/tools/build_defs/repo/utils.bzl", line 91, in patch
fail(("Error applying patch %s:\n%s%s...)))
Error applying patch //third_party:tensorflow_065c20bf79253257c87bd4614bb9a7fdef015cbb.diff:
java.io.IOException: ERROR: src/main/native/windows/process.cc(184): CreateProcessW("C:\ProgramData\chocolatey\lib\bazel" -c "patch '-p1' < E:/myproject/mediapipe-master/third_party/tensorflow_065c20bf79253257c87bd4614bb9a7fdef015cbb.diff"): ?????
ERROR: no such package '@org_tensorflow//tensorflow': Traceback (most recent call last):
File "C:/users/administrator/_bazel_administrator/miimwwwx/external/bazel_tools/tools/build_defs/repo/http.bzl", line 56
patch(ctx)
File "C:/users/administrator/_bazel_administrator/miimwwwx/external/bazel_tools/tools/build_defs/repo/utils.bzl", line 91, in patch
fail(("Error applying patch %s:\n%s%s...)))
Error applying patch //third_party:tensorflow_065c20bf79253257c87bd4614bb9a7fdef015cbb.diff:
java.io.IOException: ERROR: src/main/native/windows/process.cc(184): CreateProcessW("C:\ProgramData\chocolatey\lib\bazel" -c "patch '-p1' < E:/myproject/mediapipe-master/third_party/tensorflow_065c20bf79253257c87bd4614bb9a7fdef015cbb.diff"): ?????
Sync finished
The text was updated successfully, but these errors were encountered: