Re: [ROOT] Unable to do anything with TASImage

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Nov 06 2002 - 17:31:19 MET


Hi Laurent,

   make sure that during the ./configure of asimage all support libs for
gif and jpg are found.

What platform are you using? On linux use the following to configure
afterimage:

rm -f config.cache
export CFLAGS="-fPIC -O"
./configure --enable-sharedlibs --with-ttf=no


Cheers, Fons.


On Wed, 2002-11-06 at 16:31, Laurent Le Guillou wrote:
> 
> 
> 	Hi Rooters,
> 
> 	I compiled and installed libAfterImage-0.92, in order
> 	to be able to use TASImage.
> 	Now I am trying to run examples ; but I am unable to
> 	do anything : galaxy_image.C gives me segfaults 
> 	(at this point "img->SetImage(*data, 401, palette);") :
> 	and simple tests produce this :
> 
> 	gSystem->Load("libASImage.so") ;
> 	TImage *img = TImage::Open("rose512.gif") ;
> 	
> 	/users/snovae/leguil/usr/lib/root/bin/root.exe: error while
> 	loading shared libraries: /users/snovae/leguil/usr/lib/libAfterImage.so.0:
> 	undefined symbol: DGifOpen
> 
> 
> 	or,
> 
> 	gSystem->Load("libASImage.so") ;
> 	TImage *img = TImage::Open("rose512.jpg") ;
> 	
> 	/users/snovae/leguil/usr/lib/root/bin/root.exe: error while
> 	loading shared libraries: /users/snovae/leguil/usr/lib/libAfterImage.so.0:
> 	undefined symbol: jpeg_std_error
> 
> 
> 	and so on with other formats...
> 
> 	[gif and jpeg libraries are present on my linux box.]
> 
> 	Cordialement,
> 
> 	Laurent
> 
> 
>   -------------------------------------------------------------------
>     Laurent LE GUILLOU			            leguil@in2p3.fr
>     ATER Paris 6 / LPNHE 	   Collaboration EROS / Projet SNLS
>     LPNHE - Jussieu - Tour 33 rdc - Bureau 422 -  +33 1.44.27.41.66
> 
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



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