[Buildroot] Build issue on OpenCV: multiple Qt related undefined references

Samuel Martin s.martin49 at gmail.com
Mon May 4 13:28:22 UTC 2015


Hi Thomas,

On Sun, May 3, 2015 at 11:35 AM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Hello Samuel,
>
> I did an allyespackageconfig build yesterday, and it failed because of
> an OpenCV/Qt build issue during the OpenCV build. Here is the error:
>
> ../../lib/libopencv_highgui.so.2.4.10: undefined reference to `QFont::setLetterSpacing(QFont::SpacingType, float)'
> ../../lib/libopencv_highgui.so.2.4.10: undefined reference to `QTransform::QTransform(float, float, float, float, float, float, float, float, float)'
> ../../lib/libopencv_highgui.so.2.4.10: undefined reference to `QTransform::map(float, float, float*, float*) const'
> ../../lib/libopencv_highgui.so.2.4.10: undefined reference to `QPen::QPen(QBrush const&, float, Qt::PenStyle, Qt::PenCapStyle, Qt::PenJoinStyle)'
> ../../lib/libopencv_highgui.so.2.4.10: undefined reference to `QTransform::scale(float, float)'
> ../../lib/libopencv_highgui.so.2.4.10: undefined reference to `QTransform::translate(float, float)'
> collect2: error: ld returned 1 exit status
>
> The defconfig is below, but beware, it takes ages to build (200 minutes
> of real time on a relatively fast build server). If you could have a
> look, it would be great.
>
> Thanks!

Thanks for the report.
I'll look at it as soon as time permit, I'll keep you in touch.

Regards,

-- 
Samuel


More information about the buildroot mailing list