I have been trying to build VXL under VC 7 on and off for a couple of weeks. 
 
There seem to be some difference between VC7 and VC6 on how far trait/template expansion
will occur.  I have been able to get this issue where it was cropping up but haven't checked in
a fix since I have completed a build yet.
 
I am getting lots of link errors link the tests.
 
vnl_test_matlab error LNK2001: unresolved external symbol ___argc
vil_test_driver error LNK2001: unresolved external symbol ___argc
vul_test_driver error LNK2001: unresolved external symbol ___argc
vpl_test_driver error LNK2001: unresolved external symbol ___argc
conversions_image_test_driver error LNK2001: unresolved external symbol ___argc
vnl_test_matlab error LNK2001: unresolved external symbol ___argv
vil_test_driver error LNK2001: unresolved external symbol ___argv
vul_test_driver error LNK2001: unresolved external symbol ___argv
vpl_test_driver error LNK2001: unresolved external symbol ___argv
conversions_image_test_driver error LNK2001: unresolved external symbol ___argv
vnl_test_matlab error LNK2001: unresolved external symbol __mbctype
vil_test_driver error LNK2001: unresolved external symbol __mbctype
vul_test_driver error LNK2001: unresolved external symbol __mbctype
vpl_test_driver error LNK2001: unresolved external symbol __mbctype
conversions_image_test_driver error LNK2001: unresolved external symbol __mbctype
vcl_tests error LNK2005: "bool __cdecl operator<(struct mystery_type const &,struct mystery_type const &)" (??M@YA_NABUmystery_type@@0@Z) already defined in test_vcl_compiler.obj
vcl_tests error LNK2005: "bool __cdecl operator==(struct mystery_type const &,struct mystery_type const &)" (??8@YA_NABUmystery_type@@0@Z) already defined in test_vcl_compiler.obj
vcl_tests error LNK2005: "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl delim(class std::basic_ostream<char,struct std::char_traits<char> > &)" (?delim@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AAV12@@Z) already defined in test_vcl_vector.obj
vcl_tests error LNK2005: "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,struct std::pair<int const ,double> const &)" (??6@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AAV01@ABU?$pair@$$CBHN@1@@Z) already defined in test_vcl_multimap.obj
vcl_tests error LNK2005: "class std::complex<double> __cdecl doublify(class std::complex<float> const &)" (?doublify@@YA?AV?$complex@N@std@@ABV?$complex@M@2@@Z) already defined in test_vcl_complex.obj
vcl_tests error LNK2005: "int __cdecl frurk(class std::vector<int,class std::allocator<int> > const &,class std::vector<int,class std::allocator<int> > const &)" (?frurk@@YAHABV?$vector@HV?$allocator@H@std@@@std@@0@Z) already defined in test_vcl_vector.obj
vipl_test_driver error LNK2005: "private: static void __cdecl vbl_smart_ptr<class vil_image>::ref(class vil_image *)" (?ref@?$vbl_smart_ptr@Vvil_image@@@@CAXPAVvil_image@@@Z) already defined in vipl.lib(vipl_filter_2d+vil_image.vil_image.uchar.uchar-.obj)
vipl_test_driver error LNK2005: "private: static void __cdecl vbl_smart_ptr<class vil_image>::unref(class vil_image *)" (?unref@?$vbl_smart_ptr@Vvil_image@@@@CAXPAVvil_image@@@Z) already defined in vipl.lib(vipl_filter_2d+vil_image.vil_image.uchar.uchar-.obj)
vcl_tests error LNK2005: "public: __thiscall mystery_type::mystery_type(int,float)" (??0mystery_type@@QAE@HM@Z) already defined in test_vcl_compiler.obj
vcl_tests error LNK2005: "public: __thiscall mystery_type::mystery_type(struct mystery_type const &)" (??0mystery_type@@QAE@ABU0@@Z) already defined in test_vcl_compiler.obj
vcl_tests error LNK2005: "public: __thiscall mystery_type::mystery_type(void)" (??0mystery_type@@QAE@XZ) already defined in test_vcl_compiler.obj
vcl_tests error LNK2005: "public: struct mystery_type & __thiscall mystery_type::operator=(struct mystery_type const &)" (??4mystery_type@@QAEAAU0@ABU0@@Z) already defined in test_vcl_compiler.obj
vnl_test_matlab error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in msvcprt.lib(newop_s.obj)
vil_test_driver error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in msvcprt.lib(newop_s.obj)
vul_test_driver error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in msvcprt.lib(newop_s.obj)
vpl_test_driver error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in msvcprt.lib(newop_s.obj)
conversions_image_test_driver error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in msvcprt.lib(newop_s.obj)
vnl_test_matlab error LNK2005: "void * __cdecl operator new[](unsigned int)" (??_U@YAPAXI@Z) already defined in msvcprt.lib(newaop_s.obj)
vil_test_driver error LNK2005: "void * __cdecl operator new[](unsigned int)" (??_U@YAPAXI@Z) already defined in msvcprt.lib(newaop_s.obj)
vul_test_driver error LNK2005: "void * __cdecl operator new[](unsigned int)" (??_U@YAPAXI@Z) already defined in msvcprt.lib(newaop_s.obj)
conversions_image_test_driver error LNK2005: "void * __cdecl operator new[](unsigned int)" (??_U@YAPAXI@Z) already defined in msvcprt.lib(newaop_s.obj)
vcl_tests error LNK2005: "void __cdecl f(struct std::iterator<float,int,int,int *,int &> *)" (?f@@YAXPAU?$iterator@MHHPAHAAH@std@@@Z) already defined in test_vcl_iterator.obj
vnl_test_matlab error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in MSVCRT.lib(MSVCR70.dll)
vil_test_driver error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in MSVCRT.lib(MSVCR70.dll)
vul_test_driver error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in MSVCRT.lib(MSVCR70.dll)
vpl_test_driver error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in MSVCRT.lib(MSVCR70.dll)
conversions_image_test_driver error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in MSVCRT.lib(MSVCR70.dll)
vnl_test_matlab error LNK2005: "void __cdecl operator delete[](void *)" (??_V@YAXPAX@Z) already defined in MSVCRT.lib(MSVCR70.dll)
vil_test_driver error LNK2005: "void __cdecl operator delete[](void *)" (??_V@YAXPAX@Z) already defined in MSVCRT.lib(MSVCR70.dll)
vul_test_driver error LNK2005: "void __cdecl operator delete[](void *)" (??_V@YAXPAX@Z) already defined in MSVCRT.lib(MSVCR70.dll)
conversions_image_test_driver error LNK2005: "void __cdecl operator delete[](void *)" (??_V@YAXPAX@Z) already defined in MSVCRT.lib(MSVCR70.dll)
vcl_tests error LNK2005: "void __cdecl vcl_test_implicit_instantiation(int)" (?vcl_test_implicit_instantiation@@YAXH@Z) already defined in test_vcl_compiler.obj
vcl_tests error LNK2005: _main already defined in test_vcl_algorithm.obj
vcl_tests error LNK2005: _main already defined in test_vcl_algorithm.obj
vcl_tests error LNK2005: _main already defined in test_vcl_algorithm.obj
vcl_tests error LNK2005: _main already defined in test_vcl_algorithm.obj
vcl_tests error LNK2005: _main already defined in test_vcl_algorithm.obj
vcl_tests error LNK2005: _main already defined in test_vcl_algorithm.obj
vcl_tests error LNK2005: _main already defined in test_vcl_algorithm.obj
vcl_tests error LNK2005: _main already defined in test_vcl_algorithm.obj
vcl_tests error LNK2005: _main already defined in test_vcl_algorithm.obj
vcl_tests error LNK2005: _main already defined in test_vcl_algorithm.obj
vcl_tests error LNK2005: _main already defined in test_vcl_algorithm.obj
vcl_tests error LNK2005: _main already defined in test_vcl_algorithm.obj
vcl_tests error LNK2005: _main already defined in test_vcl_algorithm.obj
vcl_tests error LNK2005: _main already defined in test_vcl_algorithm.obj
vnl_test_matlab error LNK2019: unresolved external symbol __mbctype referenced in function "void __stdcall _AfxAbbreviateName(char *,int,int)" (?_AfxAbbreviateName@@YGXPADHH@Z)
vil_test_driver error LNK2019: unresolved external symbol __mbctype referenced in function "void __stdcall _AfxAbbreviateName(char *,int,int)" (?_AfxAbbreviateName@@YGXPADHH@Z)
vul_test_driver error LNK2019: unresolved external symbol __mbctype referenced in function "void __stdcall _AfxAbbreviateName(char *,int,int)" (?_AfxAbbreviateName@@YGXPADHH@Z)
vpl_test_driver error LNK2019: unresolved external symbol __mbctype referenced in function "void __stdcall _AfxAbbreviateName(char *,int,int)" (?_AfxAbbreviateName@@YGXPADHH@Z)
conversions_image_test_driver error LNK2019: unresolved external symbol __mbctype referenced in function "void __stdcall _AfxAbbreviateName(char *,int,int)" (?_AfxAbbreviateName@@YGXPADHH@Z)
vnl_test_matlab fatal error LNK1120: 3 unresolved externals
vil_test_driver fatal error LNK1120: 3 unresolved externals
vul_test_driver fatal error LNK1120: 3 unresolved externals
vpl_test_driver fatal error LNK1120: 3 unresolved externals
conversions_image_test_driver fatal error LNK1120: 3 unresolved externals
vipl_test_driver fatal error LNK1169: one or more multiply defined symbols found
vcl_tests fatal error LNK1169: one or more multiply defined symbols found
 
-----Original Message-----
From: Zhou pear [mailto:richstrongzhou@yahoo.com]
Sent: Friday, May 24, 2002 11:41 AM
To: vxl-maintainers@lists.sourceforge.net
Subject: [Vxl-maintainers] Can support VC++ 7.0?

Hello,

Can the VXL support Visual C++ 7.0?

Thanks



Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience