Hello,
I've downloaded the last ROOT version and found it crashes
by "strange" reasons at start up time by time. Usually it complains
it can not access some ROOT include files or DLL's.
I found there are several reasons for that. All of them because
the idea:
" WNU - Windows is Not Unix" was forgotten by team.
Here is a list of the problems (see the attachment for the fix)
TApplication::TApplication:
LoadGraphicsLibs() needs gProgFile pointer. That was not assigned.
The statement "gSystem->SetProgname(fArgv[0])"
is called too late, namely after LoadGraphicsLibs is called.
One has to change the order, namely first issue
if (fArgv) gSystem->SetProgname(fArgv[0]);
then
LoadGraphicsLibs()
TROOT::LoadClass
Did assume "lib" prefix is to be added to the name
of the Dynamic library name by the OS .This is not case under
Windows. As result the name of the Windows DLL is not completed
and DLL file can not be found
TSystem::CompileMacro
Applied wrong ExpandFileName method rather ExpandPathName
As result the file name is not generated properly if it contains
the Windows special symbols.
TSystem::ExapandFileName
did treat "blank" as a "file separator". As result the file
name that with the "blank inside" is not generated properly.
Hope this helps Windows users.
With m y best regards, Valeri
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:49 MET