openCV (2.4.3) の最近のリリースで make を実行しようとしましたが、問題が発生しています。openCV ディレクトリにビルド フォルダーを作成し、次のコマンドを実行しました。
cmake -G "Unix Makefiles" ..
make -js
次のエラーが表示されます。
Linking CXX shared library ../../lib/libopencv_highgui.dylib
[ 35%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/bgfg_gaussmix.cpp.o
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)
"_ModPlug_GetLength", referenced from:
_modplug_read_header in libavformat.a(libmodplug.o)
"_ModPlug_GetMessage", referenced from:
_modplug_read_header in libavformat.a(libmodplug.o)
"_ModPlug_GetName", referenced from:
_modplug_read_header in libavformat.a(libmodplug.o)
他にもありますが、メッセージの残りの部分はそれに似ています。リンカーがhighguiで苦労しているようです。
XCodeを使用してコードを実行しようとしたときに、(どういうわけか奇跡的に)以前にopenCVをインストールしていた(以前のインストールを削除した)ときに、同様のエラーを受け取りました
何かご意見は?