[Insight-users] Intel compiler error

Atwood, Robert C r.atwood at imperial.ac.uk
Wed May 25 14:09:02 EDT 2005


> *completely* remove the Insight
> binary dir (to remove the old cmakecache.txt). And then try again

That is what I did to solve this problem before (though the INtel compiler was not involved, it was an upgrade of gcc) 
  
 

________________________________

From: insight-users-bounces+r.atwood=imperial.ac.uk at itk.org on behalf of Mathieu Malaterre
Sent: Wed 25/05/2005 18:13
To: Diego Persano
Cc: insight-users at itk.org
Subject: Re: [Insight-users] Intel compiler error



Diego,

        How did you install icc on your linux machine ? Are you using the
script: iccvars.sh to setup everything properly ? My guess is that cmake
is failing the namespace test because the executable cannot be built
(since LD_LIBRARY_PATH is not pointing to icc libs). Use iccvars or
defined LD_LIBRARY_PATH properly, then *completely* remove the Insight
binary dir (to remove the old cmakecache.txt). And then try again


HTH
Mathieu

Diego Persano wrote:
> Hi all,
>
> I'm trying to re-build ITK using the C++ Intel compiler 8.1 on Linux
> (I've already built ITK using gcc successfully) because I'd like to
> compare the performance between both builds. But during compilation I
> get the error below. I've used the optimizer option -no-gcc and set the
> variable CC and CXX properly (I saw it in the mailing-list archives).
>
> Any hint about what is happening?
>
> Thank you very much for your time.
>
> Diego
>
> -------------ERROR---------------------------------------------------
>
> /usr/local/InsightToolkit-2.0.0/Utilities/DICOMParser/DICOMFile.h(51):
> error: the global scope has no "string"
>     bool Open(const dicom_stl::string& filename);
>                                ^
>
> /usr/local/InsightToolkit-2.0.0/Utilities/DICOMParser/DICOMFile.cxx(61):
> error: the global scope has no "string"
>   bool DICOMFile::Open(const dicom_stl::string& filename)
>                                         ^
>
> compilation aborted for
> /usr/local/InsightToolkit-2.0.0/Utilities/DICOMParser/DICOMFile.cxx (code
> 2)
> make[5]: *** [DICOMFile.o] Error 2
> make[4]: *** [default_target] Error 2
> make[3]: *** [default_target_DICOMParser] Error 2
> make[2]: *** [default_target] Error 2
> make[1]: *** [default_target_Utilities] Error 2
> make: *** [default_target] Error 2
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>

_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20050525/de033703/attachment.html


More information about the Insight-users mailing list