WritePad-Handwriting-Recognition-Engine icon indicating copy to clipboard operation
WritePad-Handwriting-Recognition-Engine copied to clipboard

When I build a library file, use it in my project: Undefined symbols for architecture arm64

Open mindstormygit opened this issue 1 year ago • 1 comments

Undefined symbols for architecture arm64: "CInkData::GetRecoStrokes(int, int*, bool, bool)", referenced from: CRecognizerWrapper::RecognizeInkData(CInkData*, int, int, bool, bool, bool, bool) in libWritePadReco.a77 ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

mindstormygit avatar Jun 13 '24 10:06 mindstormygit

Changing BOOL to bool in GetRecoStrokes can solve this problem. I don’t know if there are any issues with this approach.

mindstormygit avatar Jun 13 '24 11:06 mindstormygit