OGeek|极客世界-中国程序员成长平台

标题: ios - 无法使用 OpenALPR 库在 mac 中生成 openaplr.framework [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-12 09:58
标题: ios - 无法使用 OpenALPR 库在 mac 中生成 openaplr.framework

我正在使用 https://github.com/twelve17/openalpr-ios 这个库用于分析车牌图像并从中获取车牌号。

当我尝试在 mac 中运行 ruby​​ 脚本来生成 openaplr.framework 它给了我错误。

这是我遇到的错误。

"/Volumes/DATA/Project_Stuff/openalpr-ios/lib/alpr/utils.rb:44:in execute': Child returned: pid 587 exit 1 (RuntimeError) from /Volumes/DATA/Project_Stuff/openalpr-ios/lib/alpr/utils.rb:74:inlog_execute' from /Volumes/DATA/Project_Stuff/openalpr-ios/lib/alpr/package/automake.rb:141:in do_autoconf_build' from /Volumes/DATA/Project_Stuff/openalpr-ios/lib/alpr/package/automake.rb:58:inbuild_arch' from /Volumes/DATA/Project_Stuff/openalpr-ios/lib/alpr/package/base.rb:53:in block in install' from /Volumes/DATA/Project_Stuff/openalpr-ios/lib/alpr/package/base.rb:52:ineach' from /Volumes/DATA/Project_Stuff/openalpr-ios/lib/alpr/package/base.rb:52:in install' from ./bin/build_frameworks.rb:53:in

谢谢。



Best Answer-推荐答案


我遇到了同样的问题并通过注释行修复了它:

#opts[:exit_on_error] = true if !opts.has_key?(:exit_on_error)

在文件 utils.rb 第 24 行。

系统 Mac OSX10.10、xCode7.2.1

关于ios - 无法使用 OpenALPR 库在 mac 中生成 openaplr.framework,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34353681/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://ogeek.cn/) Powered by Discuz! X3.4