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.

