??? STRING::STRING was removed from code line 2,5 years ago... So you are using old code at least..
What do you mean with `i'm trying to rebuild tesseract-ocr`? There should be no problem to compile and use it on Apple silicon see https://github.com/tesseract-ocr/tesseract/issues/3286 or https://github.com/tesseract-ocr/tesseract/blob/ade0dfaa8cc1b12341286aa91e11f8ab77a035ad/.github/workflows/unittest-macos.yml#L16 Zdenko pi 9. 5. 2025 o 19:01 'Azeem Qureshi' via tesseract-ocr < [email protected]> napĂsal(a): > Hello > > i'm trying to rebuild tesseract-ocr for m1 architectures, i was able to > successfully rebuild all the included binaries like liblept, libtiff, > libpng, libjpeg, and libtesseract but i get this error message when trying > to build for an m1 simulator (arm64) > > Undefined symbol: STRING::STRING(char const*) > > Undefined symbol: STRING::STRING(STRING const&) > > Undefined symbol: STRING::STRING() > > Undefined symbol: STRING::~STRING() > > Undefined symbol: STRING::operator=(STRING const&) > > Undefined symbol: tesseract::TessBaseAPI::GetVariableAsString(char const*, > STRING*) > > Undefined symbol: tesseract::TessBaseAPI::Init(char const*, char const*, > tesseract::OcrEngineMode, char**, int, GenericVector<STRING> const*, > GenericVector<STRING> const*, bool) > > Undefined symbol: tesseract::TessBaseAPI::SetImage(Pix const*) > > Undefined symbol: tesseract::TessBaseAPI::Recognize(ETEXT_DESC*) > > Undefined symbol: tesseract::IntSimdMatrix::intSimdMatrixNEON > > Undefined symbol: tesseract::DotProductNEON(float const*, float const*, > int) > > Undefined symbol: tesseract::TessPDFRenderer::TessPDFRenderer(char const*) > > Undefined symbol: STRING::string() const > > My purpose here is to embed the tesseractOCR framework into another iOS > application and I want to be able to develop on my m1 simulator without > issues but I kept getting architecture issues around the tesseractOCR > library. > > Any recommendations to resolve this? am i pursuing this wrong altogether? > > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "tesseract-ocr" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion visit > https://groups.google.com/d/msgid/tesseract-ocr/2a5dde07-9729-4baf-bc73-6d5e38f1fc01n%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/2a5dde07-9729-4baf-bc73-6d5e38f1fc01n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8ztto2JTbLx26irTaP-2xbSbSBE3gW9%2BSYBA1C09daDOg%40mail.gmail.com.

