尝试安装OpenCV时,架构x86_64的未定义符号

时间:2015-09-18 16:32:02

标签: macos terminal opencv3.0 yosemite

我试图在我的mac中安装opencv。我搜索了教程,它们都是一样的,所以当我到达运行命令的部分时,#34; make -j8"它只执行它的一部分,因为当它达到50%时它会显示错误

[ 50%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_qtkit.mm.o
Linking CXX shared library ../../lib/libopencv_videoio.dylib
Undefined symbols for architecture x86_64:
  "_ModPlug_GetCurrentOrder", referenced from:
  _modplug_read_packet in libavformat.a(libmodplug.o)
  "_ModPlug_GetCurrentPattern", referenced from:
  _modplug_read_packet in libavformat.a(libmodplug.o)
  "_ModPlug_GetCurrentRow", referenced from:
  _modplug_read_packet in libavformat.a(libmodplug.o)
  "_ModPlug_GetCurrentSpeed", referenced from:
  _modplug_read_packet in libavformat.a(libmodplug.o)
  "_ModPlug_GetCurrentTempo", referenced from:
  _modplug_read_packet in libavformat.a(libmodplug.o)

我不知道它是什么,我不知道如何纠正它。我有Yosemite版本10.10.2所以我不知道它是否是操作系统的错误。 谢谢!

0 个答案:

没有答案