RE: [ROOT] ROOT 3.04.02 and Visual .Net

From: Faine, Valeri (fine@bnl.gov)
Date: Tue Feb 25 2003 - 19:42:02 MET


Hi can you try
http://root.bnl.gov to see whether your problem still persists,
Anyway make sure:
 1. You had applied "Riostream.h" rather the regular <iostream>;
 2. R__ANSISTREAM  CPP flag from " RConfig.h" is defined.

Those should be provided for you automatically from the distribution
mentioned above ( http://root.bnl.gov/QtRoot/downloads/ROOT305.exe )
I hesitate uploading the version 3.05/02 because it is still in its
earlier stage.

However if you need very this version that can be uploaded also.

  Hope this helps.
                             Valeri


> -----Original Message-----
> From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]
> On Behalf Of Heather Kelly
> Sent: Tuesday, February 25, 2003 1:21 PM
> To: roottalk@pcroot.cern.ch
> Subject: [ROOT] ROOT 3.04.02 and Visual .Net
> 
> 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@@
@s
> td
> @@PBD@Z)
> 
> 
> Clearly, others have not had this problem...is there a known cause for
> this?  and is there an easy fix?
> 
> Thanks,
> Heather



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET