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

arm64 Support #5

Open
nilskasseckert opened this issue Dec 22, 2013 · 4 comments
Open

arm64 Support #5

nilskasseckert opened this issue Dec 22, 2013 · 4 comments

Comments

@nilskasseckert
Copy link

Hi,
I can't build my Project with this lib because I get many errors, that are not support for arm64. What can I do?

Best regards
Nils

"ld: warning: directory not found for option '-L"/Users/nilskasseckert/Documents/iCrip/iCrip"'
ld: warning: ignoring file /Users/nilskasseckert/Documents/iCrip/iCrip/tesseract-ios-lib-master/lib/libtesseract_all.a, missing required architecture arm64 in file /Users/nilskasseckert/Documents/iCrip/iCrip/tesseract-ios-lib-master/lib/libtesseract_all.a (3 slices)
ld: warning: ignoring file /Users/nilskasseckert/Documents/iCrip/iCrip/tesseract-ios-lib-master/lib/liblept.a, missing required architecture arm64 in file /Users/nilskasseckert/Documents/iCrip/iCrip/tesseract-ios-lib-master/lib/liblept.a (3 slices)
Undefined symbols for architecture arm64:
"ERRCODE::error(char const_, TessErrorLogCode, char const_, ...) const", referenced from:
GenericVector::remove(int) in Tesseract.o
"STRING::STRING()", referenced from:
GenericVector::reserve(int) in Tesseract.o
"STRING::STRING(STRING const&)", referenced from:
GenericVector::clear() in Tesseract.o
"STRING::operator=(STRING const&)", referenced from:
GenericVector::push_back(STRING) in Tesseract.o
GenericVector::reserve(int) in Tesseract.o
GenericVector::remove(int) in Tesseract.o
"tesseract::TessBaseAPI::GetUTF8Text()", referenced from:
-[Tesseract recognizedText] in Tesseract.o
"tesseract::TessBaseAPI::SetImage(unsigned char const_, int, int, int, int)", referenced from:
-[Tesseract setImage:] in Tesseract.o
"tesseract::TessBaseAPI::End()", referenced from:
-[Tesseract clear] in Tesseract.o
"tesseract::TessBaseAPI::SetVariable(char const_, char const_)", referenced from:
-[Tesseract setVariableValue:forKey:] in Tesseract.o
-[Tesseract loadVariables] in Tesseract.o
"STRING::STRING(char const_)", referenced from:
-[Tesseract initEngine] in Tesseract.o
"tesseract::TessBaseAPI::Recognize(ETEXT_DESC_)", referenced from:
-[Tesseract recognize] in Tesseract.o
"tesseract::TessBaseAPI::Init(char const_, char const_, tesseract::OcrEngineMode, char__, int, GenericVector const_, GenericVector const*, bool)", referenced from:
-[Tesseract initEngine] in Tesseract.o
"tesseract::TessBaseAPI::Clear()", referenced from:
-[Tesseract clear] in Tesseract.o
"STRING::~STRING()", referenced from:
-[Tesseract initEngine] in Tesseract.o
GenericVector::reserve(int) in Tesseract.o
GenericVector::clear() in Tesseract.o
"tesseract::TessBaseAPI::TessBaseAPI()", referenced from:
-[Tesseract initWithDataPath:language:ocrEngineMode:configFilenames:variables:setOnlyNonDebugParams:] in Tesseract.o
"tesseract::TessBaseAPI::Version()", referenced from:
+[Tesseract version] in Tesseract.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

(null): Directory not found for option '-L"/Users/nilskasseckert/Documents/iCrip/iCrip"'

(null): Ignoring file /Users/nilskasseckert/Documents/iCrip/iCrip/tesseract-ios-lib-master/lib/libtesseract_all.a, missing required architecture arm64 in file /Users/nilskasseckert/Documents/iCrip/iCrip/tesseract-ios-lib-master/lib/libtesseract_all.a (3 slices)

(null): Ignoring file /Users/nilskasseckert/Documents/iCrip/iCrip/tesseract-ios-lib-master/lib/liblept.a, missing required architecture arm64 in file /Users/nilskasseckert/Documents/iCrip/iCrip/tesseract-ios-lib-master/lib/liblept.a (3 slices)

(null): "ERRCODE::error(char const_, TessErrorLogCode, char const_, ...) const", referenced from:

(null): GenericVector::remove(int) in Tesseract.o

(null): "STRING::STRING()", referenced from:

(null): GenericVector::reserve(int) in Tesseract.o

(null): "STRING::STRING(STRING const&)", referenced from:

(null): GenericVector::clear() in Tesseract.o

(null): "STRING::operator=(STRING const&)", referenced from:

(null): GenericVector::push_back(STRING) in Tesseract.o

(null): GenericVector::reserve(int) in Tesseract.o

(null): GenericVector::remove(int) in Tesseract.o

(null): "tesseract::TessBaseAPI::GetUTF8Text()", referenced from:

(null): -[Tesseract recognizedText] in Tesseract.o

(null): "tesseract::TessBaseAPI::SetImage(unsigned char const*, int, int, int, int)", referenced from:

(null): -[Tesseract setImage:] in Tesseract.o

(null): "tesseract::TessBaseAPI::End()", referenced from:

(null): -[Tesseract clear] in Tesseract.o

(null): "tesseract::TessBaseAPI::SetVariable(char const_, char const_)", referenced from:

(null): -[Tesseract setVariableValue:forKey:] in Tesseract.o

(null): -[Tesseract loadVariables] in Tesseract.o

(null): "STRING::STRING(char const*)", referenced from:

(null): -[Tesseract initEngine] in Tesseract.o

(null): "tesseract::TessBaseAPI::Recognize(ETEXT_DESC*)", referenced from:

(null): -[Tesseract recognize] in Tesseract.o

(null): "tesseract::TessBaseAPI::Init(char const_, char const_, tesseract::OcrEngineMode, char*, int, GenericVector const, GenericVector const*, bool)", referenced from:

(null): -[Tesseract initEngine] in Tesseract.o

(null): "tesseract::TessBaseAPI::Clear()", referenced from:

(null): -[Tesseract clear] in Tesseract.o

(null): "STRING::~STRING()", referenced from:

(null): -[Tesseract initEngine] in Tesseract.o

(null): GenericVector::reserve(int) in Tesseract.o

(null): GenericVector::clear() in Tesseract.o

(null): "tesseract::TessBaseAPI::TessBaseAPI()", referenced from:

(null): -[Tesseract initWithDataPath:language:ocrEngineMode:configFilenames:variables:setOnlyNonDebugParams:] in Tesseract.o

(null): "tesseract::TessBaseAPI::Version()", referenced from:

(null): +[Tesseract version] in Tesseract.o

(null): Symbol(s) not found for architecture arm64

(null): Linker command failed with exit code 1 (use -v to see invocation)
"

@mikemeli
Copy link

mikemeli commented Jan 7, 2014

I have the same problem. I am making an iPhone app and we are planning to use tesseract iOS library but the project does not compile for the iPhone 5S architecture arm64.

Can somebody please comment on whether this architecture will be supported?

Thanks,
Meli

@rockarloz
Copy link

i have de same problem ! can sombeboy help us?
i have 16 mach-o link error !

@3a4oT
Copy link

3a4oT commented Mar 19, 2014

the same problem=(

@anderssewerinhi
Copy link

Ditto.

But take a look here: https://gist.github.com/williamsodell/8846486

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

5 participants