So I wanted to start working on application for my android. The application includes tesseract-ocr. I have both tesseract and leptonica working for my windows computer. I have built them both with .\vcpkg install tesseract:x86-windows; however, when I try installing tesseract:arm-windows, I get an error saying the build failed.
Creating library src\leptonica-1.76.0d.lib and object src\leptonica-1.76.0d.exp
leptwin.c.obj : error LNK2019: unresolved external symbol __imp_DeleteObject referenced in function pixGetWindowsHBITMAP
leptwin.c.obj : error LNK2019: unresolved external symbol __imp_CreateDIBSection referenced in function "struct HBITMAP__ * __cdecl DSCreateDIBSection(int,int,int,struct PixColormap *)" (?DSCreateDIBSection@@YAPAUHBITMAP__@@HHHPAUPixColormap@@@Z)
leptwin.c.obj : error LNK2019: unresolved external symbol __imp_GetObjectA referenced in function pixGetWindowsHBITMAP
bin\leptonica-1.76.0d.dll : fatal error LNK1120: 3 unresolved externals
ninja: build stopped: subcommand failed.
If anyone could help me figure out what is wrong or even better, how to fix it, I would be extremely grateful. Thank you!
Is there a particular website you're following steps from? I doubt many of us know what this particular library is. (Note: I have no knowledge in cross-compiling for Android, or whatever it is you're doing, so please don't expect much from me, I'm just throwing out some ideas.)