linux - 在 Raspberry PI 3 上安装 OpenALPR 时出错

标签 linux raspberry-pi3 openalpr make-install

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

我可以保证以上所有步骤都已成功完成。请指导我解决此错误。谢谢。

最佳答案

错误已解决。我所做的只是在没有 sudo 的情况下执行命令 make install ,这没有授予复制文件的权限。一旦我以 sudo make install 的形式执行它,它就会完美地执行并且现在可以正常工作。

关于linux - 在 Raspberry PI 3 上安装 OpenALPR 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46882450/

相关文章:

linux - 如何使用 -SIGINT 关闭在破折号脚本中启动的 dd 进程?

linux - 这个linux命令相当于powershell的什么

azure - 从封闭防火墙后面将 Windows 10 IoT Core 设备连接到 Azure IoT 中心时遇到问题

比较两个图像时查找不同区域边缘的算法或工具

c++ - 使用 C++ 设置 OpenALPR, undefined reference 。

linux - 在 Linux (centos 7) 中将大文件(例如 300GB)分割成 100MB 的小块

linux - 在用户登录时从脚本调用 sudo

linux - 通过 Raspberry PI 3 中的串行 TX 和 RX 端口进行数据传输

java - MQTT Android Studio 和 Raspberry PI 代理