[Insight-users] Compilation failed in itkvcl (ITK CVS version +Visual7.1 +CMake 1.8.3)

jean-michel.rouet at philips.com jean-michel.rouet at philips.com
Wed May 26 11:14:13 EDT 2004


Hi all,

I already saw the message on the list but no satisfactory answer:

Here is my problem:

I recently updated my ITK from CVS, and also CMake from 1.8.1 to 1.8.3
But now I am not able to compile all the modules. The itkvcl always fails.

How can I find out what is wrong?


Error is the following:

------ Build started: Project: itkvcl, Configuration: Debug Win32 ------

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

Build Time 0:02
Build log was saved at 
"file://d:\Programs\ITKBinaries\Utilities\vxl\vcl\Debug\BuildLog.htm"
itkvcl - 151 error(s), 10 warning(s)


---------------------- Done ----------------------

    Build: 0 succeeded, 1 failed, 0 skipped





More information about the Insight-users mailing list