Building root binaries with "Visual C++ Toolkit 2003&qu

I have encountered odd behavior with root v4.01 when I build the executables using cygwin and visual c++ 6.0 on my win2k box. However, these strange behaviors are not present if I run the binaries posted on the root website (win32gdk).

So I am attempting to build using the Visual C++ 2003 which has the same compiler and linker that ships with .NET 2003. I modified my .bash_profile script to point to the newly installed tools:[ul]export PATH=’$PATH:/c/Program Files/Microsoft Visual C++ Toolkit 2003/bin’
export INCLUDE=’/c/Program Files/Microsoft Visual C++ Toolkit 2003/include’:$INCLUDE
export LIB=’/c/Program Files/Microsoft Visual C++ Toolkit 2003/lib’:$LIB
[/ul]
When I execute the make command, it runs into trouble with cint/src/Api.cxx - generating pages of error messages - most seem to mention[ul]C:\Program Files\Microsoft Visual Studio\VC98\Include\functional[/ul] - which seems strange since [ul]C:\Program Files\Microsoft Visual C++ Toolkit 2003\include\functional[/ul] exists and is in my INCLUDE path…

Has anybody successfully built the root binaries with this free toolkit supplied by microsoft? Or is it necessary to buy the full development tool?

Thanks

Ed Oltman

