[ROOT] ROOT 3.04.02 and Visual .Net

From: Heather Kelly (heather@lheapop.gsfc.nasa.gov)
Date: Tue Feb 25 2003 - 19:20:49 MET


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 



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