Cannot generate a mediapipe project on Tulsi
I'm using M1 pro macbookpro with macos Monatery 12.1 and bazel -6.0.0-pre-release. I cannot generate the mediapipe project. Major errors are: //* Failed to query information about the Bazel workspace. Bazel exited with code 1.
Was not able to extract the execution root from the workspace. This is a Tulsi or Bazel bug, please report.
Was not able to extract the bazel bin symlink name from the workspace. This is a Tulsi or Bazel bug, please report.
Failed to retrieve information about the Bazel workspace. This usually means that the contents of a BUILD file are incorrect or flags are missing. Read the message log carefully for details.
Generate[FAIL]: 0.0233s [Details]: General failure: Bazel aspects could not be built. *//
Please help me with this problem! Thank you!
Can you include the full error report?
Can you include the full error report?
Thank you!!!!
Interesting, I expected there to be more in that output. Can you test with HEAD of rules_apple and tulsi?
Interesting, I expected there to be more in that output. Can you test with HEAD of rules_apple and tulsi?
Sorry sir, I don't quite understand. Do you mean using the method from https://github.com/bazelbuild/rules_apple and then building it in Tulsi?
mediapipe depends on rules_apple, I just want to make sure it's a new enough version since you're using a new version of bazel
mediapipe depends on rules_apple, I just want to make sure it's a new enough version since you're using a new version of bazel
Sorry, still confused... Do I have to try bazel 5.0.0?
@livic54 hi livic54, I want to ask a question Can you install tulsi on M1 pro macbookpro with macos Monatery? I suffered many ERROR when I run ./build_and_run.sh script. I need someone help me
Thanks for you reply.
@livic54 hi livic54, I want to ask a question Can you install tulsi on M1 pro macbookpro with macos Monatery? I suffered many ERROR when I run ./build_and_run.sh script. I need someone help me
Thanks for you reply.
You should make sure you are using bazel 5.x or 6.x , use the binary installer instead of homebrew https://docs.bazel.build/versions/4.2.2/install-os-x.html#install-with-installer-mac-os-x
If you can generate a mediapipe project after successfully install the tulsi, please let me know your procedure. Thank you!
It's a bit confusing but Tulsi needs Bazel 5.0+ to build (which I think you have already built it with a pre-release of Bazel 6.0), but Mediapipe needs Bazel 4.2.1, so after building Tulsi, you'll need to switch to Bazel 4.2.1 to generate an Xcode project for Mediapipe.
@thii Thanks for your suggestion! It works well for me now
Thanks for submitting this issue but this tool is being deprecated. Please checkout rules_xcodeproj for a more complete and maintained Xcode integration.