-
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
Can`t build with Bazel #3760
Comments
Hi @asd26187, |
I followed the steps here to install python as well as bazelisk and configure mobileprovision, but when I used |
Hi @asd26187, |
MediaPipe version:v0.8.11
|
Hi @asd26187, |
Hi, when I changed the Bundle id I got another error, I changed the name to MediaPipe in the BUILD file I'm not sure why this error is reported? Can you help me to see? Thank you!
This is the content of my BUILD file
|
Yes, I changed the bundleID and solved the problem just now, now there is a new problem, the framework I packaged does not work properly because the header files inside refer to the header files of other modules, how should I configure BUILD? |
Can anyone tell me how to make a mediaPipe iOS framwork? |
Hi @kuaashish ,
but when I introduced the static library into my project, I got an error from xcode build : 'mediapipe/objc/MPPCameraInputSource.h' file not found, because the file MPPCameraInputSource.h is not in the common directory, how should I write the BUILD file to make sure that all the files needed for the common static library can be How should I write the BUILD file to ensure that all the files needed by the common static library are linked in? I hope I didn't cause you any trouble, best wishes. |
Hi @kuaashish |
Hi @asd26187, |
OK,thanks a lot! |
Hi @asd26187, |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you. |
Closing as stale. Please reopen if you'd like to work on this further. |
Please make sure that this is a build/installation issue and also refer to the troubleshooting documentation before raising any issues.
System information (Please provide as much relevant information as possible)
Describe the problem:
When I build with the Bazel build command I get the following error in the terminal, I can't understand how this error is caused or how I should eliminate it, please help me, thanks!
INFO: Repository 'rules_java' used the following cache hits instead of downloading the corresponding file.
If the definition of 'rules_java' was updated, verify that the hashes were also updated.
ERROR: Analysis of target '//mediapipe/examples/ios/handtrackinggpu:HandTrackingGpuApp' failed; build aborted:
INFO: Elapsed time: 31.539s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (109 packages loaded, 1601 targets configured)
currently loading: @com_google_protobuf// ... (4 packages)
Fetching @com_google_absl; fetching
Fetching @macos_opencv; Restarting.
Fetching ...s_java; Extracting /private/var/tmp/_bazel_yunxiao/84aa27cfb29363c19191829
22649c93d/external/rules_java/temp1980986689431104084/7cf3cefd652008d0a64a419c34c13bdca6c8
f178.zip
Fetching ...e_absl; Extracting /private/var/tmp/_bazel_yunxiao/84aa27cfb29363c19191829
22649c93d/external/com_google_absl/temp18088582760554807661/20210324.2.tar.gz
Fetching ...or_mac; Extracting /private/var/tmp/_bazel_yunxiao/84aa27cfb29363c19191829
22649c93d/external/google_toolbox_for_mac/temp3594538897784615978/v2.2.1.zip
Provide the exact sequence of commands / steps that you executed before running into the problem:
Complete Logs:
Include Complete Log information or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached:
The text was updated successfully, but these errors were encountered: