Hi F-X,
Your code works fine on my Windows XP, here is the result :
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 4.01/05 10 December 2004 *
* *
* You are welcome to visit our Web site *
* <http://root.cern.ch> 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] .!dir
Volume in drive C has no label.
Volume Serial Number is 40D0-2F86
Directory of C:\home\bb\Temp\Hello
12/13/2004 05:27 PM <DIR> .
12/13/2004 05:27 PM <DIR> ..
12/13/2004 05:27 PM 516 .def
12/13/2004 05:27 PM 20,480 hello.exe
12/13/2004 05:27 PM 3,428 libHello.def
12/13/2004 05:27 PM 25,088 libHello.dll
12/13/2004 05:27 PM 14,196 libHello.exp
12/13/2004 05:27 PM 21,210 libHello.lib
12/13/2004 03:04 PM 157 LinkDef.h
12/13/2004 03:21 PM 1,885 LoaderMessage.txt
09/13/2002 09:12 AM 156 main.cxx
12/13/2004 05:27 PM 7,040 main.obj
12/13/2004 03:22 PM 2,269 Makefile
12/13/2004 03:14 PM 485 THello.cxx
12/13/2004 03:12 PM 247 THello.h
12/13/2004 05:27 PM 19,008 THello.obj
12/13/2004 05:27 PM 29,946 THelloDict.cxx
12/13/2004 05:27 PM 2,415 THelloDict.h
12/13/2004 05:27 PM 60,741 THelloDict.obj
17 File(s) 209,267 bytes
2 Dir(s) 11,144,880,128 bytes free
root [1]
The only difference is the version (I use the CVS one).
Cheers,
Bertrand.
-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch] On Behalf Of GENTIT
Francois-Xavier DAPNIA
Sent: Monday, December 13, 2004 3:59 PM
To: 'Club ROOT (roottalk@pcroot.cern.ch)'
Subject: [ROOT] Impossible to use Root 4.01/04 on Windows XP
Hello rooters,
I still have the problem that I described in bug 2562, and it seems that
I am the only one with this problem. I am working under Windows XP,
trying to use ROOT 4.01/04 version "Win32gdk". The problem is that none
of my programs compiled and linked ok, using "make" in a cygwin window,
work. When clicking on the .exe produced, I get the following message:
Error in <TWinNTSystem::DynamicPathName>: Win32gdk does not exist in
.;E:\Applications\extlib\ROOT\v4_01_04\root/bin; C:\WINNT\system32;
C:\WINNT;C:\WINNT\System32\Wbem; C:\Program Files\Common
Files\AutodeskShared\;E:\Applications\Dev\VS_7_1\Vc7\bin;E:\Applications
\Dev\VS_7_1\Common7\IDE;E:\Applications\rootdev\bin;E:\Applications\extl
ib\ROOT\v4_01_04\root\bin, or has wrong file extension (.dll)
Notice that the message is strange, since libWin32gdk.dll indeed exists
in E:\Applications\extlib\ROOT\v4_01_04\root\bin and is not empty.
The problem occurs also exactly the same if I compile and link the
program with Visual C++ 7.1
I have done an almost empty "hello" program which also does not work and
I join it with this mail. I would be extremely happy if someone could
try it. Joined with Hello.ZIP is also the file LoaderMessage.txt where
the full output written at the launch of the program is written.
I have done the following checks:
(1) - No problem at all with ROOT 4.00/08
(2) - ROOT in itself is perfectly working: I have tried .x benchmarks.C
and it works.
(3) - I have also tried to compile and link with make in a cygwin
window, all the ROOT examples in $ROOTSYS/test: everything works ok!!!
It is extremely irritating that only my programs do not work!!!
(4) - If instead of clicking twice on hello.exe, I launch ROOT and do
gSystem.Load("libHello"); everything works ok !!!
It is the first time I have such a strange problem with ROOT and I am
anxious of being obliged to stick forever to ROOT 4.00/08. Many many
thanks if you can help me!
F.X.Gentit
DAPNIA/SPP CEA Saclay
http://gentit.home.cern.ch/gentit/
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET