openCV 无法在 Leopard 上编译
在过去的几个小时里,我一直在试图找出为什么 openCV 不能在 leopard 上编译。 我一直在谷歌上搜索参考资料,但所有内容都指向一个已死的谷歌小组。
所以我的问题很简单:我已经阅读了 INSTALL 文件,阅读了我能找到的所有文档,但仍然无法找到解决方案。
编译在这里中断(这是通过 Makefile 生成的):
rm -fr
.libs/libcxcore.lax/lib_cxcore.a mkdir
.libs/libcxcore.lax/lib_cxcore.a
提取/Users/fmsf/Projects/Motion
跟踪/Libs/opencv-1.1.0/cxcore/src/./.libs/lib_cxcore.a(cd .libs/libcxcore.lax/lib_cxcore.a
<代码>&& ar x /Users/fmsf/Projects/MotionTracking/Libs/opencv-1.1.0/cxcore/src/./.libs/lib_cxcore.a) ar: /Users/fmsf/Projects/Motion: 否
这样的文件或目录 make[2]: ***
[libcxcore.la] 错误 1 make[1]:***
[check-recursive] 错误 1 make:***
[检查递归]错误1
有谁知道我可以做什么来构建它? 我正在使用 mac os 1.5 leopard,在阅读i时发现 Mac OS 的完整移植尚未完成,但我并不真的相信这是缺少这个库。
I've been for the past few hours trying to figure out why openCV
doesn't compile on leopard. I've been googling for references but all point to a dead google group.
So my question is quite simple: I've read INSTALL file, read all documentation i could find and still couldn't figure a solution for this.
The compile breaks here (this is generated through the Makefile):
rm -fr
.libs/libcxcore.lax/lib_cxcore.a mkdir
.libs/libcxcore.lax/lib_cxcore.a
Extracting /Users/fmsf/Projects/Motion
Tracking/Libs/opencv-1.1.0/cxcore/src/./.libs/lib_cxcore.a (cd .libs/libcxcore.lax/lib_cxcore.a
&& ar x /Users/fmsf/Projects/Motion
Tracking/Libs/opencv-1.1.0/cxcore/src/./.libs/lib_cxcore.a) ar: /Users/fmsf/Projects/Motion: No
such file or directory make[2]: ***
[libcxcore.la] Error 1 make[1]: ***
[check-recursive] Error 1 make: ***
[check-recursive] Error 1
Does anyone know what i could do to build it?
I'm using mac os 1.5 leopard, while reading i found the full port for Mac OS is still unfinished, but I don't really believe it's the missing of this library.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
根据错误,我的建议是:
尝试将其构建在名称中没有空格的文件夹中。
(“/Users/fmsf/Projects/Motion Tracking/”与“ar:/Users/fmsf/Projects/Motion:没有这样的文件或目录”)
Based on the error, my suggestion is:
Try building it in a folder that doesn't have spaces in the name.
("/Users/fmsf/Projects/Motion Tracking/" vs "ar: /Users/fmsf/Projects/Motion: No such file or directory")
您可能正在尝试 1.1。 这是很新的。 考虑尝试1.0。 我已经在windows和ubuntu上构建了1.0。
you may be trying 1.1. this is pretty new. consider trying 1.0. i have built 1.0 on windows and ubuntu.