GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Bug in EventDisplay
Bug in EventDisplay [message #9290] Thu, 03 September 2009 08:49 Go to next message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *ikp.kfa-juelich.de
Dear PandaRooters,

I get an error when I try to use the eventDisplay.C macro in /macro/run/ with the new root version of the new external packages.

The error message is:

Error in <TGLWidget::CreateGLContainer>: No good visual found!
Error: Symbol G__exception is not defined in current scope /home/stockman/fairroot/cbmsoft/pandaroot/macro/mvd/./../run/eventDispla y.C:49:
Error: type G__exception not defined FILE:/home/stockman/fairroot/cbmsoft/pandaroot/macro/mvd/./../run/eventD isplay.C LINE:49
(int)0
*** Interpreter error recovered ***

I hope someone has an idea how to overcome this problem.

Cheers,

Tobias
Re: Bug in EventDisplay [message #9291 is a reply to message #9290] Thu, 03 September 2009 09:19 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi Tobias

Is it your own machine which has troubles with the macro?
Probably GL or GLU is not installed on the machine which is needed by ROOT for the eventdisplay. Could you please check.

Ciao

Florian
Re: Bug in EventDisplay [message #9292 is a reply to message #9291] Thu, 03 September 2009 09:46 Go to previous messageGo to next message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *ikp.kfa-juelich.de
Hallo Florian,

openGL ist bei mir installiert. Die glxgears Zahnräder drehen sich.

Viele Grüße

Tobias
Re: Bug in EventDisplay [message #9293 is a reply to message #9292] Thu, 03 September 2009 10:32 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi Tobias

Please check if you can find libGLU somewhere.
Another possiblity is to run rootconfig.sh in theroot directory again and to check
if libGL and libGLU was found by ROOT.

Ciao

Florian
Re: Bug in EventDisplay [message #9294 is a reply to message #9293] Thu, 03 September 2009 11:25 Go to previous messageGo to next message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *ikp.kfa-juelich.de
Hallo Florian,

rootconfig.sh findet libGLU und libMesaGLU in /usr/lib.

Ich habe lasse gerade Root neu kompilieren.

Viele Grüße

Tobias
Re: Bug in EventDisplay [message #9295 is a reply to message #9293] Thu, 03 September 2009 11:29 Go to previous messageGo to next message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *ikp.kfa-juelich.de
Hi Florian,

the problem is still there.

Cheers,

Tobias
Re: Bug in EventDisplay [message #9297 is a reply to message #9295] Thu, 03 September 2009 12:07 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi Tobias

Can you please send me the output of rootconfig.sh.

Ciao

Florian
Re: Bug in EventDisplay [message #9298 is a reply to message #9297] Thu, 03 September 2009 12:46 Go to previous messageGo to next message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *ikp.kfa-juelich.de
Here it comes:

stockman@ikp455: ./rootconfig.sh

./rootconfig.sh: line 30: [: too many arguments
Configuring for linux
INFO: --enable-builtin-ftgl: already enabled by default.
INFO: --enable-monalisa: already enabled by default.
Checking for GNU Make version >= 3.79.1 ... ok
Checking for C compiler ... gcc
Checking for C++ compiler ... g++
Checking for linker (LD) ... g++
Checking for F77 compiler ... gfortran
Checking for libX11 ... /usr/lib
Checking for X11/Xlib.h ... /usr/include
Checking for X11/Xft/Xft.h ... /usr/include
Checking for X11/extensions/shape.h ... /usr/include
Checking for libXpm ... /usr/lib
Checking for libXft ... /usr/lib
Checking for libXext ... /usr/lib
Checking whether to build included libfreetype6 ... yes
Checking whether to build included libftgl ... yes
Checking whether to build included libpcre ... yes
Checking whether to build included zlib ... yes
Checking for GL/gl.h ... /usr/include
Checking for libGL, or libMesaGL ... /usr/lib
Checking for libGLU, or libMesaGLU ... /usr/lib
Checking for GL/glew.h ... no
Checking for libGLEW ... no
Checking whether to build included GLEW ... yes
Checking for occi.h ... no
Checking for libclntsh, or oci ... no
Checking for libocci, or oraocci10 ... no
Checking for libpq-fe.h ... no
Checking for libpq ... no
Checking for sql.h ... no
Checking for libsqlod ... no
Checking for sqlext.h ... no
Checking for libiodbc, libodbc, or odbc32 ... /usr/lib
Checking for rfio_api.h ... no
Checking for librfio, libshift, shiftmd, or shift ... no
Checking for rfio_api.h ... no
Checking for stager_api.h ... no
Checking for libshift, shiftmd, or shift ... no
Checking for gfal_api.h ... no
Checking for libgfal ... no
Checking for G4Navigator.hh ... /home/stockman/fairroot/cbmsoft/transport/geant4/include
Checking for libG4navigation ... /home/stockman/fairroot/cbmsoft/transport/geant4/lib
Checking for CLHEP/Vector/Rotation.h ... /home/stockman/fairroot/cbmsoft/cern/clhep/include
Checking for ApMon.h ... /home/stockman/fairroot/cbmsoft/tools/monalisa/include
Checking for libapmoncpp ... /home/stockman/fairroot/cbmsoft/tools/monalisa/lib
Checking for fftw3.h ... /usr/include
Checking for libfftw3, or libfftw3-3 ... /usr/lib
Checking for libPythia6 ... /home/stockman/fairroot/cbmsoft/generators/lib
Checking for pythia6_common_block_address__ in /home/stockman/fairroot/cbmsoft/generators/lib/libPythia6.so ... no
Checking for pythia6_common_block_address_ in /home/stockman/fairroot/cbmsoft/generators/lib/libPythia6.so ... no
Checking for pythia6_common_address in /home/stockman/fairroot/cbmsoft/generators/lib/libPythia6.so ... ok
Checking for Pythia.h ... no
Checking for libpythia8 ... no
Checking for dcap.h ... no
Checking for libdcap ... no
Checking for chirp_client.h ... no
Checking for libchirp_client ... no
Checking for dns_sd.h ... /usr/include
Checking for libdns_sd ... /usr/lib
Checking for libglite-api-wrapper ... no
Checking for gapiUI.h ... no
Checking for libgapiUI ... no
Checking for jpeglib.h ... /usr/include
Checking for png.h ... /usr/include
Checking for tiffio.h ... /usr/include
Checking for gif_lib.h ... /usr/include
Checking for libjpeg ... /usr/lib
Checking for libtiff ... /usr/lib
Checking for libungif ... /usr/lib
Checking for libz ... /usr/lib
Checking for libpng ... /usr/lib
Checking whether to build included libAfterImage ... yes
Checking for ldap.h ... /usr/include
Checking for libldap ... /usr/lib
Checking for liblber ... /usr/lib
Checking for Python.h ... /usr/include/python2.6
Checking for python2.6, libpython2.6, libpython, python, or Python ... /usr/lib/python2.6/config
Checking for xml2-config ... /usr/local/panda/ALIEN/alien/bin/xml2-config
Checking for libxml2 version >= 2.4.x ... ok
Checking whether to build xrootd ... no
Checking for libssl ... /usr/lib
Checking for libcrypto ... /usr/lib
Checking for openssl/bio.h ... /usr/include
Checking for openssl/blowfish.h ... /usr/include
Checking for openssl/err.h ... /usr/include
Checking for openssl/pem.h ... /usr/include
Checking for openssl/rand.h ... /usr/include
Checking for openssl/rsa.h ... /usr/include
Checking for t_server.h ... no
Checking for libsrp ... no
Checking for libgmp ... /usr/lib
Checking for libmisc ... no
Checking for pwauth.h ... no
Checking for krb5.h ... /usr/include
Checking for libk5crypto ... /usr/lib
Checking whether we're using MIT Kerberos ... yes
Checking for libkrb5 ... /usr/lib
Checking for libcrypto ... /usr/lib
Checking for kinit ... no
Checking for libcom_err ... /usr/lib
Checking for shadow passwords ... yes
Checking for gsl/gsl_version.h ... no
Checking for gsl-config ... /usr/bin/gsl-config
Checking for GSL version >= 1.8 ... ok
Checking whether to build libMathMore ... yes
Checking whether to build libGenVector ... yes
Checking whether to build CINT5 ... yes
Checking whether to build CINT7 ... no
Checking whether to build libCintex ... yes
Checking whether to build libReflex ... yes
Checking whether to build libRooFit ... yes
Checking whether to build libMinuit2 ... yes
Checking whether to build libUnuran ... no
Checking whether to build libGdml ... no
Checking whether to build libTable ... no
Checking whether to build libMemStat ... yes
Checking for Clarens support ... no
Checking for PEAC support ... no
Generating cint dictionaries.
Checking whether setresuid declared in /usr/include/unistd.h ... yes
Writing config/Makefile.config ... done
Writing config/Makefile.comp ... done
Writing include/RConfigure.h ... done
Writing include/RConfigOptions.h ... done
Writing bin/root-config ... done
Writing etc/system.rootrc ... done
Writing etc/system.rootauthrc ... done
Writing etc/system.rootdaemonrc ... done
Writing etc/root.mimes ... done
Writing etc/daemons/rootd.rc.d ... done
Writing etc/daemons/rootd.xinetd ... done
Writing etc/daemons/proofd.rc.d ... done
Writing etc/daemons/proofd.xinetd ... done
Writing etc/daemons/xrootd.rc.d ... done
Writing etc/daemons/olbd.rc.d ... done
Writing bin/memprobe ... done
Writing build/misc/root-help.el ... done
Writing macros/html.C ... done
Writing bin/thisroot.sh ... done
Writing bin/thisroot.csh ... done
Writing bin/genreflex ... done
Writing bin/genreflex-rootcint ... done
Writing config.status ... done

Enabled support for asimage, astiff, bonjour, builtin_afterimage, builtin_ftgl, builtin_freetype, builtin_glew, builtin_pcre, builtin_zlib, cint5, cintex, exceptions, fftw3, g4root, genvector, krb5, ldap, mathmore, memstat, minuit2, monalisa, opengl, pythia6, python, reflex, roofit, shadowpw, shared, soversion, ssl, xft, xml.

To build ROOT type:

make
Re: Bug in EventDisplay [message #9432 is a reply to message #9290] Mon, 21 September 2009 16:45 Go to previous messageGo to next message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *ikp.kfa-juelich.de
Dear pandaRooters,

I could solve the error:
Error in <TGLWidget::CreateGLContainer>: No good visual found!

The problem is a wrong order of the paths inside LD_LIBRARY_PATH set by config.sh.

For my system the path /usr/X11R6/lib has to be before /usr/lib which is not the case in config.sh. After fixing this it works again.

Cheers,

Tobias
Re: Bug in EventDisplay [message #9433 is a reply to message #9432] Mon, 21 September 2009 16:49 Go to previous messageGo to next message
Anonymous Poster From: *e18.physik.tu-muenchen.de
Hi Tobias,

what happens if you delete all entries /usr/* from your LD_LIBRARY_PATH?

Thanks, Christian
Re: Bug in EventDisplay [message #9533 is a reply to message #9433] Thu, 08 October 2009 10:32 Go to previous messageGo to next message
Anonymous Poster From: *inp.nsk.su
Hi Christian,

I had the same error as Tobias. I my case I has to put the directory /usr/lib/nvidia before /usr/lib in LD_LIBRARY_PATH and it works. If I, as you suggest, remove all entries /usr/* from my LD_LIBRARY_PATH it also works!

Andrey
Re: Bug in EventDisplay [message #9542 is a reply to message #9533] Fri, 09 October 2009 08:25 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi

They /usr directories were needed by some older (probably incorrect) system and then stayed in the code.

Since they are introducing now many and most of all obscure errors I removed the /usr related directories from the LD_LIBRARY_PATH.

Hope this solves the problems.

Ciao

Florian
Re: Bug in EventDisplay [message #11570 is a reply to message #9290] Fri, 11 March 2011 05:45 Go to previous messageGo to next message
manoj.jadhav is currently offline  manoj.jadhav
Messages: 41
Registered: February 2010
Location: Mumbai, India
continuous participant
From: *162.23.4.static-mumbai.vsnl.net.in
Hi all,

I was trying to run create_lumi.C from lmd macro but unfortunately it showing following error,

..........................................................
Xlib: extension "GLX" missing on display ":0.0".
Error in <TGLWidget::CreateWindow>: No good visual found!
Error: Symbol #include is not defined in current scope create_lumi.C:114:
Error: Symbol exception is not defined in current scope create_lumi.C:114:
Syntax Error: #include <exception> create_lumi.C:114:
Error: Symbol G__exception is not defined in current scope create_lumi.C:114:
Error: type G__exception not defined FILE:/home/manoj/panda/pandaroot/macro/lmd/./create_lumi.C LINE:114
*** Interpreter error recovered ***
..........................................................

But before few day it was running fine.
What should I do to get rid of this problem?
thanks in advance


Manoj Jadhav
I.I.T.Bombay
Mumbai
Re: Bug in EventDisplay [message #11572 is a reply to message #11570] Fri, 11 March 2011 11:17 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi,
this does not seem a bug of the event display.
I would say that you are using a machine where some GL libraries are not installed, or maybe you have connected to some machine without the graphics (ssh -X?). I would explore both things.
Re: Bug in EventDisplay [message #11575 is a reply to message #11572] Fri, 11 March 2011 12:53 Go to previous message
manoj.jadhav is currently offline  manoj.jadhav
Messages: 41
Registered: February 2010
Location: Mumbai, India
continuous participant
From: *162.23.4.static-mumbai.vsnl.net.in
Hi Stefano,

I am totally agreed with you this seems to be error due to GL library, but for my machine mesa gl, masa & openmotif all are correctly installed and also few days before macro was running fine.
Is there any way to find out the missing lib?


Manoj Jadhav
I.I.T.Bombay
Mumbai
Previous Topic: New external packages: TH2 COLZ logZ bug
Next Topic: Problem with GeoHandling
Goto Forum:
  


Current Time: Thu Mar 28 10:50:00 CET 2024

Total time taken to generate the page: 0.00949 seconds