twelve17 / openalpr-ios

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

Problem to build #35

Closed zhouhao27 closed 6 years ago

zhouhao27 commented 7 years ago

When I run:

bundle exec ./bin/build_frameworks.rb

I got the following error:

configure: error: in /Users/zhouhao/Projects/openalpr-ios/work/leptonica-1.71': configure: error: cannot run C compiled programs. If you meant to cross compile, use--host'. See config.log' for more details /Users/zhouhao/Projects/openalpr-ios/lib/alpr/utils.rb:44:inexecute': Child returned: pid 11788 exit 1 (RuntimeError) from /Users/zhouhao/Projects/openalpr-ios/lib/alpr/utils.rb:74:in log_execute' from /Users/zhouhao/Projects/openalpr-ios/lib/alpr/package/automake.rb:147:indo_autoconf_build' from /Users/zhouhao/Projects/openalpr-ios/lib/alpr/package/automake.rb:58:in build_arch' from /Users/zhouhao/Projects/openalpr-ios/lib/alpr/package/base.rb:53:inblock in install' from /Users/zhouhao/Projects/openalpr-ios/lib/alpr/package/base.rb:52:in each' from /Users/zhouhao/Projects/openalpr-ios/lib/alpr/package/base.rb:52:ininstall' from ./bin/build_frameworks.rb:69:in `

'

Any idea? Thanks

bluecaleb commented 7 years ago

I'm having the same issue... Any chance you have found out a solution by now?

bluecaleb commented 7 years ago

Found a solution that worked for me. Details here: https://github.com/twelve17/openalpr-ios/issues/30#issuecomment-261887794

zhouhao27 commented 7 years ago

@bluecaleb nothing in the link.

bluecaleb commented 6 years ago

Hmmm, the link works for me... Here is a dump of my address bar: https://github.com/twelve17/openalpr-ios/issues/30#issuecomment-261887794

zhouhao27 commented 6 years ago

At last I used the library built for React-native. It's working fine.