Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lepton lib iOS make library error iOS 11 #361

Open
DigitalVanilla opened this issue Jan 26, 2018 · 2 comments
Open

lepton lib iOS make library error iOS 11 #361

DigitalVanilla opened this issue Jan 26, 2018 · 2 comments

Comments

@DigitalVanilla
Copy link

DigitalVanilla commented Jan 26, 2018

Im compiling the library for lepton, but I got this error:

../../src/gplot.c:375:14: error: 'system' is unavailable: not available on iOS
    ignore = system(buf);

Im using this makefile:
https://github.com/coredumped/Tesseract-OCR-iOS/blob/master/TesseractOCR/Makefile

This is the updated libraries at the begin of the makefile:

LEPTON_NAME = leptonica-1.68
PNG_NAME    = libpng-1.6.34
JPEG_NAME   = jpeg-9a
TIFF_NAME   = tiff-4.0.7

SDK_IPHONEOS_PATH=$(shell xcrun --sdk iphoneos --show-sdk-path)
SDK_IPHONESIMULATOR_PATH=$(shell xcrun --sdk iphonesimulator --show-sdk-path)
XCODE_DEVELOPER_PATH=/Applications/Xcode.app/Contents/Developer
XCODETOOLCHAIN_PATH=$(XCODE_DEVELOPER_PATH)/Toolchains/XcodeDefault.xctoolchain
IOS_DEPLOY_TGT="11.0"

How can I fix it?

Thanks

@hejtmii
Copy link

hejtmii commented Oct 20, 2019

Check this out xwal#3

@DigitalVanilla
Copy link
Author

Check this out chaoskyme#3

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants