[Insight-users] Error Building InsightApplications 3.18

Luis Ibanez luis.ibanez at kitware.com
Sun May 2 16:57:24 EDT 2010


Hi Zein,

It looks like you are mixing 32bits and 64bits builds.

Please make sure that you use a consistent selection
of compilation options.


    Regards,


            Luis


--------------------------------------------------------
On Fri, Apr 30, 2010 at 8:34 AM, Zein Salah <zeinsalah at gmail.com> wrote:
> 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
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list