I just can’t understand what’s happening : I was using ROOT the whole day without any problem, but after a crash & reboot, there’s no more prompt when I start it !
I’m using the win32gdk v4.03.02 version under cygwin and Win Me. There are no problems under cygwin bash shell (except the fact that there is no graphical output ) or MS-DOS window (no output either).
What should I do ? I know you may need more infos but what kind of info ?
I don’t understand - you’re saying there are no problems under bash nor under the windows command prompt, but you don’t get a prompt? What graphical output?
Could you tell me what you type, what you see, and what you expect to see?
Axel.
FreeType Engine v2.1.3 used to render TrueType fonts.
Compiled for linux with thread support.
CINT/ROOT C/C++ Interpreter version 5.15.159, Nov 14 2004
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0]
[/code]
so for me that’s ok. But when trying “hello world” or to print a canvas, there is no output. Under xterm, I expect to see the same screen - as until yesterday afternoon… -, but there is no prompt :
FreeType Engine v2.1.3 used to render TrueType fonts.
Compiled for linux with thread support.
CINT/ROOT C/C++ Interpreter version 5.15.159, Nov 14 2004
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
[/code]
and I have to quit with CTRL-C…
(Note that version details are false here, this is the labo screen under linux, not mine under cygwin…)
uh, okay. This sounds like a wrong setting of your env vars, +maybe some broken / missing files. Please send the output of “env” from a bash shell, and of “set” from a command.com (of whatever the name of cmd.exe under WinME was). Please check that the ROOT welcome “screen” on your computer really says “win32gdk” - otherwise things are different… And please send me the output of “ls -l $ROOTSYS/bin” from a cygwin bash.
synapses@homer ~
$ ls -l $ROOTSYS/bin
total 31920
-rw-r--r-- 1 synapses all 5444 Jan 12 08:17 ROOT.py
-rw-r--r-- 1 synapses all 5647 Jan 12 08:17 ROOT.pyc
-rw-r--r-- 1 synapses all 5647 Jan 12 08:17 ROOT.pyo
-rwxr-xr-x 1 synapses all 8192 Jan 12 07:58 bindexplib.exe
-rwxr-xr-x 1 synapses all 3584 Jan 20 17:30 cint.exe
-rwxr-xr-x 1 synapses all 335872 Jan 13 22:03 gdk-1.3.dll
-rwxr-xr-x 1 synapses all 360316 Jan 12 08:15 glib-1.3.dll
-rwxr-xr-x 1 synapses all 712704 Feb 10 07:44 h2root.exe
-rwxr-xr-x 1 synapses all 28672 Feb 10 07:43 hadd.exe
-rwxr-xr-x 1 synapses all 747486 Jan 12 08:15 iconv-1.3.dll
-rwxr-xr-x 1 synapses all 831488 Feb 10 07:43 libASImage.dll
-rwxr-xr-x 1 synapses all 1146880 Jan 20 17:30 libCint.dll
-rwxr-xr-x 1 synapses all 4788224 Feb 10 07:40 libCore.dll
-rwxr-xr-x 1 synapses all 278528 Feb 10 07:42 libEG.dll
-rwxr-xr-x 1 synapses all 2109440 Feb 10 07:43 libEGPythia6.dll
-rwxr-xr-x 1 synapses all 102400 Feb 10 07:42 libFumili.dll
-rwxr-xr-x 1 synapses all 647168 Feb 10 07:43 libGed.dll
-rwxr-xr-x 1 synapses all 61440 Feb 10 07:42 libGedOld.dll
-rwxr-xr-x 1 synapses all 1949696 Feb 10 07:42 libGeom.dll
-rwxr-xr-x 1 synapses all 233472 Feb 10 07:42 libGeomPainter.dll
-rwxr-xr-x 1 synapses all 634880 Feb 10 07:41 libGpad.dll
-rwxr-xr-x 1 synapses all 1380352 Feb 10 07:41 libGraf.dll
-rwxr-xr-x 1 synapses all 581632 Feb 10 07:41 libGraf3d.dll
-rwxr-xr-x 1 synapses all 2924544 Feb 10 07:41 libGui.dll
-rwxr-xr-x 1 synapses all 311296 Feb 10 07:43 libGuiBld.dll
-rwxr-xr-x 1 synapses all 942080 Feb 10 07:43 libHbook.dll
-rwxr-xr-x 1 synapses all 1638400 Feb 10 07:40 libHist.dll
-rwxr-xr-x 1 synapses all 335872 Feb 10 07:42 libHistPainter.dll
-rwxr-xr-x 1 synapses all 208896 Feb 10 07:42 libHtml.dll
-rwxr-xr-x 1 synapses all 233472 Feb 10 07:42 libMLP.dll
-rwxr-xr-x 1 synapses all 1343488 Feb 10 07:40 libMatrix.dll
-rwxr-xr-x 1 synapses all 270336 Feb 10 07:41 libMinuit.dll
-rwxr-xr-x 1 synapses all 28672 Feb 10 07:40 libNew.dll
-rwxr-xr-x 1 synapses all 319488 Feb 10 07:42 libPhysics.dll
-rwxr-xr-x 1 synapses all 245760 Feb 10 07:42 libPostscript.dll
-rwxr-xr-x 1 synapses all 684032 Feb 10 07:42 libProof.dll
-rwxr-xr-x 1 synapses all 73728 Feb 10 07:42 libProofGui.dll
-rwxr-xr-x 1 synapses all 409600 Feb 10 07:43 libPyROOT.dll
-rwxr-xr-x 1 synapses all 315392 Feb 10 07:43 libQuadp.dll
-rwxr-xr-x 1 synapses all 524288 Feb 10 07:43 libRFIO.dll
-rwxr-xr-x 1 synapses all 368640 Feb 10 07:43 libRGL.dll
-rwxr-xr-x 1 synapses all 348160 Feb 10 07:43 libRXML.dll
-rwxr-xr-x 1 synapses all 163840 Feb 10 07:42 libRint.dll
-rwxr-xr-x 1 synapses all 765952 Feb 10 07:43 libTable.dll
-rwxr-xr-x 1 synapses all 196608 Feb 10 07:43 libThread.dll
-rwxr-xr-x 1 synapses all 864256 Feb 10 07:41 libTree.dll
-rwxr-xr-x 1 synapses all 933888 Feb 10 07:42 libTreePlayer.dll
-rwxr-xr-x 1 synapses all 311296 Feb 10 07:42 libTreeViewer.dll
-rwxr-xr-x 1 synapses all 180224 Feb 10 07:42 libVMC.dll
-rwxr-xr-x 1 synapses all 512000 Feb 10 07:43 libWin32gdk.dll
-rwxr-xr-x 1 synapses all 18432 Jan 12 08:03 makecint.exe
-rwxr-xr-x 1 synapses all 8447 Feb 9 07:09 memprobe
-rwxr-xr-x 1 synapses all 4096 Feb 10 07:43 proofserv.exe
-rwxr-xr-x 1 synapses all 11776 Jan 12 08:03 rlibmap.exe
-rwxr-xr-x 1 synapses all 28672 Jan 12 07:58 rmkdepend.exe
-rwxr-xr-x 1 synapses all 16131 Feb 9 07:09 root-config
-rwxr-xr-x 1 synapses all 5632 Feb 10 07:43 root.exe
-rwxr-xr-x 1 synapses all 122880 Feb 9 16:38 rootcint.exe
-rw-r--r-- 1 synapses all 16509 Feb 9 16:38 rootcint.exp
-rw-r--r-- 1 synapses all 28232 Feb 9 16:38 rootcint.lib
-rwxr-xr-x 1 synapses all 5632 Feb 10 07:43 rootn.exe
I never managed to start a win32 (i.e. non-win32gcc) root under a bash shell, be it text or xterm (there seems to be a problem attaching to the terminal). So all I could help you with is getting the graphics output working again, under a windows cmd shell. Could you run “root” without arguments from a windows command prompt, and send the output (including the “WELCOME to ROOT” header) of:
gROOT->IsBatch()
and
gVirtualX->IsA()->GetName()
If it can help, I have just noticed that I am able to draw a simple TGraph, but defining a TCanvas crashes with an error in GDI.exe. So the results are :
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 4.03/02 9 february 2005 *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************
Compiled for win32 with thread support.
CINT/ROOT C/C++ Interpreter version 5.15.159, Nov 14 2004
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] gROOT->IsBatch()
(const Bool_t)0
root [1] gVirtualX->IsA()->GetName()
(const char* 0x1ee076c)"TGWin32"
root [2]
[quote=“berder”]If it can help, I have just noticed that I am able to draw a simple TGraph, but defining a TCanvas crashes with an error in GDI.exe.[/quote]Yes, that helps! You trashed your windows installation. A reinstall (I can only recommend using XP, which IMHO is the first decent OS MS is selling - e.g. you won’t be able to trash it that easily) will fix it.