twelve17 / openalpr-ios

Xcode Framework for the openalpr library
GNU General Public License v3.0
116 stars 35 forks source link

Cannot build leptonica for armv7 #37

Closed bknutzen closed 6 years ago

bknutzen commented 6 years ago

Hello, i can build opencv, but it fails at leptonica. I attached the build.log and the leptonica config.log files, maybe you can take a look at it? Any help would be appreciated. Below is the terminal output.

build.log config.log

_:openalpr-ios knutzebj$ bundle exec bin/build_frameworks.rb options: {} Package opencv2 is already installed. Skipping build. Downloading leptonica library. Building leptonica for armv7 from /Users/knutzebj/openalpr-ios/work/leptonica-1.71 make: No rule to make target `clean'. Stop. make: No rule to make target distclean'. Stop. configure: WARNING: if you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used configure: WARNING: using cross tools not prefixed with host triplet bundler: failed to load command: bin/build_frameworks.rb (bin/build_frameworks.rb) RuntimeError: Child returned: pid 43450 exit 2 /Users/knutzebj/openalpr-ios/lib/alpr/utils.rb:44:inexecute' /Users/knutzebj/openalpr-ios/lib/alpr/utils.rb:74:in log_execute' /Users/knutzebj/openalpr-ios/lib/alpr/package/automake.rb:147:indo_autoconf_build' /Users/knutzebj/openalpr-ios/lib/alpr/package/automake.rb:58:in build_arch' /Users/knutzebj/openalpr-ios/lib/alpr/package/base.rb:53:inblock in install' /Users/knutzebj/openalpr-ios/lib/alpr/package/base.rb:52:in each' /Users/knutzebj/openalpr-ios/lib/alpr/package/base.rb:52:ininstall' bin/build_frameworks.rb:70:in `<top (required)>'

snamrata007 commented 6 years ago

What is the answer for that?