[ROOT] Problem compiling TASImage

From: Damir Buskulic (buskulic@lapp.in2p3.fr)
Date: Mon Aug 26 2002 - 15:30:53 MEST


Hi,

While trying to compile root 3.03/08, I'm having a problem compiling 
TASImage.

g++ -O2 -pipe -Wall -fsigned-char -fPIC -I/usr/X11/include -Iinclude 
-I/scratch/libAfterImage-0.92 -o asimage/src/TASImage.o -c 
asimage/src/TASImage.cxx
asimage/src/TASImage.cxx: In function `static Bool_t 
TASImage::InitVisual()':
asimage/src/TASImage.cxx:1276: passing `Colormap' to argument 5 of 
`create_asvisual_for_id(Display *, int, int, long unsigned int, ASVisual 
*)' lacks a cast
/scratch/libAfterImage-0.92/asvisual.h:479: too many arguments to 
function `struct ASVisual * create_asvisual_for_id(Display *,
int, int, long unsigned int, ASVisual *)'


Seems like the libAfterImage.h I have defines create_asvisual_for_id() 
with 5 arguments, but it is called in TASImage.cxx with 6 arguments. I 
downloaded libAfterImage from 
http://afterstep.sourceforge.net/afterimage/ and it is version 0.92

Any suggestions ?

Cheers

Damir

-- 
=====================================================================
| Damir Buskulic                  | Universite de Savoie/LAPP       |
|                                 | Chemin de Bellevue, B.P. 110    |
| Tel : +33 (0)450091600          | F-74941 Annecy-le-Vieux Cedex   |
| e-mail: buskulic@lapp.in2p3.fr  | FRANCE                          |
=====================================================================
mailto:buskulic@lapp.in2p3.fr



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:05 MET