[Insight-users] Re: WrapITK compliments

Jean-Marc jm.giorgi at free.fr
Tue Jul 4 22:50:22 EDT 2006


Hello Gaetan,

> What is your problem ?

When I build the ITK Project ( with visual studio 8 ), I get this bunch 
of errors :

17>------ Build started: Project: ITKIOTcl, Configuration: Release Win32 
------
17>wrap_itkTkImageViewer2D.idx from
17>wrap_itkImageSeriesWriter.xml from
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility: In instantiation
of `std::_Checked_iterator_base_helper2<long int*, true>':
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility:934:
instantiated from `std::_Checked_iterator_base_helper<long int*>'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility:2989:
instantiated from `_OutIt stdext::unchecked_copy(_InIt, _InIt, _OutIt)
[with _InIt = long int*, _OutIt = long int*]'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:563:   instantiated
from `std::vector<_Ty, _Ax>& std::vector<_Ty, _Ax>::operator=(const
std::vector<_Ty, _Ax>&) [with _Ty = long int, _Ax = std::allocator<long
int>]'
17>C:/Toolkits/ITK/Code/IO/itkImageIORegion.h:120:   instantiated from here
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility:910: error: `long
int*' is
17>   not a class, struct, or union type
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility: In instantiation
of `std::_Checked_iterator_base_helper<long int*>':
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility:2989:
instantiated from `_OutIt stdext::unchecked_copy(_InIt, _InIt, _OutIt)
[with _InIt = long int*, _OutIt = long int*]'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:563:   instantiated
from `std::vector<_Ty, _Ax>& std::vector<_Ty, _Ax>::operator=(const
std::vector<_Ty, _Ax>&) [with _Ty = long int, _Ax = std::allocator<long
int>]'
17>C:/Toolkits/ITK/Code/IO/itkImageIORegion.h:120:   instantiated from here
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility:934: error: no
type named `
17>   _Checked_iterator_base_type' in `class
17>   std::_Checked_iterator_base_helper2<long int*, true>'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility: In instantiation
of `std::_Checked_iterator_base_helper<long int*>':
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility:2989:
instantiated from `_OutIt stdext::unchecked_copy(_InIt, _InIt, _OutIt)
[with _InIt = long int*, _OutIt = long int*]'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:563:   instantiated
from `std::vector<_Ty, _Ax>& std::vector<_Ty, _Ax>::operator=(const
std::vector<_Ty, _Ax>&) [with _Ty = long int, _Ax = std::allocator<long
int>]'
17>C:/Toolkits/ITK/Code/IO/itkImageIORegion.h:120:   instantiated from here
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility:936: error: no
type named `
17>   _Checked_iterator_base_type' in `class
17>   std::_Checked_iterator_base_helper2<long int*, true>'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility: In instantiation
of `std::_Checked_iterator_base_helper<long int*>':
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility:2989:
instantiated from `_OutIt stdext::unchecked_copy(_InIt, _InIt, _OutIt)
[with _InIt = long int*, _OutIt = long int*]'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:563:   instantiated
from `std::vector<_Ty, _Ax>& std::vector<_Ty, _Ax>::operator=(const
std::vector<_Ty, _Ax>&) [with _Ty = long int, _Ax = std::allocator<long
int>]'
17>C:/Toolkits/ITK/Code/IO/itkImageIORegion.h:120:   instantiated from here
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility:937: error: no
type named `
17>   _Checked_iterator_base_type' in `class
17>   std::_Checked_iterator_base_helper2<long int*, true>'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility: In function `_OutIt
17>   stdext::unchecked_copy(_InIt, _InIt, _OutIt) [with _InIt = long
int*, _OutIt
17>   = long int*]':
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:563:   instantiated
from `std::vector<_Ty, _Ax>& std::vector<_Ty, _Ax>::operator=(const
std::vector<_Ty, _Ax>&) [with _Ty = long int, _Ax = std::allocator<long
int>]'
17>C:/Toolkits/ITK/Code/IO/itkImageIORegion.h:120:   instantiated from here
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility:2989: error: no
matching
17>   function for call to `_Checked_base(long int*&)'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility:2989: error: no
matching
17>   function for call to `_Checked_base(long int*&)'
17>C:/Program Files/Microsoft Visual Studio 8/VC/include/memory: In
function `
17>   _FwdIt stdext::unchecked_uninitialized_copy(_InIt, _InIt, _FwdIt,
_Alloc&)
17>   [with _InIt = long int*, _FwdIt = long int*, _Alloc =
std::allocator<long
17>   int>]':
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:1104:   instantiated
from `typename std::_Vector_val<_Ty, _Ax>::_Alty::pointer
std::vector<_Ty, _Ax>::_Ucopy(_Iter, _Iter, typename
std::_Vector_val<_Ty, _Ax>::_Alty::pointer) [with _Iter = long int*, _Ty
= long int, _Ax = std::allocator<long int>]'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:571:   instantiated
from `std::vector<_Ty, _Ax>& std::vector<_Ty, _Ax>::operator=(const
std::vector<_Ty, _Ax>&) [with _Ty = long int, _Ax = std::allocator<long
int>]'
17>C:/Toolkits/ITK/Code/IO/itkImageIORegion.h:120:   instantiated from here
17>C:/Program Files/Microsoft Visual Studio 8/VC/include/memory:673:
error: no
17>   matching function for call to `_Checked_base(long int*&)'
17>C:/Program Files/Microsoft Visual Studio 8/VC/include/memory:673:
error: no
17>   matching function for call to `_Checked_base(long int*&)'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility: At global scope:
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility: In instantiation
of `std::_Checked_iterator_category_helper<double*, true>':
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility:887:
instantiated from `std::_Checked_iterator_category<double*>'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility:1039:
instantiated from
`std::_Ptr_cat_helper<std::_Vector_const_iterator<double,
std::allocator<double> >, double*>'
17>C:/Program Files/Microsoft Visual Studio 8/VC/include/memory:673:
instantiated from `_FwdIt stdext::unchecked_uninitialized_copy(_InIt,
_InIt, _FwdIt, _Alloc&) [with _InIt =
std::_Vector_const_iterator<double, std::allocator<double> >, _FwdIt =
double*, _Alloc = std::allocator<double>]'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:1104:   instantiated
from `typename std::_Vector_val<_Ty, _Ax>::_Alty::pointer
std::vector<_Ty, _Ax>::_Ucopy(_Iter, _Iter, typename
std::_Vector_val<_Ty, _Ax>::_Alty::pointer) [with _Iter =
std::_Vector_const_iterator<double, std::allocator<double> >, _Ty =
double, _Ax = std::allocator<double>]'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:490:   instantiated
from `std::vector<_Ty, _Ax>::vector(const std::vector<_Ty, _Ax>&) [with
_Ty = double, _Ax = std::allocator<double>]'
17>C:/Toolkits/ITK/Code/IO/itkImageIOBase.h:120:   instantiated from here
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility:880: error:
`double*' is not
17>   a class, struct, or union type
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility: In instantiation
of `std::_Checked_iterator_category<double*>':
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility:1039:
instantiated from
`std::_Ptr_cat_helper<std::_Vector_const_iterator<double,
std::allocator<double> >, double*>'
17>C:/Program Files/Microsoft Visual Studio 8/VC/include/memory:673:
instantiated from `_FwdIt stdext::unchecked_uninitialized_copy(_InIt,
_InIt, _FwdIt, _Alloc&) [with _InIt =
std::_Vector_const_iterator<double, std::allocator<double> >, _FwdIt =
double*, _Alloc = std::allocator<double>]'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:1104:   instantiated
from `typename std::_Vector_val<_Ty, _Ax>::_Alty::pointer
std::vector<_Ty, _Ax>::_Ucopy(_Iter, _Iter, typename
std::_Vector_val<_Ty, _Ax>::_Alty::pointer) [with _Iter =
std::_Vector_const_iterator<double, std::allocator<double> >, _Ty =
double, _Ax = std::allocator<double>]'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:490:   instantiated
from `std::vector<_Ty, _Ax>::vector(const std::vector<_Ty, _Ax>&) [with
_Ty = double, _Ax = std::allocator<double>]'
17>C:/Toolkits/ITK/Code/IO/itkImageIOBase.h:120:   instantiated from here
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility:887: error: no
type named `
17>   _Checked_cat' in `class
std::_Checked_iterator_category_helper<double*,
17>   true>'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility: In instantiation
of `std::_Ptr_cat_helper<std::_Vector_const_iterator<double,
std::allocator<double> >, double*>':
17>C:/Program Files/Microsoft Visual Studio 8/VC/include/memory:673:
instantiated from `_FwdIt stdext::unchecked_uninitialized_copy(_InIt,
_InIt, _FwdIt, _Alloc&) [with _InIt =
std::_Vector_const_iterator<double, std::allocator<double> >, _FwdIt =
double*, _Alloc = std::allocator<double>]'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:1104:   instantiated
from `typename std::_Vector_val<_Ty, _Ax>::_Alty::pointer
std::vector<_Ty, _Ax>::_Ucopy(_Iter, _Iter, typename
std::_Vector_val<_Ty, _Ax>::_Alty::pointer) [with _Iter =
std::_Vector_const_iterator<double, std::allocator<double> >, _Ty =
double, _Ax = std::allocator<double>]'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:490:   instantiated
from `std::vector<_Ty, _Ax>::vector(const std::vector<_Ty, _Ax>&) [with
_Ty = double, _Ax = std::allocator<double>]'
17>C:/Toolkits/ITK/Code/IO/itkImageIOBase.h:120:   instantiated from here
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility:1039: error: no
type named `
17>   _Checked_cat' in `class std::_Checked_iterator_category<double*>'
17>C:/Program Files/Microsoft Visual Studio 8/VC/include/memory: In
function `
17>   _FwdIt stdext::unchecked_uninitialized_copy(_InIt, _InIt, _FwdIt,
_Alloc&)
17>   [with _InIt = std::_Vector_const_iterator<double,
std::allocator<double> >,
17>   _FwdIt = double*, _Alloc = std::allocator<double>]':
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:1104:   instantiated
from `typename std::_Vector_val<_Ty, _Ax>::_Alty::pointer
std::vector<_Ty, _Ax>::_Ucopy(_Iter, _Iter, typename
std::_Vector_val<_Ty, _Ax>::_Alty::pointer) [with _Iter =
std::_Vector_const_iterator<double, std::allocator<double> >, _Ty =
double, _Ax = std::allocator<double>]'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:490:   instantiated
from `std::vector<_Ty, _Ax>::vector(const std::vector<_Ty, _Ax>&) [with
_Ty = double, _Ax = std::allocator<double>]'
17>C:/Toolkits/ITK/Code/IO/itkImageIOBase.h:120:   instantiated from here
17>C:/Program Files/Microsoft Visual Studio 8/VC/include/memory:673:
error: no
17>   matching function for call to
`_Ptr_cat(std::_Vector_const_iterator<double,
17>   std::allocator<double> >&, double*&)'
17>C:/Program Files/Microsoft Visual Studio 8/VC/include/memory: In
function `
17>   _FwdIt stdext::_Unchecked_uninitialized_move(_InIt, _InIt, _FwdIt,
_Alloc&)
17>   [with _InIt = long int*, _FwdIt = long int*, _Alloc =
std::allocator<long
17>   int>]':
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:1111:   instantiated
from `typename std::_Vector_val<_Ty, _Ax>::_Alty::pointer
std::vector<_Ty, _Ax>::_Umove(_Iter, _Iter, typename
std::_Vector_val<_Ty, _Ax>::_Alty::pointer) [with _Iter = long int*, _Ty
= long int, _Ax = std::allocator<long int>]'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:1142:   instantiated
from `void std::vector<_Ty, _Ax>::_Insert_n(std::_Vector_iterator<_Ty,
typename std::_Vector_val<_Ty, _Ax>::_Alty>, typename
std::_Vector_val<_Ty, _Ax>::_Alty::size_type, const _Ty&) [with _Ty =
long int, _Ax = std::allocator<long int>]'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:696:   instantiated
from `void std::vector<_Ty, _Ax>::resize(typename std::_Vector_val<_Ty,
_Ax>::_Alty::size_type, _Ty) [with _Ty = long int, _Ax =
std::allocator<long int>]'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:690:   instantiated
from `void std::vector<_Ty, _Ax>::resize(typename std::_Vector_val<_Ty,
_Ax>::_Alty::size_type) [with _Ty = long int, _Ax = std::allocator<long
int>]'
17>C:/Toolkits/ITK/Code/IO/itkImageIORegion.h:86:   instantiated from here
17>C:/Program Files/Microsoft Visual Studio 8/VC/include/memory:693:
error: no
17>   matching function for call to `_Checked_base(long int*&)'
17>C:/Program Files/Microsoft Visual Studio 8/VC/include/memory:693:
error: no
17>   matching function for call to `_Checked_base(long int*&)'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility: In function `void
17>   std::_Fill_n(_OutIt, _Diff, const _Ty&,
std::random_access_iterator_tag,
17>   std::_Range_checked_iterator_tag) [with _OutIt = long int*, _Diff
= unsigned
17>   int, _Ty = long int]':
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility:3054:
instantiated from `void stdext::unchecked_fill_n(_OutIt, _Diff, const
_Ty&) [with _OutIt = long int*, _Diff = unsigned int, _Ty = long int]'
17>C:/Program Files/Microsoft Visual Studio 8/VC/include/memory:328:
instantiated from `void std::_Uninit_fill_n(_FwdIt, _Diff, const _Tval&,
_Alloc&, std::_Scalar_ptr_iterator_tag,
std::_Range_checked_iterator_tag) [with _FwdIt = long int*, _Diff =
unsigned int, _Tval = long int, _Alloc = std::allocator<long int>]'
17>C:/Program Files/Microsoft Visual Studio 8/VC/include/memory:730:
instantiated from `void stdext::unchecked_uninitialized_fill_n(_FwdIt,
_Diff, const _Tval&, _Alloc&) [with _FwdIt = long int*, _Diff = unsigned
int, _Tval = long int, _Alloc = std::allocator<long int>]'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:1208:   instantiated
from `typename std::_Vector_val<_Ty, _Ax>::_Alty::pointer
std::vector<_Ty, _Ax>::_Ufill(typename std::_Vector_val<_Ty,
_Ax>::_Alty::pointer, typename std::_Vector_val<_Ty,
_Ax>::_Alty::size_type, const _Ty&) [with _Ty = long int, _Ax =
std::allocator<long int>]'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:1144:   instantiated
from `void std::vector<_Ty, _Ax>::_Insert_n(std::_Vector_iterator<_Ty,
typename std::_Vector_val<_Ty, _Ax>::_Alty>, typename
std::_Vector_val<_Ty, _Ax>::_Alty::size_type, const _Ty&) [with _Ty =
long int, _Ax = std::allocator<long int>]'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:696:   instantiated
from `void std::vector<_Ty, _Ax>::resize(typename std::_Vector_val<_Ty,
_Ax>::_Alty::size_type, _Ty) [with _Ty = long int, _Ax =
std::allocator<long int>]'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:690:   instantiated
from `void std::vector<_Ty, _Ax>::resize(typename std::_Vector_val<_Ty,
_Ax>::_Alty::size_type) [with _Ty = long int, _Ax = std::allocator<long
int>]'
17>C:/Toolkits/ITK/Code/IO/itkImageIORegion.h:86:   instantiated from here
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility:2834: error: no
matching
17>   function for call to `_Checked_base(long int*&)'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility: In function `void
17>   std::fill(_FwdIt, _FwdIt, const _Ty&) [with _FwdIt = long int*,
_Ty = long
17>   int]':
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:1186:   instantiated
from `void std::vector<_Ty, _Ax>::_Insert_n(std::_Vector_iterator<_Ty,
typename std::_Vector_val<_Ty, _Ax>::_Alty>, typename
std::_Vector_val<_Ty, _Ax>::_Alty::size_type, const _Ty&) [with _Ty =
long int, _Ax = std::allocator<long int>]'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:696:   instantiated
from `void std::vector<_Ty, _Ax>::resize(typename std::_Vector_val<_Ty,
_Ax>::_Alty::size_type, _Ty) [with _Ty = long int, _Ax =
std::allocator<long int>]'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:690:   instantiated
from `void std::vector<_Ty, _Ax>::resize(typename std::_Vector_val<_Ty,
_Ax>::_Alty::size_type) [with _Ty = long int, _Ax = std::allocator<long
int>]'
17>C:/Toolkits/ITK/Code/IO/itkImageIORegion.h:86:   instantiated from here
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility:2768: error: no
matching
17>   function for call to `_Checked_base(long int*&)'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility:2768: error: no
matching
17>   function for call to `_Checked_base(long int*&)'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility: In function `_BidIt2
17>   stdext::_Unchecked_move_backward(_BidIt1, _BidIt1, _BidIt2) [with
_BidIt1 =
17>   long int*, _BidIt2 = long int*]':
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:1199:   instantiated
from `void std::vector<_Ty, _Ax>::_Insert_n(std::_Vector_iterator<_Ty,
typename std::_Vector_val<_Ty, _Ax>::_Alty>, typename
std::_Vector_val<_Ty, _Ax>::_Alty::size_type, const _Ty&) [with _Ty =
long int, _Ax = std::allocator<long int>]'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:696:   instantiated
from `void std::vector<_Ty, _Ax>::resize(typename std::_Vector_val<_Ty,
_Ax>::_Alty::size_type, _Ty) [with _Ty = long int, _Ax =
std::allocator<long int>]'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/vector:690:   instantiated
from `void std::vector<_Ty, _Ax>::resize(typename std::_Vector_val<_Ty,
_Ax>::_Alty::size_type) [with _Ty = long int, _Ax = std::allocator<long
int>]'
17>C:/Toolkits/ITK/Code/IO/itkImageIORegion.h:86:   instantiated from here
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility:3037: error: no
matching
17>   function for call to `_Checked_base(long int*&)'
17>C:/Toolkits/_build/ITK-VS/bin/Vc8/Include/xutility:3037: error: no
matching
17>   function for call to `_Checked_base(long int*&)'
17>Project : error PRJ0019: A tool returned an error code from
"wrap_itkImageSeriesWriter.xml from "
17>Build log was saved at
"file://c:\Toolkits\_build\ITK-VS\Wrapping\CSwig\IO\ITKIOTcl.dir\Release\BuildLog.htm"
17>ITKIOTcl - 20 error(s), 0 warning(s)


Same sort of errors when building "ITKAlgorithmsTcl.lib"

and of course :

19>------ Build started: Project: itkwish, Configuration: Release Win32 
------
19>Compiling...
19>itkTclAppInit.cxx
19>Compiling manifest to resources...
19>Linking...
19>LINK : fatal error LNK1104: cannot open file 'ITKAlgorithmsTcl.lib'
19>Build log was saved at 
"file://c:\Toolkits\_build\ITK-VS\Wrapping\CSwig\Tcl\itkwish.dir\Release\BuildLog.htm"
19>itkwish - 1 error(s), 0 warning(s)

> Have you tried WrapITK ?

No, I havent - where is the cvs repository ? or is there a distribution 
? - and a user guide ;)

Thanks a lot

JM



More information about the Insight-users mailing list