I have made some progress w/ slashes, colons and other punctuations. Now my environment variables look like: [ul]export PATH=$PATH’:/c/Program Files/Microsoft Visual C++ Toolkit 2003/bin’
export INCLUDE='C:/Program Files/Microsoft Visual C++ Toolkit 2003/include;c:/Program Files/Microsoft Visual Studio/VC98/Include
export LIB=‘C:/Program Files/Microsoft Visual C++ Toolkit 2003/lib;C:/Program Files/Microsoft Visual Studio/VC98/Lib’
[/ul]make gets beyond the first group of compiles but has many unsatisfied externals. Any ideas?
[ul]build/win/ld.sh -nologo -incremental:no -nodefaultlib:libc.lib -nodefaultlib:dfor.lib -o cint/main/cint_tmp.exe cint/m
ain/cppmain.o
cint/src/auxu.o cint/src/cast.o cint/src/debug.o cint/src/decl.o cint/src/disp.o cint/src/dump.o cint/src/end
.o cint/src/error.o cint/src/expr.o cint/src/fread.o cint/src/func.o cint/src/g__cfunc.o cint/src/gcoll.o cint/src/globa
l1.o cint/src/global2.o cint/src/ifunc.o cint/src/inherit.o cint/src/init.o cint/src/input.o cint/src/intrpt.o cint/src/
loadfile_tmp.o cint/src/macro.o cint/src/malloc.o cint/src/memtest.o cint/src/new.o cint/src/newlink.o cint/src/oldlink.
o cint/src/opr.o cint/src/parse.o cint/src/pause.o cint/src/pcode.o cint/src/pragma.o cint/src/quote.o cint/src/scrupto.
o cint/src/shl.o cint/src/sizeof.o cint/src/stdstrct.o cint/src/struct.o cint/src/stub.o cint/src/tmplt.o cint/src/typed
ef.o cint/src/val2a.o cint/src/value.o cint/src/var.o cint/main/G__setup.o cint/src/winnt.o cint/src/Api.o cint/src/Apii
f.o cint/src/BaseCls.o cint/src/CallFunc.o cint/src/Class.o cint/src/DataMbr.o cint/src/Method.o cint/src/MethodAr.o cin
t/src/Token.o cint/src/Type.o cint/src/Typedf.o cint/src/longif3.o cint/src/vc7strm.o
Creating library cint\main\cint_tmp.lib and object cint\main\cint_tmp.exp
value.o : error LNK2001: unresolved external symbol __ftol2
var.o : error LNK2019: unresolved external symbol __ftol2 referenced in function _G__letvariable
ifunc.o : error LNK2019: unresolved external symbol __ftol2 referenced in function _G__convert_param
newlink.o : error LNK2001: unresolved external symbol __ftol2
opr.o : error LNK2001: unresolved external symbol __ftol2
pcode.o : error LNK2001: unresolved external symbol __ftol2
Api.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::_Mutex::_Unlock(vo
id)” (_imp?_Unlock@_Mutex@std@@QAEXXZ) referenced in function “public: __thiscall std::basic_istream<unsigned short,st
ruct std::char_traits >::_Sentry_base::~_Sentry_base(void)” (??1_Sentry_base@?$basic_istream@GU?$char_tr
aits@G@std@@@std@@QAE@XZ)
vc7strm.o : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::_Mutex::_Unloc
k(void)” (_imp?_Unlock@_Mutex@std@@QAEXXZ)
Api.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::_Mutex::_Lock(void
)” (_imp?_Lock@_Mutex@std@@QAEXXZ) referenced in function “public: __thiscall std::basic_ostream<unsigned short,struct
std::char_traits >::_Sentry_base::_Sentry_base(class std::basic_ostream<unsigned short,struct std::char
_traits > &)” (??0_Sentry_base@?$basic_ostream@GU?$char_traits@G@std@@@std@@QAE@AAV12@@Z)
vc7strm.o : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::_Mutex::_Lock(
void)” (_imp?_Lock@_Mutex@std@@QAEXXZ)
Api.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Re
gister(void)” (_imp?_Register@facet@locale@std@@QAEXXZ) referenced in function “class std::ctype const & __cdecl
std::use_facet<class std::ctype >(class std::locale const &)” (??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ctype@D@
0@ABVlocale@0@@Z)
vc7strm.o : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet:
:_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
Api.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: __thiscall bad_cast::bad_cast(char cons
t *)” (_imp??0bad_cast@@QAE@PBD@Z) referenced in function “class std::ctype const & __cdecl std::use_facet<class
std::ctype >(class std::locale const &)” (??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ctype@D@0@ABVlocale@0@@Z)
vc7strm.o : error LNK2001: unresolved external symbol “__declspec(dllimport) public: __thiscall bad_cast::bad_cast(char
const *)” (_imp??0bad_cast@@QAE@PBD@Z)
Api.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<
char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z) referenced
in function “class std::ctype const & __cdecl std::use_facet<class std::ctype >(class std::locale const &)”
(??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ctype@D@0@ABVlocale@0@@Z)
vc7strm.o : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ct
ype::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
Api.o : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::locale::facet const * __this
call std::locale::_Getfacet(unsigned int)const " (_imp?_Getfacet@locale@std@@QBEPBVfacet@12@I@Z) referenced in functio
n “class std::ctype const & __cdecl std::use_facet<class std::ctype >(class std::locale const &)” (??$use_fa
cet@V?$ctype@D@std@@@std@@YAABV?$ctype@D@0@ABVlocale@0@@Z)
vc7strm.o : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::locale::facet const * __
thiscall std::locale::_Getfacet(unsigned int)const " (_imp?_Getfacet@locale@std@@QBEPBVfacet@12@I@Z)
Api.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: __thiscall std::_Lockit::_Lockit(int)”
(_imp??0_Lockit@std@@QAE@H@Z) referenced in function “class std::ctype const & __cdecl std::use_facet<class std:
:ctype >(class std::locale const &)” (??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ctype@D@0@ABVlocale@0@@Z)
vc7strm.o : error LNK2001: unresolved external symbol “__declspec(dllimport) public: __thiscall std::_Lockit::_Lockit(in
t)” (_imp??0_Lockit@std@@QAE@H@Z)
Api.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<
unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
referenced in function "class std::ctype const & __cdecl std::use_facet<class std::ctype

