Hi everyone,<div><br></div><div>I'm trying to compile the Kdenlive trunk after upgrading Ubuntu to version 11.04, and I'm getting the following linking errors :</div><div><br></div><div><br></div><div><div>Linking CXX executable kdenlive                                                                                                                                                                                                                                     </div>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

<div>CMakeFiles/kdenlive.dir/blackmagic/capture.o: In function `CDeckLinkGLWidget::showOverlay(QImage, bool)':</div><div>/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:119: undefined reference to `QGLWidget::convertToGLFormat(QImage const&)'</div>

<div>/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:126: undefined reference to `glDisable'</div><div>/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:123: undefined reference to `glEnable'</div><div>
/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:124: undefined reference to `glBlendFunc'</div>
<div>CMakeFiles/kdenlive.dir/blackmagic/capture.o: In function `CDeckLinkGLWidget::hideOverlay()':</div><div>/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:133: undefined reference to `glDisable'</div><div>

CMakeFiles/kdenlive.dir/blackmagic/capture.o: In function `~CDeckLinkGLWidget':</div><div>/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:70: undefined reference to `QGLWidget::~QGLWidget()'</div><div>/home/hugh/Compil/kdenlive/src/blackmagic/capture.cpp:70: undefined reference to `QGLWidget::~QGLWidget()'</div>

<div>CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable for CDeckLinkGLWidget]+0x10): undefined reference to `QGLWidget::metaObject() const'</div><div>CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable for CDeckLinkGLWidget]+0x18): undefined reference to `QGLWidget::qt_metacast(char const*)'</div>

<div>CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable for CDeckLinkGLWidget]+0x20): undefined reference to `QGLWidget::qt_metacall(QMetaObject::Call, int, void**)'</div><div>CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable for CDeckLinkGLWidget]+0x38): undefined reference to `QGLWidget::event(QEvent*)'</div>

<div>CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable for CDeckLinkGLWidget]+0x98): undefined reference to `QGLWidget::paintEngine() const'</div><div>CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable for CDeckLinkGLWidget]+0xf8): undefined reference to `QGLWidget::paintEvent(QPaintEvent*)'</div>

<div>CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable for CDeckLinkGLWidget]+0x108): undefined reference to `QGLWidget::resizeEvent(QResizeEvent*)'</div><div>CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable for CDeckLinkGLWidget]+0x1c0): undefined reference to `QGLWidget::updateGL()'</div>

<div>CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable for CDeckLinkGLWidget]+0x1c8): undefined reference to `QGLWidget::updateOverlayGL()'</div><div>CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable for CDeckLinkGLWidget]+0x1e8): undefined reference to `QGLWidget::initializeOverlayGL()'</div>

<div>CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable for CDeckLinkGLWidget]+0x1f0): undefined reference to `QGLWidget::resizeOverlayGL(int, int)'</div><div>CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable for CDeckLinkGLWidget]+0x1f8): undefined reference to `QGLWidget::paintOverlayGL()'</div>

<div>CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable for CDeckLinkGLWidget]+0x200): undefined reference to `QGLWidget::glInit()'</div><div>CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable for CDeckLinkGLWidget]+0x208): undefined reference to `QGLWidget::glDraw()'</div>

<div>CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTV17CDeckLinkGLWidget[vtable for CDeckLinkGLWidget]+0x258): undefined reference to `non-virtual thunk to QGLWidget::paintEngine() const'</div><div>CMakeFiles/kdenlive.dir/blackmagic/capture.o:(.rodata._ZTI17CDeckLinkGLWidget[typeinfo for CDeckLinkGLWidget]+0x18): undefined reference to `typeinfo for QGLWidget'</div>

<div>collect2: ld returned 1 exit status</div><div>make[2]: *** [src/cmake_bindir/kdenlive] Error 1</div><div>make[1]: *** [src/cmake_bindir/CMakeFiles/kdenlive.dir/all] Error 2</div><div>make: *** [all] Error 2</div></div>

<div><br></div><div><br></div><div>It looks like a problem with the QtOpenGL library, I tried removing and reinstalling the library, with no more success.</div><div><br></div><div>Does anyone have an idea of how to wolve this issue ?</div>

<div><br></div><div>Thanks,</div><div>Hugh</div><div><br></div>