[Insight-users] Intel compiler error
Mathieu Malaterre
mathieu.malaterre at kitware.com
Wed May 25 13:13:36 EDT 2005
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
>
More information about the Insight-users
mailing list