Re: [ROOT] Linking problem with msvc

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Mon May 22 2000 - 18:00:43 MEST


Hi Sylvain,

  the TGxxxx classes are not yet supported under Win32. Don't link
with the library and it should be ok.

-- Fons



Sylvain HEILLIETTE wrote:
> 
>         Hello,
> 
> I'm trying to compile a root program using Microsoft Visual C++
> under windows 95. I've already read the content of the very good
> web site of Andrew Haas about the basic setup of the compiler.
> 
> I get some linking error messages like :
> 
> LinesSearching.obj : error LNK2001: unresolved external symbol
> "protected: static unsigned long  TGButton::fgDefaultGC"
> (?fgDefaultGC@TGButton@@1KA)
> Extrema.obj : error LNK2001: unresolved external symbol "protected:
> static unsigned long  TGButton::fgDefaultGC"
> (?fgDefaultGC@TGButton@@1KA)
> Extrema_Disp.obj : error LNK2001: unresolved external symbol "protected:
> static unsigned long  TGButton::fgDefaultGC"
> (?fgDefaultGC@TGButton@@1KA)
> 
> ...
> 
> Release/multiline.exe : fatal error LNK1120: 15 unresolved externals
> Error executing link.exe.
> 
> multiline.exe - 62 error(s), 0 warning(s)
> 
> I would be grateful if someone may help me .

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:25 MET