[Insight-users] Error Building InsightApplications 3.18

Zein Salah zeinsalah at gmail.com
Fri Apr 30 08:34:44 EDT 2010


Hello Everybody,

I downloaded ITK 3.18 and built it successfully with Cmake 2.8.1
and Visual Studio 2005. VTK 5.6.0 was also downloaded and built
without problems.

But I failed to build the corresponding release of InsightApplications 3.18.
38 projects failed to combile in VS. After I unchecked most of the
application in CMake in order to minimize combilation time, several
projects failed, including fltkImageViewer, which I am interested in.

Most errors are a copy of the following one:


1>cl : Command line warning D9025 : overriding '/W3' with '/w'
1>fltkImageViewerGUI.cxx
2>vtkRegistrationMonitor.cxx
1>C:\Program Files\Microsoft Visual Studio 8\VC\include\xlocnum(590) :
error C2872: 'uintptr_t' : ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\include\vadefs.h(52) : __w64 unsigned int uintptr_t'
1>        or 'd:\itk318\code\common\itkIntTypes.h(198) : itk::uintptr_t'
1>        C:\Program Files\Microsoft Visual Studio
8\VC\include\xlocnum(566) : while compiling class template member
function 'std::istreambuf_iterator<_Elem,_Traits>
std::num_get<_Elem,_InIt>::do_get(_InIt,_InIt,std::ios_base
&,std::ios_base::iostate &,void *&) const'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _InIt=std::istreambuf_iterator<char,std::char_traits<char>>
1>        ]
1>        C:\Program Files\Microsoft Visual Studio
8\VC\include\xlocnum(1367) : see reference to class template
instantiation 'std::num_get<_Elem,_InIt>' being compiled
1>        with
1>        [
1>            _Elem=char,
1>            _InIt=std::istreambuf_iterator<char,std::char_traits<char>>
1>        ]


BTW, I tried with fltk 1.1.7 and fltk 1.1.10 and it did not make any difference
regarding compilation errors.

I would appreciate any hints.

Thanks,
Zein


More information about the Insight-users mailing list