Re: new version Root 2.00/01 for NT - make problem

From: rene Scholte (r34@nikhef.nl)
Date: Wed Mar 18 1998 - 15:22:10 MET


Oops sorry my mistake, I forgot to clean up all the files I generated with
the makefile and the old root. now it works. Sorry to bother you guys. 


At 01:46 PM 3/18/98 +0100, rene Scholte wrote:
>Hello ROOT-team,
>
>I just downloaded the new root version for NT, and i try to load a dll in
>the ROOT-CINT which i created with version 1.03/1.09 and connect a root
>file (also created with the class in this dll)
>
>This dll is somewhat analogue to the famous "Event" example
>when i try to run the simple macro:
>
>{
>gROOT->Reset();
>Float_t x[1024];
>Float_t y[1024];
>
>gSystem.Load("Eventr.dll");
>TFile f("track.root");
>TTree *T = (TTree*)f.Get("T");
>}
>
>the following error occurs:
>
>CINT/ROOT C/C++ Interpreter version 5.13.44, Mar 1 1998
>Type ? for help. Commands must be C++ statements.
>Enclose multiple statements between { }.
>root [0] .x init.c
>Warning in <TBranchClones::Streamer>: Unknow class: Track. Cannot read
>BranchClo
>nes: fTracks1
>Warning in <TBranchClones::Streamer>: Unknow class: Track. Cannot read
>BranchClo
>nes: fTracks2
>Warning in <TBranchClones::Streamer>: Unknow class: Track. Cannot read
>BranchClo
>nes: fTracks3
>Warning in <TBranchClones::Streamer>: Unknow class: Track. Cannot read
>BranchClo
>nes: fTracks4
>Warning in <TLeafObject::Streamer>: Cannot find class:Event
>root [1]
>
>so obviously the new root cannot understand my dll created with the
>previous version.
>
>when i try to re-make my whole class, i get the following error :
>
>Eventr.obj : error LNK2001: unresolved external symbol "class TClass *
>__cdecl C
>reateClass(char const *,short,char const *,char const *,int,int,struct
>IconDesc_
>t *)" (?CreateClass@@YAPAVTClass@@PBDF00HHPAUIconDesc_t@@@Z)
>Eventr.dll : fatal error LNK1120: 1 unresolved externals
>NMAKE : fatal error U1077: 'link' : return code '0x19'
>Stop.
>
>Mind you everything worked fine with the previous version.
>
>So my question is : What im a doing wrong here ? 
>
>thanx in advance,
>
>Rene Scholte
>
>
>
>



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:31 MET