Re: [Kmatplot-general] compilation error under debian
Brought to you by:
kamil
From: Kamil <kam...@po...> - 2001-12-14 22:31:28
|
> 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. > Hi, I made a mistake in 'configure' script. I didn't know that Debian had a separate package for QtGL extension, and 'configure' checks only if GL library is installed and if it is it assumes that QtGL is built-in into Qt ( as in my RedHat ). You will have to configure without GL then. There are also a few further bugs noticed, so I probably release KMatplot 0.3.1 in a few days. Kamil |