Hi, I'm trying to build OpenCV on a Mac following the standard
mkdir build
cd build
cmake -G "Unix Makefiles" ..
make -j8
make install
Cmake runs fine, but reports only cocoa as found GUI (although QT is installed as well). Then make fails at
Linking CXX shared library ../../lib/libopencv_highgui.dylib
[ 46%] Built target opencv_photo
[ 47%] Built target opencv_video
Undefined symbols:
"_av_get_channel_layout_string", referenced from:
_avcodec_string in libavcodec.a(utils.o)
_avcodec_get_channel_layout_string in libavcodec.a(audioconvert.o)
and a lot of other undefined symbols like
"_av_image_fill_pointers"
"_av_get_bits_per_sample_fmt"
"_av_image_copy_plane"
"_av_image_check_size"
"_av_parse_video_rate"
and so on. What am I doing wrong? Does anyone recognize those symbols? In which library should they be defined?
Thanks, Chaos