RE: [ROOT] Ntuples in programs

From: kamps (kamps@fsw.leidenuniv.nl)
Date: Mon Oct 30 2000 - 11:55:12 MET


Hello Valeri, Bernard,

In the small project I posted last friday, setting Multithreaded DLL, made
the
error go away indeed.

In my original project I used this setting, but not consistently, so I was
optimistic
that this would do the trick. In my original project I:

1) changed to run-time library Multithreaded DLL

2) removed both the Debug and Release folder from the project, to make sure
everything would be compiled with the new settings

3) removed the root lib files from the project

4) Used rebuild all, which without the root lib files led to linking errors,
of course

5) Added the root lib files, linked, and got an exe

And found the problem persisted

I then:

1) deleted all root lib files

2) Rebuild all

3) Added all root lib files, except libNew.lib

4) Rebuild all to link

Now I got an executable that produced a valid n-tuple.
It seems this works for me, at least for the moment.
If it would be of help to you, I could try to find a minimum project that
reproduces
the error with libNew.lib in.

Cheers,
	Marc


> -----Original Message-----
> From: owner-roottalk@pcroot.cern.ch
> [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Valeri Fine (Faine)
> Sent: Friday, October 27, 2000 8:46 PM
> To: Bernard Genolini; kamps
> Cc: roottalk@pcroot.cern.ch
> Subject: Re: [ROOT] Ntuples in programs
>
>
> > My programs seem also more stable...
> > (I even have the error when I switch on the Multithreaded DLL option).
> > I had this idea when looking at the .lib files used by Andrew
> Haas: only the
> > minimum, and not libNew. lib!
> >
>
>    I am begging a pardon but I did not get what you said.
>
>   I said you MUST recompile everything with "Mulithread DLL" option ON
>   because very these options were used to produce the ROOT DLLs.
>
>   Did you recompile ALL your codes and do you still have the same
> problems ?
>   (To make sure you did, please, wipe out what you did before).
>
>   With my regards,
>                           Valery
>
>



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:36 MET