[Insight-users] compilation errors for ITK2.2.0

wlzhu wlzhu at nlpr.ia.ac.cn
Wed Sep 7 09:45:18 EDT 2005


Hi, Luis

I try the latest release of ITK 2.2.0. (for windows, InsightToolkit-2.2.0).  However I met some compilation errors, as follows:

e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_alloc.h(512): error C2039: 'alloc' : is not a member of 'std'
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(836): error C2059: syntax error : ')'
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(950): error C2059: syntax error : ')'
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(980): error C2059: syntax error : 'const'
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1019): error C2059: syntax error : 'const'
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(865): error C2065: 'Alloc' : undeclared identifier
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(865): error C2065: 'Compare' : undeclared identifier
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(965): error C2065: 'k' : undeclared identifier
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(865): error C2065: 'Key' : undeclared identifier
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(865): error C2065: 'KeyOfValue' : undeclared identifier
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(865): error C2065: 'Value' : undeclared identifier
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(881): error C2065: 'x' : undeclared identifier
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(834): error C2072: 'rb_tree<Key,Value,KeyOfValue,Compare,Alloc>::__insert' : initialization of a function
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(866): error C2143: syntax error : missing ';' before '{'
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(959): error C2143: syntax error : missing ';' before '{'
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(995): error C2143: syntax error : missing ';' before '{'
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1034): error C2143: syntax error : missing ';' before '{'
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(949): error C2146: syntax error : missing ')' before identifier 'first'
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(834): error C2146: syntax error : missing ')' before identifier 'x_'
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(949): error C2182: 'erase' : illegal use of type 'void'
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(887): error C2350: 'rb_tree<Key,Value,KeyOfValue,Compare,Alloc>::erase' is not a static member
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(949): error C2350: 'rb_tree<Key,Value,KeyOfValue,Compare,Alloc>::erase' is not a static member
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(976): error C2350: 'rb_tree<Key,Value,KeyOfValue,Compare,Alloc>::find' is not a static member
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(980): error C2350: 'rb_tree<Key,Value,KeyOfValue,Compare,Alloc>::find' is not a static member
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1015): error C2350: 'rb_tree<Key,Value,KeyOfValue,Compare,Alloc>::lower_bound' is not a static member
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1019): error C2350: 'rb_tree<Key,Value,KeyOfValue,Compare,Alloc>::lower_bound' is not a static member
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1049): error C2350: 'rb_tree<Key,Value,KeyOfValue,Compare,Alloc>::upper_bound' is not a static member
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(866): error C2447: '{' : missing function header (old-style formal list?)
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(959): error C2447: '{' : missing function header (old-style formal list?)
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(995): error C2447: '{' : missing function header (old-style formal list?)
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1034): error C2447: '{' : missing function header (old-style formal list?)
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(957): error C2904: 'Alloc' : name already used for a template in the current scope
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(957): error C2904: 'Compare' : name already used for a template in the current scope
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(957): error C2904: 'Key' : name already used for a template in the current scope
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(957): error C2904: 'KeyOfValue' : name already used for a template in the current scope
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(957): error C2904: 'Value' : name already used for a template in the current scope
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_defalloc.h(83): error C2953: 'std::allocator' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(75): error C2953: 'std::binary_function' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(226): error C2953: 'std::binary_negate' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(247): error C2953: 'std::binder1st' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(269): error C2953: 'std::binder2nd' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(99): error C2953: 'std::divides' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(117): error C2953: 'std::equal_to' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(129): error C2953: 'std::greater' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(141): error C2953: 'std::greater_equal' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(135): error C2953: 'std::less' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(147): error C2953: 'std::less_equal' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(153): error C2953: 'std::logical_and' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(165): error C2953: 'std::logical_not' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(159): error C2953: 'std::logical_or' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(535): error C2953: 'std::mem_fun_ref_t' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(507): error C2953: 'std::mem_fun_t' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(550): error C2953: 'std::mem_fun1_ref_t' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(521): error C2953: 'std::mem_fun1_t' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(87): error C2953: 'std::minus' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(105): error C2953: 'std::modulus' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(93): error C2953: 'std::multiplies' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(111): error C2953: 'std::negate' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(123): error C2953: 'std::not_equal_to' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(81): error C2953: 'std::plus' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(348): error C2953: 'std::pointer_to_binary_function' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(331): error C2953: 'std::pointer_to_unary_function' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(67): error C2953: 'std::unary_function' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(206): error C2953: 'std::unary_negate' : template class has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(865): error C2955: 'rb_tree' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(865): error C2955: 'rb_tree' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(958): error C2955: 'rb_tree' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(994): error C2955: 'rb_tree' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(995): error C2955: 'rb_tree' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(995): error C2955: 'rb_tree' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1033): error C2955: 'rb_tree' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1034): error C2955: 'rb_tree' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1034): error C2955: 'rb_tree' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_defalloc.h(86): error C2955: 'std::allocator' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_defalloc.h(86): error C2955: 'std::allocator' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_defalloc.h(86): error C2955: 'std::allocator' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_defalloc.h(86): error C2955: 'std::allocator' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_defalloc.h(88): error C2955: 'std::allocator' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_defalloc.h(88): error C2955: 'std::allocator' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_defalloc.h(88): error C2955: 'std::allocator' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_defalloc.h(88): error C2955: 'std::allocator' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(229): error C2955: 'std::binary_negate' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(229): error C2955: 'std::binary_negate' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(250): error C2955: 'std::binder1st' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(250): error C2955: 'std::binder1st' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(272): error C2955: 'std::binder2nd' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(272): error C2955: 'std::binder2nd' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(574): error C2955: 'std::mem_fun_ref_t' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(575): error C2955: 'std::mem_fun_ref_t' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(557): error C2955: 'std::mem_fun_t' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(558): error C2955: 'std::mem_fun_t' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(581): error C2955: 'std::mem_fun1_ref_t' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(582): error C2955: 'std::mem_fun1_ref_t' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(564): error C2955: 'std::mem_fun1_t' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(565): error C2955: 'std::mem_fun1_t' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(351): error C2955: 'std::pointer_to_binary_function' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(352): error C2955: 'std::pointer_to_binary_function' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(334): error C2955: 'std::pointer_to_unary_function' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(334): error C2955: 'std::pointer_to_unary_function' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(209): error C2955: 'std::unary_negate' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_functional.h(209): error C2955: 'std::unary_negate' : use of class template requires template argument list
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(980): error C2988: unrecognizable template declaration/definition
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1019): error C2988: unrecognizable template declaration/definition
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_algobase.h(194): error C2995: 'void vcl_construct(U *,const V &)' : template function has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_algobase.h(185): error C2995: 'void vcl_destroy(T *)' : template function has already been defined
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(865): error C3861: 'Alloc': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(958): error C3861: 'Alloc': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(994): error C3861: 'Alloc': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(995): error C3861: 'Alloc': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(995): error C3861: 'Alloc': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1033): error C3861: 'Alloc': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1034): error C3861: 'Alloc': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1034): error C3861: 'Alloc': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(865): error C3861: 'Compare': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(958): error C3861: 'Compare': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(994): error C3861: 'Compare': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(995): error C3861: 'Compare': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(995): error C3861: 'Compare': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1033): error C3861: 'Compare': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1034): error C3861: 'Compare': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1034): error C3861: 'Compare': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(980): error C3861: 'k': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1004): error C3861: 'k': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1019): error C3861: 'k': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1049): error C3861: 'k': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(865): error C3861: 'Key': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(958): error C3861: 'Key': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(994): error C3861: 'Key': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(995): error C3861: 'Key': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(995): error C3861: 'Key': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1033): error C3861: 'Key': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1034): error C3861: 'Key': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1034): error C3861: 'Key': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(865): error C3861: 'KeyOfValue': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(958): error C3861: 'KeyOfValue': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(994): error C3861: 'KeyOfValue': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(995): error C3861: 'KeyOfValue': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(995): error C3861: 'KeyOfValue': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1033): error C3861: 'KeyOfValue': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1034): error C3861: 'KeyOfValue': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1034): error C3861: 'KeyOfValue': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(865): error C3861: 'Value': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(958): error C3861: 'Value': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(994): error C3861: 'Value': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(995): error C3861: 'Value': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(995): error C3861: 'Value': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1033): error C3861: 'Value': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1034): error C3861: 'Value': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1034): error C3861: 'Value': identifier not found, even with argument-dependent lookup
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1049): fatal error C1003: error count exceeds 100; stopping compilation
E:\Visual Studio NET\Vc7\include\ostream(604): fatal error C1903: unable to recover from previous error(s); stopping compilation
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_bool.h(64): warning C4005: 'NOMINMAX' : macro redefinition
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_bool.h(64): warning C4005: 'NOMINMAX' : macro redefinition
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(834): warning C4346: 'rb_tree<Key,Value,KeyOfValue,Compare,Alloc>::base_ptr' : dependent name is not a type
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(949): warning C4346: 'rb_tree<Key,Value,KeyOfValue,Compare,Alloc>::iterator' : dependent name is not a type
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(887): warning C4346: 'rb_tree<Key,Value,KeyOfValue,Compare,Alloc>::key_type' : dependent name is not a type
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(976): warning C4346: 'rb_tree<Key,Value,KeyOfValue,Compare,Alloc>::key_type' : dependent name is not a type
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(980): warning C4346: 'rb_tree<Key,Value,KeyOfValue,Compare,Alloc>::key_type' : dependent name is not a type
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1015): warning C4346: 'rb_tree<Key,Value,KeyOfValue,Compare,Alloc>::key_type' : dependent name is not a type
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1019): warning C4346: 'rb_tree<Key,Value,KeyOfValue,Compare,Alloc>::key_type' : dependent name is not a type
e:\Visual Studio NET\ITK\ITK2.2.0\Windows\ITKSource\InsightToolkit-2.2.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1049): warning C4346: 'rb_tree<Key,Value,KeyOfValue,Compare,Alloc>::key_type' : dependent name is not a type


These errors are all come from compiling sub-project "itkvcl", I use debug to build all projects. 
I  compiled ITK2.0.1 successfully before . The configuration of my computer is 
Win2000
Visual studio NET 7.0

BUILD_EXAMPLES AND BUILD_TESTING are turned off.  



best regards!

wanlin


More information about the Insight-users mailing list