我在尝试构建Pocket-OCR时遇到了以下问题
架构 i386 的未定义符号:
“tesseract::TessBaseAPI::SetVariable(char const*, char const*)”,引用自:-[OCRDisplayViewController viewDidLoad] in OCRDisplayViewController.o
"tesseract::TessBaseAPI::TesseractRect(unsigned char const* , int, int, int, int, int, int)”,引用自:-[OCRDisplayViewController readAndProcessImage:] in OCRDisplayViewController.o -[OCRDisplayViewController threadedReadAndProcessImage:] in OCRDisplayViewController.o
"tesseract::TessBaseAPI::AllWordConfidences()",引用自:-[OCRDisplayViewController viewDidLoad] in OCRDisplayViewController.o "tesseract::TessBaseAPI::End()",引用自:-[OCRDisplayViewController dealloc] in OCRDisplayViewController.o "tesseract ::TessBaseAPI::Init(char const*, char const*, tesseract::OcrEngineMode, char* , int, GenericVector const , GenericVector const*, bool)”,引用自:tesseract::TessBaseAPI::Init(char const* , char const*) 在 OCRDisplayViewController.o "tesseract::TessBaseAPI::TessBaseAPI()",引用自:-[OCRDisplayViewController viewDidLoad] in OCRDisplayViewController.o ld:未找到架构 i386 clang 的符号:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)
我应该怎么做才能解决这个问题?
我在 goole 上搜索答案,但没有得到太多帮助来解决问题。