(class std::locale const &)" (??$use_facet@V?$ctype@G@std@@@std@@YAABV?$ctype@G@0@ABVlocale@0@@Z)
vc7strm.o : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ct
ype::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@
@Z)
Api.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: __thiscall std::basic_string<char,struc
t std::char_traits,class std::allocator >::basic_string<char,struct std::char_traits,class std::alloca
tor >(char const *)” (_imp??0?$basic_string@DU?$char_traits@D@std@@V?allocator@D@2@@std@@QAE@PBD@Z) referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl std::operat or+<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,class std::basic_string<char,struct std ::char_traits<char>,class std::allocator<char> > const &)" (???HDU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA?AV?$ba
sic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@PBDABV10@@Z)
DataMbr.o : error LNK2001: unresolved external symbol “__declspec(dllimport) public: __thiscall std::basic_string<char,s
truct std::char_traits,class std::allocator >::basic_string<char,struct std::char_traits,class std::al
locator >(char const *)” (_imp??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z)
vc7strm.o : error LNK2001: unresolved external symbol “__declspec(dllimport) public: __thiscall std::basic_string<char,s
truct std::char_traits,class std::allocator >::basic_string<char,struct std::char_traits,class std::al
locator >(char const *)” (_imp??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z)
Api.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: __thiscall std::basic_string<char,struc
t std::char_traits,class std::allocator >::basic_string<char,struct std::char_traits,class std::alloca
tor >(unsigned int,char)” (imp??0?$basic_string@DU?$char_traits@D@std@@V?allocator@D@2@@std@@QAE@ID@Z) referen ced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl std::op erator+<char,struct std::char_traits<char>,class std::allocator<char> >(char,class std::basic_string<char,struct std::ch ar_traits<char>,class std::allocator<char> > const &)" (???HDU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA?AV?$basic
string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@DABV10@@Z)
vc7strm.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: __thiscall std::basic_string<char,s
truct std::char_traits,class std::allocator >::basic_string<char,struct std::char_traits,class std::al
locator >(unsigned int,char)” (_imp??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ID@Z) ref
erenced in function “public: void __thiscall std::basic_istringstream<char,struct std::char_traits,class std::allo
cator >::local vftable constructor closure'(void)" (??_T?$basic_istringstream@DU?$char_traits@D@std@@V?$allocator @D@2@@std@@QAEXXZ) Api.o : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<unsigned s hort,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> >::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> >(unsigned short const *)" (__imp_??0?$basic_strin g@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@QAE@PBG@Z) referenced in function "class std::basic_string<unsigned shor t,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > __cdecl std::operator+<unsigned short,s truct std::char_traits<unsigned short>,class std::allocator<unsigned short> >(unsigned short const *,class std::basic_st ring<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > const &)" (??$?HGU?$c har_traits@G@std@@V?$allocator@G@1@@std@@YA?AV?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@0@PBGABV10@@Z) vc7strm.o : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<unsign ed short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> >::basic_string<unsigned short,str uct std::char_traits<unsigned short>,class std::allocator<unsigned short> >(unsigned short const *)" (__imp_??0?$basic_s tring@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@QAE@PBG@Z) Api.o : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<unsigned s hort,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> >::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> >(unsigned int,unsigned short)" (__imp_??0?$basic_ string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@QAE@IG@Z) referenced in function "class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > __cdecl std::operator+<unsigned sho rt,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> >(unsigned short,class std::basic_string <unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > const &)" (??$?HGU?$char_ traits@G@std@@V?$allocator@G@1@@std@@YA?AV?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@0@GABV10@@Z) vc7strm.o : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<unsign ed short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> >::basic_string<unsigned short,str uct std::char_traits<unsigned short>,class std::allocator<unsigned short> >(unsigned int,unsigned short)" (__imp_??0?$ba sic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@QAE@IG@Z) referenced in function "public: virtual void * __this call std::basic_ostringstream<char,struct std::char_traits<char>,class std::allocator<char> >::vector deleting destruct
or’(unsigned int)” (??_E?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@UAEPAXI@Z)
Api.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::basic_ostream<unsi
gned short,struct std::char_traits >::_Osfx(void)” (_imp?_Osfx@?$basic_ostream@GU?$char_traits@G@std@@
@std@@QAEXXZ) referenced in function “public: __thiscall std::basic_ostream<unsigned short,struct std::char_traits >::sentry::~sentry(void)” (??1sentry@?$basic_ostream@GU?$char_traits@G@std@@@std@@QAE@XZ)
vc7strm.o : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::basic_ostream<
unsigned short,struct std::char_traits >::_Osfx(void)” (_imp?_Osfx@?$basic_ostream@GU?$char_traits@G@s
td@@@std@@QAEXXZ)
Api.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: bool __thiscall std::basic_istream<unsi
gned short,struct std::char_traits >::_Ipfx(bool)” (_imp?_Ipfx@?$basic_istream@GU?$char_traits@G@std@@
@std@@QAE_N_N@Z) referenced in function “public: __thiscall std::basic_istream<unsigned short,struct std::char_traits >::sentry::sentry(class std::basic_istream<unsigned short,struct std::char_traits > &,bool
)” (??0sentry@?$basic_istream@GU?$char_traits@G@std@@@std@@QAE@AAV12@_N@Z)
vc7strm.o : error LNK2001: unresolved external symbol “__declspec(dllimport) public: bool __thiscall std::basic_istream<
unsigned short,struct std::char_traits >::_Ipfx(bool)” (_imp?_Ipfx@?$basic_istream@GU?$char_traits@G@s
td@@@std@@QAE_N_N@Z)
Api.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: bool __thiscall std::basic_istream<char
,struct std::char_traits >::_Ipfx(bool)” (_imp?_Ipfx@?$basic_istream@DU?$char_traits@D@std@@@std@@QAE_N_N@Z) ref
erenced in function “public: __thiscall std::basic_istream<char,struct std::char_traits >::sentry::sentry(class st
d::basic_istream<char,struct std::char_traits > &,bool)” (??0sentry@?$basic_istream@DU?$char_traits@D@std@@@std@@Q
AE@AAV12@_N@Z)
vc7strm.o : error LNK2001: unresolved external symbol “__declspec(dllimport) public: bool __thiscall std::basic_istream<
char,struct std::char_traits >::_Ipfx(bool)” (_imp?_Ipfx@?$basic_istream@DU?$char_traits@D@std@@@std@@QAE_N_N@Z)

