[Kmatplot-general] compilation error under debian
Brought to you by:
kamil
From: Laurent J. <lja...@fy...> - 2001-12-14 21:08:07
|
Hello, I'm trying to do a debian package for kmatplot. Unfortunately this error for the compilation: === make[3]: Entering directory `/home/laurent/download/kmatplot-0.3/kmatplot-0.3/kmatplot/demos' /bin/sh ../../libtool --mode=link --tag=CXX g++ -O0 -fexceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor -fno-builtin -o demo3d -L/usr/X11R6/lib demo3d.o ../widgets/libplot.la -lqt -lpng -lz -lm -ljpeg -lXext -lX11 -lSM -lICE -lXmu -lGL -lGLU -lX11 g++ -O0 -fexceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor -fno-builtin -o demo3d demo3d.o -L/usr/X11R6/lib ../widgets/.libs/libplot.a -L/usr/lib/gcc-lib/i386-linux/2.95.4 -lstdc++ -lc -lgcc -lqt -lpng -lz -lm /usr/lib/libjpeg.so -lXext -lX11 -lSM -lICE -lXmu -lGL -lGLU -lX11 ../widgets/.libs/libplot.a(qsdrvopengl.o): In function `QSDrvOpenGL::init(QSAxes3D *)': qsdrvopengl.o(.text+0x8cb): undefined reference to `QGLFormat::QGLFormat(void)' qsdrvopengl.o(.text+0x8e0): undefined reference to `QGLFormat::setDoubleBuffer(bool)' qsdrvopengl.o(.text+0x916): undefined reference to `QGLContext::QGLContext(QGLFormat const &, QPaintDevice *)' qsdrvopengl.o(.text+0xbd3): undefined reference to `QGLContext::QGLContext(QGLFormat const &, QPaintDevice *)' collect2: ld returned 1 exit status === I have the following configuration: kde-2.2.2 glutg3-3.7 mesag-3.4.2.1 xlibmesa3-4.1.0 Any idea of what caused this error ? Do you think it is due to kde or opengl ? What is exactly your suggested opengl configuration to compile kmatplot ? Thanks, Laurent. |