openCV不能在Leopard上编译

时间:2021-12-24 20:47:58

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.

过去几个小时我一直想弄清楚为什么openCV不能在豹子上编译。我一直在谷歌搜索引用,但都指向一个死谷歌组。

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.

所以我的问题很简单:我已经阅读了INSTALL文件,阅读了我能找到的所有文档,但仍无法找到解决方案。

The compile breaks here (this is generated through the Makefile):

这里的编译中断(这是通过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

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:没有这样的文件或目录make [2]:*** [libcxcore.la]错误1 make [1]:*** [check-recursive]错误1 make:* ** [check-recursive]错误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.

有谁知道我可以做什么来建立它?我正在使用mac os 1.5 leopard,而阅读时我发现Mac OS的完整端口仍未完成,但我真的不相信它是这个库的缺失。

2 个解决方案

#1


3  

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")

(“/ Users / fmsf / Projects / Motion Tracking /”vs“ar:/ Users / fmsf / Projects / Motion:没有这样的文件或目录”)

#2


0  

you may be trying 1.1. this is pretty new. consider trying 1.0. i have built 1.0 on windows and ubuntu.

你可能会尝试1.1。这是非常新的。考虑尝试1.0。我已经在Windows和ubuntu上构建了1.0。

#1


3  

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")

(“/ Users / fmsf / Projects / Motion Tracking /”vs“ar:/ Users / fmsf / Projects / Motion:没有这样的文件或目录”)

#2


0  

you may be trying 1.1. this is pretty new. consider trying 1.0. i have built 1.0 on windows and ubuntu.

你可能会尝试1.1。这是非常新的。考虑尝试1.0。我已经在Windows和ubuntu上构建了1.0。