Hello Costas,
Can you check whether that DLL is present under your
C:\bin\root_3_03_07\bin (!!!)
Windows DLL's are a kind of "executable" rather the library and its
"standard" place is "bin" directory rather "lib" This means all exe files and
all DLL"s are advised to be downloaded in a single directory.
In theory you may not provide the full path and extension to load the dynamic library
gSystem->Load("libPhysics")
should work from the proper place on either platform and your code will be platform
independent.
You may try to install ROOT from the slef-installed InstallShield kit
http://www.rhic.bnl.gov/~fine/QtRoot/ROOT303.exe.
This should place all things in the right place automatically and set your env variables also.
(See some comment http://www.usatlas.bnl.gov/~fine/QtRootDownload.html )
Can you try this ? Hope this helps.
Best regards, Valeri
-----
Dr.Valeri Fine
STAR/US Atlas E-mail: fine@bnl.gov
Brookhaven National Lab Phone: +1 631 344 7806
Upton, NY 11973-5000 FAX: +1 631 344 4206
USA
----- Original Message -----
From: "ANDREOPOULOS COSTAS" <candreop@cc.uoa.gr>
To: <roottalk@pcroot.cern.ch>
Cc: <costas@fnal.gov>
Sent: Monday, August 26, 2002 9:54 AM
Subject: [ROOT] WinXP + ROOT
> Hello,
>
> i have been working with ROOT/Linux for years but now that i
> try ROOT on WinXP it seems to me that i can do nothing... :-)
> I have a couple of questions:
> -----1
> Could someone, please, explain to me why
> gSystem->Load("$ROOTSYS/lib/libPhysics.dll");
> does not work as it did on my Linux machines (with dll->so)?
> I get the message:
> Load Error: Failed to load Dynamic link library
> C:\bin\root_3_03_07/lib/libPhysics.dll
> *** Interpreter error recovered ***
>
> -----2
> I managed to have an older application to compile/link
> using VC++6. But when i try to run it i get an error
> message saying it can not find libCore.dll (i suppose
> it finds no dll and it was just the first it tried).
> Is there something like $LD_LIBRARY_PATH on Windows?
>
> Thank you in advance for any reply...
>
> best regards,
> Costas
>
> -`
> ( '< ''~''
> / ) ) ( o o )
> -------------------------------------/|''-----o000--(_)--000o-------
> Constantinos Andreopoulos - costas@fnal.gov www.cc.uoa.gr/~candreop
> University of Athens - Physics Dept.
> Division of Nuclear & Particle Physics Off. Tel. +3-010-727-6742
> HEP & Application Lab., Office: Ib-14 Cell.Tel. +3-094-462-7263
> Panepistimioupoli Zografou, 15771 Athens Off. Fax +3-010-727-6987
> .oooO
> ( ) Oooo.
> -------------------------------------------------\ (----( )-------
> Don't look back, the lemmings are gaining on you \_) ) /
> (_/
>
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:05 MET