|
[Sponsors] |
December 13, 2012, 19:06 |
Compiler error with makeParaView
|
#1 |
New Member
Mei Zhang
Join Date: Dec 2012
Posts: 1
Rep Power: 0 |
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:perator<<(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:perator<<(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 |
|
December 15, 2012, 13:59 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
December 10, 2013, 14:12 |
|
#3 | |
New Member
LV
Join Date: Aug 2012
Posts: 3
Rep Power: 14 |
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/ |
||
Tags |
makeparaview |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 14:43 |
Fortran compiler | Erik | Siemens | 2 | November 28, 2008 21:05 |
Intel compiler for linux x86 | marcus | Siemens | 1 | November 9, 2006 17:43 |
Fluent 6.2 and gcc compiler in Sun Blade 2500 | Nitu Gupta | FLUENT | 8 | April 29, 2005 14:58 |
Fortran compiler | Arnab | Siemens | 5 | September 14, 2004 04:59 |