Skip to content
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

ld: symbol(s) not found for architecture x86_64 with sh build_and_run.sh #24

Closed
WillBishop opened this issue Aug 20, 2019 · 4 comments
Closed
Assignees
Labels
platform:ios::tulsi IOS Tulsi related issues type:build/install For Build and Installation issues

Comments

@WillBishop
Copy link

Hey,

I'm trying to set up the 'Creating an Xcode Project' section in MediaPipe iOS Setup.

I have bazel 0.28.1, and I symlinked my mobile provision to the directed directory.

Upon running sh build_and_run.sh, I got the error FAILED: Build did NOT complete successfully, with further details

ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Target //:tulsi failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 54.326s, Critical Path: 32.17s
INFO: 38 processes: 25 darwin-sandbox, 13 local.
FAILED: Build did NOT complete successfully

I tried it again with --verbose_failures and got this:

Error was too big for Github, I hosted it on my own server

@mgyong
Copy link

mgyong commented Aug 20, 2019 via email

@camillol
Copy link
Contributor

camillol commented Aug 20, 2019

This is actually an issue with https://github.com/bazelbuild/tulsi.

@mgyong
Copy link

mgyong commented Aug 21, 2019

@WillBishop We have gotten examples of users successfully building MediaPipe for iOS. https://twitter.com/2020cv_inc/status/1163971960285478912?s=21

@arizigler
Copy link

I guess you're using xcode 11 beta 4 or higher.
Apple moved swift libraries into "swift-5.0" directory, hence tulsi fails to build.
A workaround would be soft-linking the libraries from "swift-5.0" to the "swift" directory and then re-run the build process.
refer to https://forums.developer.apple.com/thread/120074.

@camillol camillol added type:build/install For Build and Installation issues platform:ios::tulsi IOS Tulsi related issues labels Aug 27, 2019
@chuoling chuoling self-assigned this Aug 29, 2019
@mgyong mgyong closed this as completed Sep 16, 2019
arttupii pushed a commit to arttupii/mediapipe that referenced this issue Nov 18, 2023
using built-in customs for hand landmark items
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:ios::tulsi IOS Tulsi related issues type:build/install For Build and Installation issues
Projects
None yet
Development

No branches or pull requests

5 participants