<div>Hello all,</div>
<div> </div>
<div>Good day. it has been a tough moment when i went through the ITK+VTK+TCL/TK building process.</div>
<div> </div>
<div>My os : Windows XP</div>
<div>My compiler MSDev 6.0</div>
<div>Cmake 2.4 patch 7</div>
<div> </div>
<div>i get the offical release of ITK 3.2.0 and CableSwig for ITK3.2.0</div>
<div> </div>
<div>i unpacked ITK 3.2.0 and unpacked CableSwig into its Utilities sub-folder. run CMake enable TCL options and enable share libraries.</div>
<div>"Configure" and "OK" in Cmake</div>
<div> </div>
<div>then load ITK.dsw and Build in Release with Debug info.</div>
<div> </div>
<div>during the process some problems came out.</div>
<div> </div>
<div>1) some (actually many) warnings like below came out</div>
<div> </div>
<div>===warnings===</div>
<div>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:
<br>: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
<br>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
<br>_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
<br>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
<br>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> >
<br> *,int>' : identifier was truncated to '255' characters in the debug information<br>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
<br>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
<br>ator<char> > const *,int>' : identifier was truncated to '255' characters in the debug information<br>itkStringStream.cxx<br>Generating Code...<br>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> > >
<br> >::~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
<br>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
<br>::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
<br>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
<br>,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
<br>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
<br>aracters in the debug information<br>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
<br>,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
<br>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
<br>ated to '255' characters in the debug information<br>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
<br>,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
<br>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
<br>o '255' characters in the debug information<br>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
<br>,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
<br>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 '
<br>255' characters in the debug information<br>=========</div>
<div> </div>
<div>i am not sure whether it is vital or not.</div>
<div> </div>
<div> </div>
<div>2) during the process there were * 3 times* a pop window came out to ask for reload some .dsp (3 different .dsp files )files.</div>
<div> </div>
<div>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."
</div>
<div>Do you want to reload it now?</div>
<div> </div>
<div>i chose of course No. since it have been 35minutes after from staring building it.</div>
<div> </div>
<div>so it went on.</div>
<div> </div>
<div>3) then after it had been building for 50 minutes. a fatal error hit me down....</div>
<div> </div>
<div>the error returned like below</div>
<div> </div>
<div>"
<p>wrap_itkCastImageFilter_2DTcl.obj : fatal error LNK1143: invalid or corrupt file: no symbol for comdat section 0xffff8000<br>Error executing link.exe.</p>
<p>ALL_BUILD - 1 error(s), 127 warning(s)</p>"</div>
<div> </div>
<div> </div>
<div>i cleared the building directory and run Cmake again to generate new files and built again. same thing still.. </div>
<div>so please Luis or someone out there please give suggestions on this.</div>
<div> </div>
<div>Thank you.</div>
<div> </div>
<div>regards</div>
<div> </div>
<div>Yours</div>
<div> </div>
<div>O.S</div>
<div> </div>
<div>p.s</div>
<div>just complain on problem.</div>
<div> </div>
<div>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.
</div>