gpt4 book ai didi

ios - Tesseract 3.01 和 Pocket-OCR 构建问题

转载 作者:行者123 更新时间:2023-11-29 11:08:32 27 4
gpt4 key购买 nike

我在尝试构建 Pocket-OCR 时遇到如下问题

Undefined symbols for architecture i386:
"tesseract::TessBaseAPI::SetVariable(char const*, char const*)", referenced from: -[OCRDisplayViewController viewDidLoad] in OCRDisplayViewController.o
"tesseract::TessBaseAPI::TesseractRect(unsigned char const*, int, int, int, int, int, int)", referenced from: -[OCRDisplayViewController readAndProcessImage:] in OCRDisplayViewController.o -[OCRDisplayViewController threadedReadAndProcessImage:] in OCRDisplayViewController.o
"tesseract::TessBaseAPI::AllWordConfidences()", referenced from: -[OCRDisplayViewController viewDidLoad] in OCRDisplayViewController.o "tesseract::TessBaseAPI::End()", referenced from: -[OCRDisplayViewController dealloc] in OCRDisplayViewController.o "tesseract::TessBaseAPI::Init(char const*, char const*, tesseract::OcrEngineMode, char*, int, GenericVector const, GenericVector const*, bool)", referenced from: tesseract::TessBaseAPI::Init(char const*, char const*) in OCRDisplayViewController.o "tesseract::TessBaseAPI::TessBaseAPI()", referenced from: -[OCRDisplayViewController viewDidLoad] in OCRDisplayViewController.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

我应该怎么做才能解决这个问题?

我在 goole 上搜索答案,但没有得到太多解决问题的帮助。

最佳答案

可以引用this SO上的解决方案

关于ios - Tesseract 3.01 和 Pocket-OCR 构建问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12651450/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com