交叉编译openCV的Raspberrypi

发布于 2025-01-27 15:05:33 字数 232 浏览 2 评论 0原文

我一直在尝试制作一个将QT和OPENCV结合在一起的应用程序,然后在RaspberryPi上部署此应用程序。 我设法交叉编译QT来运行我在RaspberryPi上的主机机上构建的应用程序,但是每当我想与OpenCV一起使用OpenCV时,我都无法工作。我第一次与ARM有不兼容的库(它们是X86-64),现在当我安装OpenCV的ARM版本时,我会在QT Creator中获得此错误(找不到-LM)。 您能告诉我如何也可以交叉编译OpenCV吗?谢谢

i've been trying to make an application that combines Qt and OpenCV, and then deploy this application on a RaspberryPi.
i managed to cross compile Qt to run applications i built on my host machine on the RaspberryPi but whenever i want to use OpenCV with it, i fail to get to work. The first time i had incompatible libraries with ARM (they were x86-64) and now when i installed ARM version of OpenCV i get this error in Qt Creator (cannot find -lm).
Can u please tell me how to cross compile OpenCV as well ? Thank you

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文