Re: missing library on NT

From: Valery Fine (fine@bnl.gov)
Date: Thu Jul 09 1998 - 18:08:03 MEST


Dear Michael 
On  9 Jul 98 at 11:27, you wrote:

> Hello,
> I am trying to link the examples in the test directory of ROOT
> 2.00/09 on NT.
> 
> Linking TString.exe, I get the following error:
> 
>         link /NODEFAULTLIB /INCREMENTAL:NO /PDB:NONE /RELEASE
>         /NOLOGO -subsystem
> :console,4.0 tstring.obj P:\Cern\Root\200-09/lib/*.lib msvcrt.lib
> oldnames.lib k ernel32.lib  ws2_32.lib mswsock.lib advapi32.lib
> user32.lib gdi32.lib comdlg32.l ib winspool.lib

    . . .
> 
> Which library is missing ? What am I doing wrong ? 
> 

   The ROOT is supplied with the makefile to compile all tests from 
the root/test subdirectory.

   It defines that 

                   MSVCIRT.LIB

   should be applied. This library contains the "new" (ANSI C++)
implementation of iostream classes.  It was not case for VC 4.0 since 
that time there was no ANSI standard yet. This library came with VC 
v.4.1 and 4.2.


   Please try first the ROOT root\test\makefile (as is). Very likely 
you'll get some errors compiling Vmatrix.cxx source. (It has been 
fixed and will be included in the next release)

  Try to add MSVCIRT.LIB to your rules and try again too.

  Hope this helps,
                                Valery
=================================================================
Dr. Valeri Faine (Fine)
    -------------------          Phone: +1 516 344 7806
Brookhaven National Laboratory   FAX  : +1 516 344 4206
Bldg. 510A /STAR                 mailto:fine@bnl.gov
Upton, New York, 11973-5000      http://nicewww.cern.ch/~fine
USA
                                 
Dr. Valery Fine                  Telex : 911621 dubna su
    -----------
LCTA/Joint Inst.for Nuclear Res. Phone : +7 09621 6 40 80
141980 Dubna, Moscow region      Fax   : +7 09621 6 51 45
Russia                           mailto:fine@main1.jinr.dubna.su                              



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:34 MET