Ping... To be precise, this is the test program:
#include "QGLViewer/qglviewer.h"
int main(){
QGLViewer(1);
return 0;
}
When compiling:
[EMAIL PROTECTED]:/tmp$ g++ qglviewer2-test.cc -lqglviewer
-I/usr/share/qt3/include -o qglviewer2-test
/tmp/ccDbd9AJ.o: In function `main':
qglviewer2-test.cc:(.text+0x1d4): undefined reference to
`QGLViewer::~QGLViewer()'
/tmp/ccDbd9AJ.o: In function `QGLViewer::QGLViewer(QGLFormat const&, QWidget*,
char const*, QGLWidget const*, unsigned int)':
qglviewer2-test.cc:(.text._ZN9QGLViewerC1ERK9QGLFormatP7QWidgetPKcPK9QGLWidgetj[QGLViewer::QGLViewer(QGLFormat
const&, QWidget*, char const*, QGLWidget const*, unsigned int)]+0x4d):
undefined reference to `vtable for QGLViewer'
qglviewer2-test.cc:(.text._ZN9QGLViewerC1ERK9QGLFormatP7QWidgetPKcPK9QGLWidgetj[QGLViewer::QGLViewer(QGLFormat
const&, QWidget*, char const*, QGLWidget const*, unsigned int)]+0x59):
undefined reference to `vtable for QGLViewer'
qglviewer2-test.cc:(.text._ZN9QGLViewerC1ERK9QGLFormatP7QWidgetPKcPK9QGLWidgetj[QGLViewer::QGLViewer(QGLFormat
const&, QWidget*, char const*, QGLWidget const*, unsigned int)]+0x1a4):
undefined reference to `QGLViewer::defaultConstructor()'
collect2: ld returned 1 exit status
I can provide more info as needed. Please recompile that, as sais, it
fixes this thing.
--
binary package cannot be linked to, locally-rebuilt version works
https://bugs.launchpad.net/bugs/193372
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs