Ask Your Question

Ubuntu 16.04 X86_64, -DWITH_QT=ON, OpenCV 3.1.0

asked 2016-05-15 18:54:32 -0500

Steven P. Goldsmith gravatar image

updated 2016-05-17 21:36:09 -0500

Using Ubuntu 16.04 X86_64 Desktop -DWITH_QT=ON and I get the errors below. -DWITH_QT=OFF and OpenCV and contrib build fine.

uname -a

4.4.0-22-generic #39-Ubuntu SMP Thu May 5 16:53:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

qmake --version

QMake version 3.0 Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu


[ 72%] Linking CXX executable ../../bin/example_cvv_cvv_demo
../../lib/ undefined reference to `QComboBox::currentTextChanged(QString const&)'
../../lib/ undefined reference to `QFrame::sizeHint() const'
../../lib/ undefined reference to `vtable for cvv::qtutil::ShowInRawView'

(More unlinked references)

collect2: error: ld returned 1 exit status
modules/cvv/CMakeFiles/example_cvv_cvv_demo.dir/build.make:103: recipe for target 'bin/example_cvv_cvv_demo' failed
make[2]: *** [bin/example_cvv_cvv_demo] Error 1
CMakeFiles/Makefile2:8976: recipe for target 'modules/cvv/CMakeFiles/example_cvv_cvv_demo.dir/all' failed
make[1]: *** [modules/cvv/CMakeFiles/example_cvv_cvv_demo.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
edit retag flag offensive close merge delete


mshabunin gravatar imagemshabunin ( 2016-05-16 08:05:38 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-05-18 19:15:23 -0500

Steven P. Goldsmith gravatar image

Latest source worked, thanks for the comment!

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-05-15 18:54:32 -0500

Seen: 1,154 times

Last updated: May 18 '16