我刚刚开始使用Raspberry PI 3,我正尝试在上面安装一个名为OpenALPR的开源库。它是一个库,它将车辆牌照的图像作为参数,并返回写在上面的文本。我一直在使用这个链接来安装库。
https://blog.vinczejanos.info/2017/05/01/install-openalpr-on-raspberry-pi-3-part-2/
我在上面的链接中指定的install OpenALPR步骤上。在该步骤的最后一个构建命令中,我遇到了以下错误,即make install
[ 21%] Built target support
[ 23%] Built target video
[ 51%] Built target openalpr
[ 52%] Built target alpr
[ 55%] Built target alprd
[ 56%] Built target openalpr-utils-prepcharsfortraining
[ 59%] Built target openalpr-utils-benchmark
[ 60%] Built target openalpr-utils-binarizefontsheet
[ 61%] Built target openalpr-utils-classifychars
[ 63%] Built target openalpr-utils-calibrate
[ 64%] Built target openalpr-utils-tagplates
[ 66%] Built target openalpr-utils-sortstate
[ 69%] Built target unittests
[ 96%] Built target openalpr-static
[ 97%] Built target simpleini
[ 99%] Built target openalprpy
[100%] Built target openalprgo
Install the project...
-- Install configuration: "RelWithDebugInfo"
-- Installing: /usr/bin/alpr
CMake Error at cmake_install.cmake:50 (file):
file INSTALL cannot copy file "/usr/src/openalpr/src/build/alpr" to
"/usr/bin/alpr".
Makefile:126: recipe for target 'install' failed
make: *** [install] Error 1我可以保证上面的所有步骤都已经成功完成。关于这个错误,请指导我。谢谢。
发布于 2017-10-24 18:29:15
错误已解决。我所做的只是在没有sudo的情况下执行命令make install,该命令没有授予复制文件的权限。我曾经以sudo make install的身份执行过它,它执行得很完美,现在可以正常工作了。
https://stackoverflow.com/questions/46882450
复制相似问题