Link Problems with VC++5 ?

Ralf Reinhardt (reinh@wpos3.physik.uni-wuppertal.de)
Thu, 18 Feb 1999 17:49:33 +0100


Hello!
After getting a couple of very mysterious errors while compiling, I
decided to
install a fresh root on my system (NT4.0 SP4 VC++5.0 SP2 German,Root
2.21/03)
But- my old Programs won't compile! I always get an error message of the
type :

error LNK2001: unresolved external symbol "class TVirtualPad * gPad"
(?gPad@@3PAVTVirtualPad@@A)

for every global variable which is defined within the libraries.
Comparing the new installation with the old one showed, that somebody
changed
the header files to use __declspec( dllimport ) explicitly.
I tried in on the new installation and everything works- but it is most
probably the cause of my bugs. What am I doing wrong???
Cheers Ralf
PS: There were efforts going on, to make Root compileable on VMS
Systems.
Did they succeed?