Luis,<div> 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.</div>
<div><br></div><div>Thanks</div><div>Prashanth</div><div><span class="Apple-tab-span" style="white-space:pre"></span><br><br><div class="gmail_quote">On Sun, May 29, 2011 at 3:08 PM, Luis Ibanez <span dir="ltr"><<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Prashanth,<br>
<br>
Could you let us know which one of the directories<br>
in InsightApplications is being compiled when you<br>
get the error ?<br>
<br>
<br>
Thanks<br>
<br>
<br>
Luis<br>
<br>
<br>
----------------------------------------------------------------<br>
<div><div></div><div class="h5">On Thu, May 26, 2011 at 2:48 PM, Prashanth <<a href="mailto:prashanth.dumpuri@gmail.com">prashanth.dumpuri@gmail.com</a>> wrote:<br>
> Luis,<br>
> I just checked ITK, FLTK and InsightApplications build. They were all<br>
> built in the Release mode. And I still get a bunch of errors that read<br>
> "C:\Program Files\Microsoft Visual Studio 8\VC\include\xlocnum(590) :<br>
> error > C2872: 'uintptr_t' : ambiguous symbol. P.S. I do not get this error<br>
> if i turn off FLTK option in CMake.<br>
> Thanks<br>
> Prashanth<br>
><br>
> On Thu, May 26, 2011 at 12:38 PM, Prashanth <<a href="mailto:prashanth.dumpuri@gmail.com">prashanth.dumpuri@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Luis,<br>
>> Thanks for getting back to me. I'm using 3.20.0. I haven't checked your<br>
>> earlier suggestion - checking to see if am building ITK, FLTK and<br>
>> InsightApplication using the same configuration (Debug/Release). I will let<br>
>> you know once i do that.<br>
>> Thanks again<br>
>> Prashanth<br>
>><br>
>> On Thu, May 26, 2011 at 12:12 PM, Luis Ibanez <<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>><br>
>> wrote:<br>
>>><br>
>>> Hi Prashanth,<br>
>>><br>
>>> What version of ITK are you using ?<br>
>>><br>
>>> Are you using InsightApplications<br>
>>><br>
>>> 3.2.0 ? or 3.20 ?<br>
>>><br>
>>><br>
>>><br>
>>> Luis<br>
>>><br>
>>><br>
>>> ------------------------------------------<br>
>>> On Tue, May 24, 2011 at 4:22 PM, Prashanth <<a href="mailto:prashanth.dumpuri@gmail.com">prashanth.dumpuri@gmail.com</a>><br>
>>> wrote:<br>
>>> > All,<br>
>>> > I'm trying to build InsightApplications 3.2.0 on a 32-bit Windows<br>
>>> > machine<br>
>>> > using Microsoft Visual Studio 2005. I get errors when I try to build<br>
>>> > it<br>
>>> > with FLTK ('am using FLTK 1.3.x-r8995). According to the mailing list<br>
>>> > archives, this was fixed in InsightApplications 3.1.8. I still get the<br>
>>> > same<br>
>>> > errors (listed below). Can you please help me with this?<br>
>>> > Thanks<br>
>>> > Prashanth<br>
>>> ><br>
>>> > C:\Program Files\Microsoft Visual Studio 8\VC\include\xlocnum(590) :<br>
>>> > error<br>
>>> > C2872: 'uintptr_t' : ambiguous symbol<br>
>>> > could be 'C:\Program Files\Microsoft Visual Studio<br>
>>> > 8\VC\include\vadefs.h(52) : __w64 unsigned int uintptr_t'<br>
>>> > or 'c:\msysgit\msysgit\git\itk\code\common\itkIntTypes.h(115) :<br>
>>> > itk::uintptr_t'<br>
>>> > C:\Program Files\Microsoft Visual Studio<br>
>>> > 8\VC\include\xlocnum(566) :<br>
>>> > while compiling class template member function<br>
>>> > 'std::istreambuf_iterator<_Elem,_Traits><br>
>>> > std::num_get<_Elem,_InIt>::do_get(_InIt,_InIt,std::ios_base<br>
>>> > &,std::ios_base::iostate &,void *&) const'<br>
>>> > with<br>
>>> > [<br>
>>> > _Elem=char,<br>
>>> > _Traits=std::char_traits<char>,<br>
>>> > _InIt=std::istreambuf_iterator<char,std::char_traits<char>><br>
>>> > ]<br>
>>> > C:\Program Files\Microsoft Visual Studio<br>
>>> > 8\VC\include\xlocnum(1367)<br>
>>> > : see reference to class template instantiation<br>
>>> > 'std::num_get<_Elem,_InIt>'<br>
>>> > being compiled<br>
>>> > with<br>
>>> > [<br>
>>> > _Elem=char,<br>
>>> > _InIt=std::istreambuf_iterator<char,std::char_traits<char>><br>
>>> > ]<br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > _____________________________________<br>
>>> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>> ><br>
>>> > Visit other Kitware open-source projects at<br>
>>> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>> ><br>
>>> > Kitware offers ITK Training Courses, for more information visit:<br>
>>> > <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
>>> ><br>
>>> > Please keep messages on-topic and check the ITK FAQ at:<br>
>>> > <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
>>> ><br>
>>> > Follow this link to subscribe/unsubscribe:<br>
>>> > <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
>>> ><br>
>>> ><br>
>><br>
><br>
><br>
</div></div></blockquote></div><br></div>