missing library on NT

Michael Dahlinger (M.Dahlinger@clri6a.gsi.de)
Thu, 9 Jul 1998 11:27:28 +0200


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 /LIBPATH:G:/Programme/DevStudio/VC\lib /out:tstring.exe
tstring.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) c
lass ostream & __cdecl endl(class ostream &)" (__imp_?endl@@YAAAVostream@@AAV1@@
Z)
tstring.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) p
ublic: class ostream & __thiscall ostream::operator<<(int)" (__imp_??6ostream@@Q
AEAAV0@H@Z)
tstring.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) p
ublic: class ostream & __thiscall ostream::operator<<(char const *)" (__imp_??6o
stream@@QAEAAV0@PBD@Z)
tstring.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) c
lass ostream_withassign cout" (__imp_?cout@@3Vostream_withassign@@A)
tstring.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) p
ublic: class ostream & __thiscall ostream::operator<<(unsigned char)" (__imp_??6
ostream@@QAEAAV0@E@Z)
tstring.exe : fatal error LNK1120: 5 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.

Which library is missing ? What am I doing wrong ?

Michael [Michael Dahlinger] Dahlinger
GSI Computing dept.