Please use root-config --libs to link with the correct set of libs.
The problem is that currently you link with libNew that is there for
specific debug cases.
Cheers, Fons.
On Fri, 2002-09-13 at 13:17, Thomas Nisius wrote:
> Hi,
>
> any suggestions why the following piece of code does not work?
> it works well, when interpreted, but i have to compile it since it is part of a bigger project.
> I use MSVC 6 on an Intel machine running Windows2000 SP2.
>
> #include "TFile.h"
>
> int main(int argc, char **argv)
> {
>
> TFile f("sim200.root");
> f.ls();
> f.Close();
>
> return 0;
> }
>
> this is the error message i receive:
>
> <CustomReAlloc2>: passed oldsize 64, should be 458761
> Fatal in <CustomReAlloc2>: unreasonable size (458761)
> aborting
> Warning in <TWinNTSystem::StackTrace>: this method must be overridden!
>
> Thomas
> ______________________________________________________________________________
> WEB.DE MyPage - Ohne Computerkenntnisse in nur 5 Minuten online! Alles
> inklusive! Kinderleicht! http://www.das.ist.aber.ne.lustige.sache.ms/
--
Org: CERN, European Laboratory for Particle Physics.
Mail: 1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248
WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7679480
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:09 MET