<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>

<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>Re: [Insight-users] Intel compiler error</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText92478 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2><FONT 
face="Times New Roman">&gt;&nbsp;*completely* remove the Insight<BR>&gt; binary 
dir (to remove the old cmakecache.txt). And then try 
again</FONT></FONT></DIV><FONT face=Arial color=#000000 size=2><FONT 
face="Times New Roman"></FONT>
<DIV dir=ltr><BR>That is what I did to solve this problem before (though the 
INtel compiler was not involved, it was an upgrade of gcc)&nbsp;</DIV>
<DIV dir=ltr>&nbsp;&nbsp;</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>&nbsp;</DIV></FONT></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> 
insight-users-bounces+r.atwood=imperial.ac.uk@itk.org on behalf of Mathieu 
Malaterre<BR><B>Sent:</B> Wed 25/05/2005 18:13<BR><B>To:</B> Diego 
Persano<BR><B>Cc:</B> insight-users@itk.org<BR><B>Subject:</B> Re: 
[Insight-users] Intel compiler error<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Diego,<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; How did 
you install icc on your linux machine ? Are you using the<BR>script: iccvars.sh 
to setup everything properly ? My guess is that cmake<BR>is failing the 
namespace test because the executable cannot be built<BR>(since LD_LIBRARY_PATH 
is not pointing to icc libs). Use iccvars or<BR>defined LD_LIBRARY_PATH 
properly, then *completely* remove the Insight<BR>binary dir (to remove the old 
cmakecache.txt). And then try again<BR><BR><BR>HTH<BR>Mathieu<BR><BR>Diego 
Persano wrote:<BR>&gt; Hi all,<BR>&gt;<BR>&gt; I'm trying to re-build ITK using 
the C++ Intel compiler 8.1 on Linux<BR>&gt; (I've already built ITK using gcc 
successfully) because I'd like to<BR>&gt; compare the performance between both 
builds. But during compilation I<BR>&gt; get the error below. I've used the 
optimizer option -no-gcc and set the<BR>&gt; variable CC and CXX properly (I saw 
it in the mailing-list archives).<BR>&gt;<BR>&gt; Any hint about what is 
happening?<BR>&gt;<BR>&gt; Thank you very much for your time.<BR>&gt;<BR>&gt; 
Diego<BR>&gt;<BR>&gt; 
-------------ERROR---------------------------------------------------<BR>&gt;<BR>&gt; 
/usr/local/InsightToolkit-2.0.0/Utilities/DICOMParser/DICOMFile.h(51):<BR>&gt; 
error: the global scope has no "string"<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; bool 
Open(const dicom_stl::string&amp; 
filename);<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
^<BR>&gt;<BR>&gt; 
/usr/local/InsightToolkit-2.0.0/Utilities/DICOMParser/DICOMFile.cxx(61):<BR>&gt; 
error: the global scope has no "string"<BR>&gt;&nbsp;&nbsp; bool 
DICOMFile::Open(const dicom_stl::string&amp; 
filename)<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
^<BR>&gt;<BR>&gt; compilation aborted for<BR>&gt; 
/usr/local/InsightToolkit-2.0.0/Utilities/DICOMParser/DICOMFile.cxx 
(code<BR>&gt; 2)<BR>&gt; make[5]: *** [DICOMFile.o] Error 2<BR>&gt; make[4]: *** 
[default_target] Error 2<BR>&gt; make[3]: *** [default_target_DICOMParser] Error 
2<BR>&gt; make[2]: *** [default_target] Error 2<BR>&gt; make[1]: *** 
[default_target_Utilities] Error 2<BR>&gt; make: *** [default_target] Error 
2<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; 
Insight-users mailing list<BR>&gt; Insight-users@itk.org<BR>&gt; <A 
href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</A><BR>&gt;<BR><BR>_______________________________________________<BR>Insight-users 
mailing list<BR>Insight-users@itk.org<BR><A 
href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</A><BR></FONT></P></DIV>

</BODY>
</HTML>