Compiler error with makeParaView
I'm trying to compile paraview using the script makeParaView in ThirdParty package. I'm using Intel compiler icpc. The compilation failed with the following message. I wonder if there is any solution for this. Thanks.
Ying ....... Linking C shared library ../../../bin/libvtktiff.so [ 4%] Built target vtktiff [ 4%] Built target vtkexpat [ 4%] Built target vtkfreetype [ 4%] Built target vtklibxml2 [ 4%] Built target vtkDICOMParser [ 4%] Building CXX object VTK/Utilities/MaterialLibrary/CMakeFiles/ProcessShader.dir/ProcessShader.cxx.o In file included from /apps/openfoam/ThirdParty-2.1.1/ParaView-3.12.0/VTK/Common/vtkSystemIncludes.h:50, from /apps/openfoam/ThirdParty-2.1.1/ParaView-3.12.0/VTK/Common/vtkIndent.h:24, from /apps/openfoam/ThirdParty-2.1.1/ParaView-3.12.0/VTK/Common/vtkObjectBase.h:43, from /apps/openfoam/ThirdParty-2.1.1/ParaView-3.12.0/VTK/Common/vtkObject.h:41, from /apps/openfoam/ThirdParty-2.1.1/ParaView-3.12.0/VTK/Utilities/MaterialLibrary/ProcessSh ader.cxx:16: /apps/openfoam/ThirdParty-2.1.1/ParaView-3.12.0/VTK/Common/vtkOStreamWrapper.h:79: error: declaration of ‘ope rator<<’ as non-function /apps/openfoam/ThirdParty-2.1.1/ParaView-3.12.0/VTK/Common/vtkOStreamWrapper.h:79: error: expected ‘;’ before ‘(’ token /apps/openfoam/ThirdParty-2.1.1/ParaView-3.12.0/VTK/Common/vtkOStreamWrapper.h:80: error: ‘vtkOStreamWrapper& vtkOStreamWrapper::operator<<(unsigned int)’ cannot be overloaded /apps/openfoam/ThirdParty-2.1.1/ParaView-3.12.0/VTK/Common/vtkOStreamWrapper.h:70: error: with ‘vtkOStreamWra pper& vtkOStreamWrapper::operator<<(unsigned int)’ make[2]: *** [VTK/Utilities/MaterialLibrary/CMakeFiles/ProcessShader.dir/ProcessShader.cxx.o] Error 1 make[1]: *** [VTK/Utilities/MaterialLibrary/CMakeFiles/ProcessShader.dir/all] Error 2 make: *** [all] Error 2 |
Greetings zhang88 and welcome to the forum!
Knowing which operating system and version, as well as ICPC version would make it a lot easier to help you! ;) Otherwise I'd suggest:
Bruno |
Quote:
I was having this same error, compiling ThirdParty-2.2.x on a machine using all Intel compilers. I thought that the icc and icpc should've already been declared as my functioning compilers but when running Code:
echo $WM_CXX Code:
g++ Code:
export WM_CXX=icpc Code:
./makeParaView LV -- http://xkcd.com/979/ |
All times are GMT -4. The time now is 05:39. |