Re: [ROOT] ROOT 3.04.02 and Visual .Net

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Feb 26 2003 - 13:25:20 MET


I've just install VC .NET on my XP vmware machine and will try to build
binaries using Matt's recipes. If successful we will distribute these
binaries too.

-- Fons


On Tue, 2003-02-25 at 22:10, Rene Brun wrote:
> Hi Axel, Heather, Matt and .NET fans,
> 
> There is nothing wrong having a public discussion on this topic.
> I think that it is good to know that there are users looking
> to migration issues to .NET.
> I trust you to make a good investigation et propose solutions.
> We will include in the sources all changes that you will feel relevant
> once there is a consensus.
> 
> Rene
> 
> 
> On 
> Tue, 25 
> Feb 2003, Axel Naumann 
> wrote:
> 
> > Hi,
> > 
> > I managed to build root with .NET without any problems; I didn't come 
> > around testing whether linking VC6 libs within .NET works. So I have not 
> > had this problem because I've never tried it.
> > 
> > Either way: The standard c++ lib for .NET and VC6 differ, so my 
> > assumption would be (now, it wasn't a few weeks ago) that cross linking 
> > will only work when using the backward compatible .NET std lib - which 
> > doesn't sound like a good idea, because that gives you the same buggy 
> > lib people were fighting with under VC6.
> > 
> > As Rene might not like a public discussion on this (it's not a bug 
> > report as .NET is not supported, and .NET is so buggy that supporting it 
> > and adding 100 work-arounds won't really pay off), we should maybe 
> > migrate it to a closed forum. Valeri: Have you seen this? Did you test it?
> > 
> > Either way, building root from sources with .NET instead of using the 
> > binary distribution for VC6 should get rid of this problem.
> > 
> > Cheers, Axel.
> > 
> > Heather Kelly wrote:
> > > Hi,
> > > 
> > > I have seen plenty of discussion concerning ROOT & Visual .Net - we are 
> > > using ROOT 3.04.02 on Windows.
> > > It was my understanding from previous posts that one could link against 
> > > the ROOT binaries compiled with VC6.
> > > However, we have run into trouble when compiling/linking (using Visual 
> > > .Net) our ROOT I/O classes against ROOT 3.04.02 (compiled with VC6), 
> > > specifically related to TObject::SavePrimitive:
> > > 
> > > mcRootData.arc(McPositionHit.obj) : error LNK2001: unresolved external 
> > > symbol "public: virtual void __thiscall TObject::SavePrimitive(class 
> > > std::basic_ofstream<char,struct std::char_traits<char> > &,char const 
> > > *)" 
> > > (?SavePrimitive@TObject@@UAEXAAV?$basic_ofstream@DU?$char_traits@D@std@@@std 
> > > @@PBD@Z)
> > > 
> > > 
> > > Clearly, others have not had this problem...is there a known cause for 
> > > this?  and is there an easy fix?
> > > 
> > > Thanks,
> > > Heather
> > 
-- 
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 : Thu Jan 01 2004 - 17:50:09 MET