[Insight-users] error building InsightApplications

Prashanth prashanth.dumpuri at gmail.com
Tue May 31 10:24:34 EDT 2011


Luis,
  Thanks for the reply. I get the error when building directories/apps that
use FLTK. I built InsightApplications without FLTK support and it built fine
with no errors. First instance of the error message (Error 5 error C2872:
'uintptr_t' : ambiguous symbol C:\Program Files\Microsoft Visual Studio
8\VC\include\xlocnum) was when it was building ITKFltkImageViewer.

Thanks
Prashanth


On Sun, May 29, 2011 at 3:08 PM, Luis Ibanez <luis.ibanez at kitware.com>wrote:

> Hi Prashanth,
>
> Could you let us know which one of the directories
> in InsightApplications is being compiled when you
> get the error ?
>
>
>     Thanks
>
>
>          Luis
>
>
> ----------------------------------------------------------------
> On Thu, May 26, 2011 at 2:48 PM, Prashanth <prashanth.dumpuri at gmail.com>
> wrote:
> > Luis,
> >     I just checked ITK, FLTK and InsightApplications build. They were all
> > built in the Release mode. And I still get a bunch of errors that read
> > "C:\Program Files\Microsoft Visual Studio 8\VC\include\xlocnum(590) :
> > error > C2872: 'uintptr_t' : ambiguous symbol. P.S. I do not get this
> error
> > if i turn off FLTK option in CMake.
> > Thanks
> > Prashanth
> >
> > On Thu, May 26, 2011 at 12:38 PM, Prashanth <prashanth.dumpuri at gmail.com
> >
> > wrote:
> >>
> >> Luis,
> >>   Thanks for getting back to me. I'm using 3.20.0. I haven't checked
> your
> >> earlier suggestion - checking to see if am building ITK, FLTK and
> >> InsightApplication using the same configuration (Debug/Release). I will
> let
> >> you know once i do that.
> >> Thanks again
> >> Prashanth
> >>
> >> On Thu, May 26, 2011 at 12:12 PM, Luis Ibanez <luis.ibanez at kitware.com>
> >> wrote:
> >>>
> >>> Hi Prashanth,
> >>>
> >>> What version of ITK are you using ?
> >>>
> >>> Are you using InsightApplications
> >>>
> >>>               3.2.0 ?  or 3.20 ?
> >>>
> >>>
> >>>
> >>>   Luis
> >>>
> >>>
> >>> ------------------------------------------
> >>> On Tue, May 24, 2011 at 4:22 PM, Prashanth <
> prashanth.dumpuri at gmail.com>
> >>> wrote:
> >>> > All,
> >>> >    I'm trying to build InsightApplications 3.2.0 on a 32-bit Windows
> >>> > machine
> >>> > using Microsoft Visual Studio 2005. I get  errors when I try to build
> >>> > it
> >>> > with FLTK ('am using FLTK 1.3.x-r8995). According to the mailing list
> >>> > archives, this was fixed in InsightApplications 3.1.8. I still get
> the
> >>> > same
> >>> > errors (listed below). Can you please help me with this?
> >>> > Thanks
> >>> > Prashanth
> >>> >
> >>> > C:\Program Files\Microsoft Visual Studio 8\VC\include\xlocnum(590) :
> >>> > error
> >>> > C2872: 'uintptr_t' : ambiguous symbol
> >>> >         could be 'C:\Program Files\Microsoft Visual Studio
> >>> > 8\VC\include\vadefs.h(52) : __w64 unsigned int uintptr_t'
> >>> >         or 'c:\msysgit\msysgit\git\itk\code\common\itkIntTypes.h(115)
> :
> >>> > itk::uintptr_t'
> >>> >         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'
> >>> >         with
> >>> >         [
> >>> >             _Elem=char,
> >>> >             _Traits=std::char_traits<char>,
> >>> >
> _InIt=std::istreambuf_iterator<char,std::char_traits<char>>
> >>> >         ]
> >>> >         C:\Program Files\Microsoft Visual Studio
> >>> > 8\VC\include\xlocnum(1367)
> >>> > : see reference to class template instantiation
> >>> > 'std::num_get<_Elem,_InIt>'
> >>> > being compiled
> >>> >         with
> >>> >         [
> >>> >             _Elem=char,
> >>> >
> _InIt=std::istreambuf_iterator<char,std::char_traits<char>>
> >>> >         ]
> >>> >
> >>> >
> >>> >
> >>> > _____________________________________
> >>> > 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
> >>> >
> >>> >
> >>
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110531/c52612e7/attachment.htm>


More information about the Insight-users mailing list