Re: [ROOT] X3D viewer does not work - configuration problem ?

From: Frankland John (frankland@ganil.fr)
Date: Thu Jul 24 2003 - 12:50:22 MEST


Rene Brun wrote:

>Hi John,
>
>I cannot reproduce this problem.
>
>I suspect something wrong with your system.rootrc.
>See the line relative to the plugin manager invoking X3D
>
Hi Rene

I had the following line in my .rootrc :
Plugin.TViewerX3D:          *  TViewerX3D    X3d          
"TViewerX3D(TVirtualPad*,Option_t*,const char*,UInt_t,UInt_t)"

I compared this to $ROOTSYS/etc/system.rootrc (updated when I did a 
complete CVS update
last week - the CVS stamp is 18/7/03) and found

Plugin.TViewerX3D:      x11    TViewerX3D    X3d          
"TViewerX3D(TVirtualPad*,Option_t*,const char*,UInt_t,UInt_t)"
+Plugin.TViewerX3D:     qt     TQtViewerX3D  QtX3d        
"TQtViewerX3D(TVirtualPad*,Option_t*,const char*,UInt_t,UInt_t)"

I changed these lines and now it works fine. Now I'm going to check the 
rest!
Thanks a lot

John

>
>Rene Brun
>
>On Mon, 21 Jul 
>2003, Frankland John wrote:
>
>  
>
>>Hi there
>>
>>I have just noticed that selecting X3D from the canvas View menu gives 
>>the following error :
>>
>>Error in <TRegexp::Index>: Bad Regular Expression
>>
>>and no X3D viewer appears. This happens e.g. if I run "shapes" or 
>>"geometry/na49" from the
>>demo toolbar, or if I run rootgeom.C (due to gPad->x3d() at the end of 
>>the script).
>>I am sure this is due to a configuration problem on my machine, but I have
>>just verified my './configure' options and done a completely fresh 
>>checkout and
>>compilation of the CVS head version.
>>Here are my './configure' options :
>>./configure linux --disable-asimage --enable-exceptions --enable-mysql 
>>--with-mysql-libdir=/usr/lib/mysql 
>>--with-mysql-incdir=/usr/include/mysql --with-x11-libdir=/usr/X11R6/lib 
>>--with-xpm-libdir=/usr/X11R6/lib --enable-thread 
>>--with-thread-libdir=/usr/lib --enable-opengl 
>>--with-opengl-libdir=/usr/lib --with-opengl-incdir=/usr/include 
>>--enable-cern --enable-rfio --enable-soversion 
>>--with-cern-libdir=$CERNLIB --with-shift-libdir=$CERNLIB
>>Can anyone tell me what I'm doing wrong ?
>>As the TGeo* classes don't yet work with OpenGL (as I observed and then 
>>verified
>>in the roottalk digest) not having X3D working is not helping me to see 
>>all the wonderful
>>detector geometries I'm not succeeding in creating !!! :-D
>>
>>Thanks a lot
>>John
>>
>>PS. redhat 8 machine with gcc3.2
>>
>>    
>>
>
>  
>


-- 

ganil logo <http://www.ganil.fr>
John D. Frankland <mailto:frankland@ganil.fr>
Beam Coordinator
GANIL
B.P. 55027
14076 CAEN Cedex 05

*tel:* +33 (0)231454628
*fax:* +33 (0)231454665



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET