1

我刚刚开始使用 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

我可以保证以上所有步骤都已成功完成。请指导我有关此错误的信息。谢谢。

4

1 回答 1

1

该错误已得到解决。我所做的只是执行了make install没有sudo复制文件权限的命令。一旦我执行它,sudo make install它就完美地执行并且现在正在工作。

于 2017-10-24T10:29:14.850 回答