Thread: [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. |
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 |
From: Laurent J. <lja...@fy...> - 2001-12-16 20:53:34
|
Le Saturday 15 December 2001 22:29, Kamil a =E9crit : > 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 i= n a > few days. OK, I have compiled kmatplot for debian without opengl. However, there are one remark to do and one bug to point: - first, KDEDIR must be set to your kde base directory (I think it's=20 generally /usr/local/kde for debian) before any use of kmatplot; - octave works well with kplot but nothing seems to work with kcontour or= =20 kmesh. For instance, this doesn't work: octave-2.1.35:1> [x,y]=3Dmeshgrid(-10:10); octave-2.1.35:2> g=3Dexp(-(x.^2+y.^2)/2); octave-2.1.35:3> kaddaxes(0); octave-2.1.35:4> kcontour(g); ans =3D 2 I got only an image with axes and no contours. Anyway, this buggy package, valid only for debian sid, can be found here: ftp://fyma.fyma.ucl.ac.be/pub/ljacques/Linux/projects/kmatplot/kmatplot_0= .3-1_i386.deb ftp://fyma.fyma.ucl.ac.be/pub/ljacques/Linux/projects/kmatplot/kmatplot_0= .3-1.dsc ftp://fyma.fyma.ucl.ac.be/pub/ljacques/Linux/projects/kmatplot/kmatplot_0= .3-1_i386.changes Laurent. |
From: Kamil <kam...@po...> - 2001-12-17 19:51:28
|
> > Anyway, this buggy package, valid only for debian sid, can be found here: > ftp://fyma.fyma.ucl.ac.be/pub/ljacques/Linux/projects/kmatplot/kmatplot_0.3 >-1_i386.deb > ftp://fyma.fyma.ucl.ac.be/pub/ljacques/Linux/projects/kmatplot/kmatplot_0.3 >-1.dsc > ftp://fyma.fyma.ucl.ac.be/pub/ljacques/Linux/projects/kmatplot/kmatplot_0.3 >-1_i386.changes Thanks Laurent ! I will have to ask you to repeat your work soon. I will be releasing KMatplot 0.3.1 with some bugfixes. Yes, there are some serious bugs in kcontour, kimage, kmesh any many other minor bugs which I have to fix as soon as possible. Kamil |