[ROOT] Linking under Windows

From: Lindelöf David (David.Lindelof@cern.ch)
Date: Thu Sep 26 2002 - 16:58:04 MEST


Hello,

I suppose this is a well-known problem but couldn't find any answer anywhere:

I've installed root under Windows 2000 and am trying under Visual C++ to 
build a .DLL following Andrew Haas' instructions. I scrupulously add all 
*.lib to the project, and specify the include directory, yet when the time 
comes to build the .DLL come error messages of this kind:

error LNK2001: unresolved external symbol "class ROOT::TGenericClassInfo * 
__cdecl ROOT::GenerateInitInstance(class myclass const *)" 
(?GenerateInitInstance@ROOT@@YAPAVTGenericClassInfo@1@PBVmyclass@@@Z)

Could anyone enlighten me as to what I am doing wrong?

Thanks and cheers,

David Lindelöf

Quantum mechanics: the dreams stuff is made of



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:11 MET