Re: [ROOT] Another problem with TASImage (was: Unable to do anything with TASImage)

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Nov 13 2002 - 16:51:19 MET


Hi Laurent,


On Wed, 2002-11-13 at 15:05, Laurent Le Guillou wrote:
> 	
> 	Hello,
> 
> 	I have another problem with TASImage.
> 	When I try to use TASImage in batch mode (I use the same
> 	program in batch mode and interactive mode), I have this
> 	error :
> 
> 	----------------------------------------------------------------
> 	leguil@lpnp204 ~> root -b
> 
> 	root [0] gSystem->Load("libASImage.so")
> 	dlopen error: /users/snovae/leguil/usr/lib/root/lib/libASImage.so:
> 	undefined symbol: __ti11TGMainFrame
> 	Load Error: Failed to load Dynamic link library
> 	/users/snovae/leguil/usr/lib/root/lib/libASImage.so
> 	(int)(-1)
> 	*** Interpreter error recovered ***
> 	----------------------------------------------------------------
> 
In batch mode the X11 and GUI libs are not loaded. The only thing you
can do it use TCanvases to create postscript graphics. libAfterStep
needs the X11 and GUI libs to run. A solution might be to use a
framebuffer X server in batch mode.


> 	And in interactive mode :
> 
> 	----------------------------------------------------------------
> 	leguil@lpnp204 ~>root   
> 
> 	root [0] gSystem->Load("libASImage.so")
> 	(int)0
> 	----------------------------------------------------------------
> 
> 	Of course I can check if the program is running in batch
> 	mode or in interactive mode before loading libASImage.so .
> 	But usually with root, graphical operations on Canvas are
> 	valid operations, even in batch mode : calls to graphical
> 	methods just produce no X11 output. Is it normal that
> 	libASImage does not respect this 'rule' ?
> 
> 	Cordialement,
> 
> 	Laurent
> 
> 	-------------
> 	PS: another problem: I failed to enable libASImage when
> 	I tried to produce Root debian packages. libAfterImage
> 	was previously installed on the box. libASImage.so was built
> 	in the source tree, but the debian packages did not install 
> 	this module.
> 

Cheers, Fons.


-- 
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:17 MET