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

TesseractOCR Undefined symbols for architecture arm64: #12

Open
SravanthiRedd opened this issue Jul 5, 2017 · 2 comments
Open

TesseractOCR Undefined symbols for architecture arm64: #12

SravanthiRedd opened this issue Jul 5, 2017 · 2 comments

Comments

@SravanthiRedd
Copy link

Hi, Thanks to your great project. It works fine for normally rectangle image In Simulator. But in the when we are unable to build into iPhone. Getting Belo Issues.

ld: warning: ignoring file /Users/XXXX/Desktop/MMCamScanner/TesseractOCR.framework/TesseractOCR, file was built for archive which is not the architecture being linked (arm64): /Users/XXXX/Desktop/MMCamScanner/TesseractOCR.framework/TesseractOCR
Undefined symbols for architecture arm64:
"OBJC_CLASS$_G8RecognitionOperation", referenced from:
objc-class-ref in ViewController.o
ld: symbol(s) not found for architecture arm64 referenced from:
objc-class-ref in ViewController.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@tushar666
Copy link

Go to Project Targets -> Build Settings. Under that,

  • Change [Architectures] to "Standard architectures(armv7, arm64) - ..."
  • Below that Keep the value of Debug = Yes and Release = No for [Build Active Architecture Only].
    That's all..

@vymallesh
Copy link

ld: library not found for -lstdc++.6.0.9
clang: error: linker command failed with exit code 1 (use -v to see invocation)

-- Getting above error, i am not getting , how to resolve this issue..
Anyhow if i resolve above issue, i am getting TesseractOCR framework not found issue even framework were added..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants