Closed chensisi0730 closed 1 year ago
@chensisi0730,
We are already aware of this issue, and we are diligently working towards a resolution. Kindly consider employing the officially supported Bazel version 6.1.1, as indicated in the .bazelversion file.
Furthermore, We recommend making adjustments to the configuration in the "Configs/MediaPipe.tulsigen" file located under the "MediaPipe.tulsiproj" folder.
As a temporary solution, Prepend an "@" symbol before each buildTargets path starting from Line 26, as illustrated below:
"buildTargets" : [
"@//mediapipe/examples/ios/facedetectioncpu:FaceDetectionCpuApp",
"@//mediapipe/examples/ios/facedetectiongpu:FaceDetectionGpuApp",
"@//mediapipe/examples/ios/faceeffect:FaceEffectApp",
"@//mediapipe/examples/ios/facemeshgpu:FaceMeshGpuApp",
"@//mediapipe/examples/ios/handdetectiongpu:HandDetectionGpuApp",
"@//mediapipe/examples/ios/handtrackinggpu:HandTrackingGpuApp",
"@//mediapipe/examples/ios/helloworld:HelloWorldApp",
"@//mediapipe/examples/ios/holistictrackinggpu:HolisticTrackingGpuApp",
"@//mediapipe/examples/ios/iristrackinggpu:IrisTrackingGpuApp",
"@//mediapipe/examples/ios/objectdetectioncpu:ObjectDetectionCpuApp",
"@//mediapipe/examples/ios/objectdetectiongpu:ObjectDetectionGpuApp",
"@//mediapipe/examples/ios/objectdetectiontrackinggpu:ObjectDetectionTrackingGpuApp",
"@//mediapipe/examples/ios/posetrackinggpu:PoseTrackingGpuApp",
"@//mediapipe/examples/ios/selfiesegmentationgpu:SelfieSegmentationGpuApp",
"@//mediapipe/objc:mediapipe_framework_ios"
For a more comprehensive understanding of the topic, We recommend tracking this ongoing thread. Thank you
Bazel version 6.1.1
Bazel version 6.1.1 have bug , #4296 Because I modified the source code of bazel during command line build , it was successful. Should I use custom bazel in Xcode ?
Showing Recent Issues /Users/zhiyun/work/mediapipe_work/ios/mediapipe_github/latest/mediapipe/mediapipe/modules/palm_detection/BUILD:33:26: Linking mediapipe/modules/palm_detection/palm_detection_model_loader_graph_text_to_binary_graph [for tool] failed: (Exit 1): cc_wrapper.sh failed: error executing command (from target //mediapipe/modules/palm_detection:palm_detection_model_loader_graph_text_to_binary_graph)
@chensisi0730,
This issue is already known to us, And We are working towards the fix. As workaround, Please go though the above workaround shared And recommended to part of thread suggested. Also, let us know if this works for you. Thank you
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
No
OS Platform and Distribution
iOS
Mobile device if the issue happens on mobile device
No response
Browser and version if the issue happens on browser
No response
Programming Language and version
oc
MediaPipe version
0.10.3
Bazel version
6.3.2
Solution
handtracking
Android Studio, NDK, SDK versions (if issue is related to building in Android environment)
No response
Xcode & Tulsi version (if issue is related to building for iOS)
No response
Describe the actual behavior
Describe the expected behaviour
Standalone code/steps you may have used to try to get what you need
Other info / Complete Logs