Hi Ravi,<br><br>I believe that when we looked at this error previously,<br>the real culprit is the use of the abominable statement<br><br> "using namespace itk;"<br><br>in some places in ITKApps.<br>
<br>You may want to double check that no such statement<br>is still around.<br><br>---<br><br>Could you please clarify how you got around the <br>problem with<font> itkinttypes.h</font> ?<br><br><br> Thanks,<br>
<br><br> Luis<br><br><div class="gmail_quote"><br>----------------------------------------------------------------------<br>On Tue, Oct 12, 2010 at 9:36 AM, Ravi Samala <span dir="ltr"><<a href="mailto:rksamala@miners.utep.edu">rksamala@miners.utep.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>
I was able to figure it out.<br><br><font face="Courier New">namespace itk</font> in <font face="Tahoma">\Code\Common\itkinttypes.h</font><font face="Tahoma"> file is causing the problem.</font><br><br>regards,<br>RS.<br>
<hr>From: <a href="mailto:rksamala@miners.utep.edu" target="_blank">rksamala@miners.utep.edu</a><br>To: <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>; <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
Date: Mon, 11 Oct 2010 22:10:59 -0600<br>Subject: [Insight-users] Error building InsightApplications<div><div></div><div class="h5"><br><br>
Hello Everyone,<br><br>I am trying to build InsightApplications and I keep getting the following error. I am using ITK, ITKApps, VTK (all nightly-master) compiled with CMake 2.8.2 and FLTK 1.1.10.<br><br><font face="Courier New">C:\Program Files\Microsoft Visual Studio 8\VC\include\xlocnum(590) : error C2872: 'uintptr_t' : ambiguous symbol</font><font face="Courier New"><br>
</font><font face="Courier New"> could be 'C:\Program Files\Microsoft Visual Studio 8\VC\include\vadefs.h(52) : __w64 unsigned int uintptr_t'</font><font face="Courier New"><br></font><font face="Courier New"> or 'c:\msysgit\msysgit\git\itk\code\common\itkIntTypes.h(115) : itk::uintptr_t'</font><font face="Courier New"><br>
</font><font face="Courier New"> 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'</font><font face="Courier New"><br>
</font><font face="Courier New"> with</font><font face="Courier New"><br></font><font face="Courier New"> [</font><font face="Courier New"><br></font><font face="Courier New"> _Elem=char,</font><font face="Courier New"><br>
</font><font face="Courier New"> _Traits=std::char_traits<char>,</font><font face="Courier New"><br></font><font face="Courier New"> _InIt=std::istreambuf_iterator<char,std::char_traits<char>></font><font face="Courier New"><br>
</font><font face="Courier New"> ]</font><font face="Courier New"><br></font><font face="Courier New"> C:\Program Files\Microsoft Visual Studio 8\VC\include\xlocnum(1367) : see reference to class template instantiation 'std::num_get<_Elem,_InIt>' being compiled</font><font face="Courier New"><br>
</font><font face="Courier New"> with</font><font face="Courier New"><br></font><font face="Courier New"> [</font><font face="Courier New"><br></font><font face="Courier New"> _Elem=char,</font><font face="Courier New"><br>
</font><font face="Courier New"> _InIt=std::istreambuf_iterator<char,std::char_traits<char>></font><font face="Courier New"><br></font><font face="Courier New"> ]</font><font face="Courier New"><br>
</font><font face="Courier New"><br></font><font face="Courier New"><br></font><br>Thanks,<br>RS.<br>                                           
<br></div></div>_____________________________________
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>
Visit other Kitware open-source projects at
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a>
Kitware offers ITK Training Courses, for more information visit:
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a>
Please keep messages on-topic and check the ITK FAQ at:
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a>                                            </div>
<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></blockquote></div><br>