[Kdenlive-devel] [make error] blackmagic and QtOpenGL

Hugh Tebby hugh.tebby at gmail.com
Sun May 1 10:48:22 UTC 2011


Hi everyone,

I'm trying to compile the Kdenlive trunk after upgrading Ubuntu to version
11.04, and I'm getting the following linking errors :


Linking CXX executable kdenlive



CMakeFiles/kdenlive.dir/blackmagic/capture.o: In function
`CDeckLinkGLWidget::resizeGL(int, int)':


/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:213: undefined
reference to `glViewport'


/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:214: undefined
reference to `glMatrixMode'


/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:215: undefined
reference to `glLoadIdentity'


/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:216: undefined
reference to `glOrtho'


/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:217: undefined
reference to `glMatrixMode'


/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:218: undefined
reference to `glRasterPos2i'


CMakeFiles/kdenlive.dir/blackmagic/capture.o: In function
`CDeckLinkGLWidget::paintGL()':


/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:175: undefined
reference to `glLoadIdentity'


/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:176: undefined
reference to `QGLWidget::qglClearColor(QColor const&) const'


/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:178: undefined
reference to `glClear'


/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:181: undefined
reference to `glPixelZoom'


/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:182: undefined
reference to `glDrawPixels'


CMakeFiles/kdenlive.dir/blackmagic/capture.o: In function
`CDeckLinkGLWidget::initializeGL()':


/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:141: undefined
reference to `glShadeModel'


/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:142: undefined
reference to `glDisable'


/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:143: undefined
reference to `glDisable'


/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:144: undefined
reference to `glDisable'


/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:145: undefined
reference to `glDisable'


/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:146: undefined
reference to `glDisable'


CMakeFiles/kdenlive.dir/blackmagic/capture.o: In function
`CDeckLinkGLWidget':


/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:109: undefined
reference to `QGLWidget::QGLWidget(QWidget*, QGLWidget const*,
QFlags<Qt::WindowType>)'

CMakeFiles/kdenlive.dir/blackmagic/capture.o: In function
`CDeckLinkGLWidget::showOverlay(QImage, bool)':
/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:119: undefined
reference to `QGLWidget::convertToGLFormat(QImage const&)'
/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:126: undefined
reference to `glDisable'
/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:123: undefined
reference to `glEnable'
/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:124: undefined
reference to `glBlendFunc'
CMakeFiles/kdenlive.dir/blackmagic/capture.o: In function
`CDeckLinkGLWidget::hideOverlay()':
/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:133: undefined
reference to `glDisable'
CMakeFiles/kdenlive.dir/blackmagic/capture.o: In function
`~CDeckLinkGLWidget':
/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:70: undefined
reference to `QGLWidget::~QGLWidget()'
/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:70: undefined
reference to `QGLWidget::~QGLWidget()'
CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable
for CDeckLinkGLWidget]+0x10): undefined reference to
`QGLWidget::metaObject() const'
CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable
for CDeckLinkGLWidget]+0x18): undefined reference to
`QGLWidget::qt_metacast(char const*)'
CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable
for CDeckLinkGLWidget]+0x20): undefined reference to
`QGLWidget::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable
for CDeckLinkGLWidget]+0x38): undefined reference to
`QGLWidget::event(QEvent*)'
CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable
for CDeckLinkGLWidget]+0x98): undefined reference to
`QGLWidget::paintEngine() const'
CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable
for CDeckLinkGLWidget]+0xf8): undefined reference to
`QGLWidget::paintEvent(QPaintEvent*)'
CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable
for CDeckLinkGLWidget]+0x108): undefined reference to
`QGLWidget::resizeEvent(QResizeEvent*)'
CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable
for CDeckLinkGLWidget]+0x1c0): undefined reference to
`QGLWidget::updateGL()'
CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable
for CDeckLinkGLWidget]+0x1c8): undefined reference to
`QGLWidget::updateOverlayGL()'
CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable
for CDeckLinkGLWidget]+0x1e8): undefined reference to
`QGLWidget::initializeOverlayGL()'
CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable
for CDeckLinkGLWidget]+0x1f0): undefined reference to
`QGLWidget::resizeOverlayGL(int, int)'
CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable
for CDeckLinkGLWidget]+0x1f8): undefined reference to
`QGLWidget::paintOverlayGL()'
CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable
for CDeckLinkGLWidget]+0x200): undefined reference to `QGLWidget::glInit()'
CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable
for CDeckLinkGLWidget]+0x208): undefined reference to `QGLWidget::glDraw()'
CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable
for CDeckLinkGLWidget]+0x258): undefined reference to `non-virtual thunk to
QGLWidget::paintEngine() const'
CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTI17CDeckLinkGLWidget[typeinfo
for CDeckLinkGLWidget]+0x18): undefined reference to `typeinfo for
QGLWidget'
collect2: ld returned 1 exit status
make[2]: *** [src/cmake_bindir/kdenlive] Error 1
make[1]: *** [src/cmake_bindir/CMakeFiles/kdenlive.dir/all] Error 2
make: *** [all] Error 2


It looks like a problem with the QtOpenGL library, I tried removing and
reinstalling the library, with no more success.

Does anyone have an idea of how to wolve this issue ?

Thanks,
Hugh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdenlive/attachments/20110501/93c7ebb5/attachment.html>


More information about the Kdenlive mailing list