You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//mediapipe/examples/desktop/face_mesh:face_mesh_cpu is already a binary target, which can be built and run successfully. With the below configuration, it is complaint that there's no main function.
ERROR: /Users/yiyinglai/workspace/github/mediapipe/mediapipe/examples/desktop/face_mesh/BUILD:62:31: Linking mediapipe/examples/desktop/face_mesh/face_mesh_cpu_tool_bin failed: (Exit 1): wrapped_clang failed: error executing command (from target //mediapipe/examples/desktop/face_mesh:face_mesh_cpu_tool) external/local_config_cc/wrapped_clang @bazel-out/macos-arm64-min15.0-applebin_macos-darwin_arm64-fastbuild-ST-c0090dab5885/bin/mediapipe/examples/desktop/face_mesh/face_mesh_cpu_tool_bin-2.params
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
Undefined symbols for architecture arm64:
"_main", referenced from:
<initial-undefines>
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error in child process '/usr/bin/xcrun'. 1
Target //mediapipe/examples/desktop/face_mesh:face_mesh_cpu_tool failed to build
The text was updated successfully, but these errors were encountered:
In this case since //mediapipe/examples/desktop/face_mesh:face_mesh_cpu is a cc_binary target, macos_command_line_application should probably reject it in the deps. It expects you to pass library targets instead. I don't think cc_binary propagates enough information to be re-linked as another binary
//mediapipe/examples/desktop/face_mesh:face_mesh_cpu
is already a binary target, which can be built and run successfully. With the below configuration, it is complaint that there's no main function.The text was updated successfully, but these errors were encountered: