<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">> *completely* remove the Insight<BR>> 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) </DIV>
<DIV dir=ltr> </FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2> </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> 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>> Hi all,<BR>><BR>> I'm trying to re-build ITK using
the C++ Intel compiler 8.1 on Linux<BR>> (I've already built ITK using gcc
successfully) because I'd like to<BR>> compare the performance between both
builds. But during compilation I<BR>> get the error below. I've used the
optimizer option -no-gcc and set the<BR>> variable CC and CXX properly (I saw
it in the mailing-list archives).<BR>><BR>> Any hint about what is
happening?<BR>><BR>> Thank you very much for your time.<BR>><BR>>
Diego<BR>><BR>>
-------------ERROR---------------------------------------------------<BR>><BR>>
/usr/local/InsightToolkit-2.0.0/Utilities/DICOMParser/DICOMFile.h(51):<BR>>
error: the global scope has no "string"<BR>> bool
Open(const dicom_stl::string&
filename);<BR>>
^<BR>><BR>>
/usr/local/InsightToolkit-2.0.0/Utilities/DICOMParser/DICOMFile.cxx(61):<BR>>
error: the global scope has no "string"<BR>> bool
DICOMFile::Open(const dicom_stl::string&
filename)<BR>>
^<BR>><BR>> compilation aborted for<BR>>
/usr/local/InsightToolkit-2.0.0/Utilities/DICOMParser/DICOMFile.cxx
(code<BR>> 2)<BR>> make[5]: *** [DICOMFile.o] Error 2<BR>> make[4]: ***
[default_target] Error 2<BR>> make[3]: *** [default_target_DICOMParser] Error
2<BR>> make[2]: *** [default_target] Error 2<BR>> make[1]: ***
[default_target_Utilities] Error 2<BR>> make: *** [default_target] Error
2<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>><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>