Hi Ed, Did you remember to add #ifndef __CINT__ ClassImp(TPhdEdxFunctions); #endif Somewhere in your macro? Also the TPhdEdxFunctions .h files need to be TPhdEdxFunctions.h Cheers, Philippe. -----Original Message----- From: owner-roottalk@pcroot.cern.ch [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Ed Oltman Sent: Monday, December 17, 2001 12:32 PM To: roottalk@pcroot.cern.ch Subject: [ROOT] Help with ACLiC requested.. Hello, I am running version 3.02/06 of root on Win2000. I have VC++ v6 w/sp5. I attempted to run the landau/gaussian convoltion fitting code posted by Aaron Dominguez on 13-Dec-2001 (TPhdEdxFunctions.cxx). I copied the .cxx and .h files to my machine and then typed: .L TPhdEdxFunctions.cxx+ [note: line 696 had "i" redefined - fixed...] and this is what I get: Info in <ACLiC>: Creating shared library C:\resolmc\TPhdEdxFunctions_cxx.dll 5.cxx 7.cxx 9.cxx 11.cxx sc0.4.cxx Creating library TPhdEdxFunctions_cxx.lib and object TPhdEdxFunctions_cxx.exp sc0.4.obj : error LNK2001: unresolved external symbol "public: static char const * __cdecl TPhdEdxFunctions::Class_Name(void)" (?Class_Name@TPhdEdxFunctions@@SAPBDXZ) sc0.4.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TPhdEdxFunctions::Streamer(class TBuffer &)" (?Streamer@TPhdEdxFunctions@@UAEXAAVTBuffer@@@Z) sc0.4.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall TPhdEdxFunctions::ShowMembers(class TMemberInspector &,char *)" (?ShowMembers@TPhdEdxFunctions@@UAEXAAVTMemberIns pector@@PAD@Z) TPhdEdxFunctions_cxx.dll : fatal error LNK1120: 3 unresolved externals Any hints as to what I'm doing wrong? Ed Oltman
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:12 MET