I had trouble building openalpr.framework from the bundle exec step. Upon inspecting the failing command that was being passed to utils.rb, I found that the build was failing due to me not having cmake installed. I've added cmake to the requirements list in README.md.
Thanks for your work with openalpr @twelve17!
...
For reference, here is the command that was failing: cmake -GXcode -DIOS_PLATFORM=OS -DLeptonica_FRAMEWORK_PATH=/Users/bogdan/Code/Misc/openalpr-ios/output/leptonica.framework -DTesseract_FRAMEWORK_PATH=/Users/bogdan/Code/Misc/openalpr-ios/output/tesseract.framework -DOpenCV_FRAMEWORK_PATH=/Users/bogdan/Code/Misc/openalpr-ios/output/opencv2.framework -DOpenCV_VERSION=3.0.0 -DOpenCV_VERSION_MAJOR=3 -DCMAKE_TOOLCHAIN_FILE=/Users/bogdan/Code/Misc/openalpr-ios/etc/cmake/Toolchains/iOS.cmake /Users/bogdan/Code/Misc/openalpr-ios/work/openalpr/src 2>&1
I had trouble building openalpr.framework from the
bundle exec
step. Upon inspecting the failing command that was being passed toutils.rb
, I found that the build was failing due to me not having cmake installed. I've added cmake to the requirements list inREADME.md
.Thanks for your work with openalpr @twelve17!
...
For reference, here is the command that was failing:
cmake -GXcode -DIOS_PLATFORM=OS -DLeptonica_FRAMEWORK_PATH=/Users/bogdan/Code/Misc/openalpr-ios/output/leptonica.framework -DTesseract_FRAMEWORK_PATH=/Users/bogdan/Code/Misc/openalpr-ios/output/tesseract.framework -DOpenCV_FRAMEWORK_PATH=/Users/bogdan/Code/Misc/openalpr-ios/output/opencv2.framework -DOpenCV_VERSION=3.0.0 -DOpenCV_VERSION_MAJOR=3 -DCMAKE_TOOLCHAIN_FILE=/Users/bogdan/Code/Misc/openalpr-ios/etc/cmake/Toolchains/iOS.cmake /Users/bogdan/Code/Misc/openalpr-ios/work/openalpr/src 2>&1