[Insight-users] ITK/tcl wrapping problem.
wrap_itkCastImageFilter_2DTcl.obj : fatal error LNK1143:
invalid or corrupt file: no symbol for comdat section 0xffff8000
Ocean Spring
meancity at gmail.com
Fri Aug 31 12:38:24 EDT 2007
Hello all,
Good day. it has been a tough moment when i went through the ITK+VTK+TCL/TK
building process.
My os : Windows XP
My compiler MSDev 6.0
Cmake 2.4 patch 7
i get the offical release of ITK 3.2.0 and CableSwig for ITK3.2.0
i unpacked ITK 3.2.0 and unpacked CableSwig into its Utilities sub-folder.
run CMake enable TCL options and enable share libraries.
"Configure" and "OK" in Cmake
then load ITK.dsw and Build in Release with Debug info.
during the process some problems came out.
1) some (actually many) warnings like below came out
===warnings===
C:\ITK\Wrapping\CSwig\CommonA\SwigExtras_wrapTcl.cxx(1406) : warning C4786:
'std::reverse_iterator<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> const *,std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std:
:basic_string<char,std::char_traits<char>,std::allocator<char> > const
&,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const
*,int>' : identifier was truncated to '255' characters in the debug
information
C:\ITK\Wrapping\CSwig\CommonA\SwigExtras_wrapTcl.cxx(1406) : warning C4786:
'std::reverse_iterator<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> *,std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::basic
_string<char,std::char_traits<char>,std::allocator<char> >
&,std::basic_string<char,std::char_traits<char>,std::allocator<char> >
*,int>' : identifier was truncated to '255' characters in the debug
information
C:\ITK\Wrapping\CSwig\CommonA\SwigExtras_wrapTcl.cxx(1431) : warning C4786:
'std::reverse_bidirectional_iterator<std::list<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<ch
ar>,std::allocator<char> > >
>::iterator,std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::basic_string<char,std::char_traits<char>,std::allocator<char> >
&,std::basic_string<char,std::char_traits<char>,std::allocator<char> >
*,int>' : identifier was truncated to '255' characters in the debug
information
C:\ITK\Wrapping\CSwig\CommonA\SwigExtras_wrapTcl.cxx(1431) : warning C4786:
'std::reverse_bidirectional_iterator<std::list<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<ch
ar>,std::allocator<char> > >
>::const_iterator,std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const
&,std::basic_string<char,std::char_traits<char>,std::alloc
ator<char> > const *,int>' : identifier was truncated to '255' characters in
the debug information
itkStringStream.cxx
Generating Code...
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\vector(60) : warning
C4786:
'std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >
>::~vector<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> > >' : identifier was truncated to '255' characters in the debug
information
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xmemory(34) : warning
C4786:
'std::binary_function<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> const ,itk::SmartPointer<itk::MetaDataObjectBase> >,std::pair<std
::basic_string<char,std::char_traits<char>,std::allocator<char> > const
,itk::SmartPointer<itk::MetaDataObjectBase> >,bool>' : identifier was
truncated to '255' characters in the debug information
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xmemory(34) : warning
C4786:
'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> const
,itk::SmartPointer<itk::MetaDataObjectBase>
>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,itk::SmartPointer<itk::MetaDataObjectBase>,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >,s
td::allocator<itk::SmartPointer<itk::MetaDataObjectBase> >
>::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >,std::allocator<itk::SmartPointer<itk::MetaDataObjectBase> > >' :
identifier was truncated to '255' ch
aracters in the debug information
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xmemory(34) : warning
C4786:
'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> const
,itk::SmartPointer<itk::MetaDataObjectBase>
>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,itk::SmartPointer<itk::MetaDataObjectBase>,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >,s
td::allocator<itk::SmartPointer<itk::MetaDataObjectBase> >
>::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >,std::allocator<itk::SmartPointer<itk::MetaDataObjectBase> >
>::const_iterator' : identifier was trunc
ated to '255' characters in the debug information
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xmemory(34) : warning
C4786:
'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> const
,itk::SmartPointer<itk::MetaDataObjectBase>
>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,itk::SmartPointer<itk::MetaDataObjectBase>,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >,s
td::allocator<itk::SmartPointer<itk::MetaDataObjectBase> >
>::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >,std::allocator<itk::SmartPointer<itk::MetaDataObjectBase> > >::iterator'
: identifier was truncated t
o '255' characters in the debug information
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xmemory(34) : warning
C4786:
'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> const
,itk::SmartPointer<itk::MetaDataObjectBase>
>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,itk::SmartPointer<itk::MetaDataObjectBase>,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >,s
td::allocator<itk::SmartPointer<itk::MetaDataObjectBase> >
>::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >,std::allocator<itk::SmartPointer<itk::MetaDataObjectBase> > >::_Node' :
identifier was truncated to '
255' characters in the debug information
=========
i am not sure whether it is vital or not.
2) during the process there were * 3 times* a pop window came out to ask for
reload some .dsp (3 different .dsp files )files.
such as "the project file
"C:\ITK\Wrapping\CSwing\CommonA\ITKCommonATcl.dsp " has been changed outside
of the Microsoft Developer Studio. You will need to close and reload this
project in other to incorporate any changes."
Do you want to reload it now?
i chose of course No. since it have been 35minutes after from staring
building it.
so it went on.
3) then after it had been building for 50 minutes. a fatal error hit me
down....
the error returned like below
"
wrap_itkCastImageFilter_2DTcl.obj : fatal error LNK1143: invalid or corrupt
file: no symbol for comdat section 0xffff8000
Error executing link.exe.
ALL_BUILD - 1 error(s), 127 warning(s)
"
i cleared the building directory and run Cmake again to generate new files
and built again. same thing still..
so please Luis or someone out there please give suggestions on this.
Thank you.
regards
Yours
O.S
p.s
just complain on problem.
why not kitware release some windows binary which works with VTK and enables
TCL, Python and Java wrapper? because as a user, it seems that i spent *tooo
much* time on just building a tool rather than use it and go further on my
research.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070901/227b0648/attachment.htm
More information about the Insight-users
mailing list