Api.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::basic_ostream<char
,struct std::char_traits >::_Osfx(void)” (_imp?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ) refere
nced in function “public: __thiscall std::basic_ostream<char,struct std::char_traits >::sentry::~sentry(void)” (??
1sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@XZ)
vc7strm.o : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::basic_ostream<
char,struct std::char_traits >::_Osfx(void)” (_imp?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ)
longif3.o : error LNK2019: unresolved external symbol __aulldvrm referenced in function “__int64 __cdecl G__strtoll(char
const *,char * *,int)” (?G__strtoll@@YA_JPBDPAPADH@Z)
longif3.o : error LNK2019: unresolved external symbol “void __cdecl operator delete(void *)” (??_V@YAXPAX@Z) reference
d in function “public: void * __thiscall G__ulonglong::`vector deleting destructor’(unsigned int)” (??_EG__ulonglong@@QA
EPAXI@Z)
vc7strm.o : error LNK2001: unresolved external symbol “void __cdecl operator delete(void *)” (??_V@YAXPAX@Z)
longif3.o : error LNK2019: unresolved external symbol “void * __cdecl operator new(unsigned int)” (??_U@YAPAXI@Z) refe
renced in function “int __cdecl G__longif_38_0_0(struct G__value *,char const *,struct G__param *,int)” (?G__longif_38_0
_0@@YAHPAUG__value@@PBDPAUG__param@@H@Z)
vc7strm.o : error LNK2001: unresolved external symbol “void * __cdecl operator new(unsigned int)” (??_U@YAPAXI@Z)
vc7strm.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: __thiscall std::basic_ofstream<char
,struct std::char_traits >::basic_ofstream<char,struct std::char_traits >(char const *,int,int)” (_imp??0?
$basic_ofstream@DU?$char_traits@D@std@@@std@@QAE@PBDHH@Z) referenced in function _G__redirectcout
vc7strm.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: __thiscall std::basic_ifstream<char
,struct std::char_traits >::basic_ifstream<char,struct std::char_traits >(char const *,int,int)” (_imp??0?
$basic_ifstream@DU?$char_traits@D@std@@@std@@QAE@PBDHH@Z) referenced in function _G__redirectcin
vc7strm.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: __thiscall std::basic_istream<char,
struct std::char_traits >::basic_istream<char,struct std::char_traits >(class std::basic_streambuf<char,stru
ct std::char_traits > *,bool,bool)” (_imp??0?$basic_istream@DU?$char_traits@D@std@@@std@@QAE@PAV?$basic_streambu
f@DU?$char_traits@D@std@@@1@_N1@Z) referenced in function “int __cdecl G__G__stream_13_1_0(struct G__value *,char const
*,struct G__param *,int)” (?G__G__stream_13_1_0@@YAHPAUG__value@@PBDPAUG__param@@H@Z)
vc7strm.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: class std::basic_istream<char,struc
t std::char_traits > & __thiscall std::basic_istream<char,struct std::char_traits >::seekg(long,int)” (__imp
_?seekg@?$basic_istream@DU?$char_traits@D@std@@@std@@QAEAAV12@JH@Z) referenced in function “int _cdecl G__G__stream_13
8_1(struct G__value *,char const *,struct G__param *,int)” (?G__G__stream_13_8_1@@YAHPAUG__value@@PBDPAUG__param@@H@Z)
vc7strm.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: __thiscall std::basic_ostream<char,
struct std::char_traits >::basic_ostream<char,struct std::char_traits >(class std::basic_streambuf<char,stru
ct std::char_traits > *,bool)” (_imp??0?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@PAV?$basic_streambuf@DU?
$char_traits@D@std@@@1@_N@Z) referenced in function “int __cdecl G__G__stream_16_1_0(struct G__value *,char const *,stru
ct G__param *,int)” (?G__G__stream_16_1_0@@YAHPAUG__value@@PBDPAUG__param@@H@Z)
vc7strm.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: class std::basic_ostream<char,struc
t std::char_traits > & __thiscall std::basic_ostream<char,struct std::char_traits >::seekp(long,int)” (__imp
_?seekp@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@JH@Z) referenced in function “int _cdecl G__G__stream_16
6_0(struct G__value *,char const *,struct G__param *,int)” (?G__G__stream_16_6_0@@YAHPAUG__value@@PBDPAUG__param@@H@Z)
vc7strm.o : error LNK2001: unresolved external symbol “protected: virtual void __thiscall std::basic_filebuf<char,struct
std::char_traits >::imbue(class std::locale const &)” (?imbue@?$basic_filebuf@DU?$char_traits@D@std@@@std@@MAEXAB
Vlocale@2@@Z)
vc7strm.o : error LNK2001: unresolved external symbol “protected: virtual class std::fpos __thiscall std::basic_fil
ebuf<char,struct std::char_traits >::seekoff(long,int,int)” (?seekoff@?$basic_filebuf@DU?$char_traits@D@std@@@std@
@MAE?AV?$fpos@H@2@JHH@Z)
vc7strm.o : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_filebuf<char,struc
t std::char_traits > * _thiscall std::basic_filebuf<char,struct std::char_traits >::open(char const *,int,i
nt)" (imp?open@?$basic_filebuf@DU?$char_traits@D@std@@@std@@QAEPAV12@PBDHH@Z) referenced in function “int cdecl G
G__stream_19_3_0(struct G__value *,char const *,struct G__param *,int)” (?G__G__stream_19_3_0@@YAHPAUG__value@@PBDPAUG

param@@H@Z)
vc7strm.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::basic_ifstream
<char,struct std::char_traits >::open(char const *,int,int)” (_imp?open@?$basic_ifstream@DU?$char_traits@D@std@@
@std@@QAEXPBDHH@Z) referenced in function “int __cdecl G__G__stream_20_5_0(struct G__value *,char const *,struct G__para
m *,int)” (?G__G__stream_20_5_0@@YAHPAUG__value@@PBDPAUG__param@@H@Z)
vc7strm.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::basic_ofstream
<char,struct std::char_traits >::open(char const *,int,int)” (_imp?open@?$basic_ofstream@DU?$char_traits@D@std@@
@std@@QAEXPBDHH@Z) referenced in function “int __cdecl G__G__stream_21_5_0(struct G__value *,char const *,struct G__para
m *,int)” (?G__G__stream_21_5_0@@YAHPAUG__value@@PBDPAUG__param@@H@Z)
vc7strm.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: __thiscall std::basic_fstream<char,
struct std::char_traits >::basic_fstream<char,struct std::char_traits >(char const *,int,int)” (_imp??0?$b
asic_fstream@DU?$char_traits@D@std@@@std@@QAE@PBDHH@Z) referenced in function “int _cdecl G__G__stream_22_2_0(struct G
_value *,char const *,struct G__param *,int)” (?G__G__stream_22_2_0@@YAHPAUG__value@@PBDPAUG__param@@H@Z)
vc7strm.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::basic_fstream<
char,struct std::char_traits >::open(char const *,int,int)” (_imp?open@?$basic_fstream@DU?$char_traits@D@std@@@s
td@@QAEXPBDHH@Z) referenced in function “int __cdecl G__G__stream_22_5_0(struct G__value *,char const *,struct G__param
*,int)” (?G__G__stream_22_5_0@@YAHPAUG__value@@PBDPAUG__param@@H@Z)
vc7strm.o : error LNK2001: unresolved external symbol “protected: virtual class std::fpos __thiscall std::basic_str
ingbuf<char,struct std::char_traits,class std::allocator >::seekoff(long,int,int)” (?seekoff@?$basic_stringb
uf@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@MAE?AV?$fpos@H@2@JHH@Z)
vc7strm.o : error LNK2001: unresolved external symbol “__declspec(dllimport) __int64 std::_Fpz” (_imp?_Fpz@std@@3_JA)
vc7strm.o : error LNK2019: unresolved external symbol “__declspec(dllimport) public: class std::fpos __thiscall std
::basic_streambuf<char,struct std::char_traits >::pubseekoff(long,int,int)” (_imp?pubseekoff@?$basic_streambuf@D
U?$char_traits@D@std@@@std@@QAE?AV?$fpos@H@2@JHH@Z) referenced in function “int __cdecl G__G__stream_15_4_0(struct G__va
lue *,char const *,struct G__param *,int)” (?G__G__stream_15_4_0@@YAHPAUG__value@@PBDPAUG__param@@H@Z)
cint\main\cint_tmp.exe : fatal error LNK1120: 36 unresolved externals
make: *** [cint/main/cint_tmp.exe] Error 96
(durban) [132][/ul]

Hi Ed,

We have no problems when building ROOT 4.02 (or any of the 4.01/xx)
with VC++6.
We do not have experience with the toolkit you are talking about. However it seems that you are mixing code compiled with VC++7.
When you build make sure to "make distclean make"
Also adding one or more of the dlls indicated in our download page for Windows may help. see the bottom of
root.cern.ch/root/Version402.html

Note that we have made the effort to support the build of ROOT with the broken compiler VC++6. It is likely that future versions will require VC++7.1 for the build (You should still be able to run the binaries and dlls
under VC++6)

Rene