[gl2ps] Error in compilation

G. Durin durin at inrim.it
Tue Feb 6 11:40:52 CET 2007


Dear all,
I have this error when I try to compile:

g++ -c -pipe -fno-exceptions -Wall -W -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables -D_REENTRANT -fPIC  -DGL2PS_HAVE_ZLIB 
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED 
-I/usr/lib/qt-3.3/mkspecs/default -I. -Iinclude 
-I/usr/lib/qt-3.3/include -Itmp/ -o tmp/qwt3d_io_gl2ps.o 
src/qwt3d_io_gl2ps.cpp
src/qwt3d_io_gl2ps.cpp: In function ‘GLint Qwt3D::drawDeviceText(const 
char*, const char*, int, Qwt3D::Triple, Qwt3D::RGBA, Qwt3D::ANCHOR, 
double)’:
src/qwt3d_io_gl2ps.cpp:377: error: cannot convert ‘GLfloat*’ to 
‘GLfloat’ for argument ‘5’ to ‘GLint gl2psTextOpt(const char*, const 
char*, GLshort, GLint, GLfloat)’
make: *** [tmp/qwt3d_io_gl2ps.o] Error 1


Can someone help me on it?

Thank you very much
Gianfranco
-- 
Istituto Nazionale di Ricerca Metrologica (I.N.Ri.M)
(former Istituto Elettrotecnico Nazionale Galileo Ferraris)
Strada delle Cacce, 91 - 10135 Torino Italy
tel: ++39 011 3919839    fax: ++39 011 3919834
Personal home page: http://www.inrim.it/~durin/
INRiM home pag: http://www.inrim.it/
=============================================================
Please note my new e-mail: durin at inrim.it
=============================================================