【发布时间】:2010-02-24 00:51:16
【问题描述】:
我已经在雪豹上编译了opencv,它说它编译正确,但是当我尝试针对它编译我的示例程序时,我得到如下输出:
g++ -o tm_scons template.o -L/opencv/opencv/build/lib -lcxcore -lcv -lcvaux -lhighgui -lml
ld: warning: in /opencv/opencv/build/lib/libcxcore.dylib, file is not of required architecture
ld: warning: in /opencv/opencv/build/lib/libcv.dylib, file is not of required architecture
ld: warning: in /opencv/opencv/build/lib/libcvaux.dylib, file is not of required architecture
ld: warning: in /opencv/opencv/build/lib/libhighgui.dylib, file is not of required architecture
ld: warning: in /opencv/opencv/build/lib/libml.dylib, file is not of required architecture
这可能是我编译 OpenCV 或使用它的应用程序的问题吗?
【问题讨论】: