未定义引用符号'cvCvtColor'

时间:2014-05-25 16:32:54

标签: c opencv compiler-errors linker

我的问题是:我在C语言中使用了cvCvtColor()。但编译结果是:

/usr/bin/ld: /tmp/ccEXHoUI.o: undefined reference to symbol 'cvCvtColor'
/usr/bin/ld: note: 'cvCvColor' is defined in DSO /usr/lib/libopencv_imgproc.so.2.3
    so try adding it to the linker command line /usr/lib/libopencv_imgproc.so.2.3:
    could not read symbols: Invalid operation collect2: ld returned 1 exit status

这是什么意思?

0 个答案:

没有答案