RE: Problem upgrading from 4.00.02 to 4.03.02

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Thu, 03 Mar 2005 21:28:40 -0600


Hi,

You might be able to clear up the problem by calling

   gInterpreter->EnableAutoLoading();
after loading your library (see your macro modified a little further down).

Alternatively you might be able to avoid the problem by using the release that has been compiled with debug info.

Cheers,
Philippe.

{
gROOT->Reset();
if (gSystem->Load("libDAASMI.dll")==0) {   printf("Shared library libDAASMI.dll loaded\n"); }
gInterpreter->EnableAutoLoading();
canvas = new TCanvas("canvas", "canvas", 0, 0, 800, 900); }

-----Original Message-----
From: Woon-Seng Choong [mailto:wschoong_at_lbl.gov] Sent: Thursday, March 03, 2005 8:05 PM
To: Philippe Canal
Cc: roottalk_at_pcroot.cern.ch
Subject: Re: [ROOT] Problem upgrading from 4.00.02 to 4.03.02

I have never use the CVS repository. I probably won't want to build root myself either. Is there a quick fix or do I have to wait until the next release? Thanks

On Mar 3, 2005, at 4:08 PM, Philippe Canal wrote:

> Hi,
>
> We recently discovered and fixed a problem that lead to similar type of
> errors.
> You will need to use the code at the head of the CVS repository.
>
> Cheers,
> Philippe.
>
> -----Original Message-----
> From: owner-roottalk_at_pcroot.cern.ch
> [mailto:owner-roottalk_at_pcroot.cern.ch]
> On Behalf Of WSChoong_at_lbl.gov
> Sent: Wednesday, March 02, 2005 6:11 PM
> To: roottalk_at_pcroot.cern.ch
> Subject: [ROOT] Problem upgrading from 4.00.02 to 4.03.02
>
>
> I have been using ROOT 4.00.02 on a Window 2000 system. After I switch
> to using 4.03.02, I have problem running ROOT now. The problem is as
> follow. I have a macro file which with following lines
>
> {
> gROOT->Reset();
>
> if (gSystem->Load("libDAASMI.dll")==0) {
> printf("Shared library libDAASMI.dll loaded\n");
> }
>
> canvas = new TCanvas("canvas", "canvas", 0, 0, 800, 900);
> }
>
> When I execute it, I get error from ROOT which I have included the
> printout at the end of this email. Now if I delete the lines
> loading 'libDAASMI.dll', I don't get any errors. 'libDAASMI.dll' is
> shared library which I created. I have attached 'libDAASMI.dll' in this
> email. I hope someone can helped me resolve this problem.
>
>
> -------- Printout from ROOT-----------------
> *******************************************
> * *
> * 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 { }.
> Welcome to Prostate Scanner
> root [0] .x test.C
> Shared library libDAASMI.dll loaded
> Load Error: Failed to load Dynamic link library C:\dev\root\4.03.02
> \bin\libASIma
> ge.dll
> *** Interpreter error recovered ***
> root [1] .q
>
>
>
>
>
Received on Fri Mar 04 2005 - 04:40:57 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:05 MET