|
[Sponsors] |
July 19, 2013, 09:06 |
Compile Error paraFOAM
|
#1 |
New Member
Stefan Hildenbrand
Join Date: Aug 2009
Location: Stuttgart, Germany
Posts: 24
Rep Power: 17 |
Dear FOAMers,
I downloaded Paraview 4.0.1 and am trying to use it instead of paraview 3.12 which is shipped with OF 2.2.1. I was able to compile paraview 4.0.1 - and it works. I have, however, problems when compiling the PV3 readers - see below. wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file vtkPV3blockMesh.C Making dependency list for source file vtkPV3blockMeshConvert.C Making dependency list for source file vtkPV3blockMeshUtils.C SOURCE=vtkPV3blockMesh.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-2.2.1/src/meshTools/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.2.1/src/mesh/blockMesh/lnInclude -I/opt/OpenFOAM/ThirdParty-2.2.1/platforms/linux64Gcc/paraview-4.0.1/include/paraview-4.0 -I../../vtkPV3Readers/lnInclude -I../PV3blockMeshReader -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.2.1/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.2.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/vtkPV3blockMesh.o In file included from vtkPV3blockMesh.C:27:0: ../PV3blockMeshReader/vtkPV3blockMeshReader.h:60:1: Fehler: expected initializer before »:« token make: *** [Make/linux64GccDPOpt/vtkPV3blockMesh.o] Fehler 1 A similar error occurs later: [...] ../PV3FoamReader/vtkPV3FoamReader.h:62:1: Fehler: expected initializer before »:« token [...] I found a thread with the same problem but with no solution (it was with an old version of both, though) Any hints? Thanks, Stefan |
|
July 19, 2013, 09:19 |
|
#2 |
Senior Member
|
Actually Paraview 4.0.1 has built-in OF reader. So you can use 'paraFoam -builtin' command. In my case I've edited two lines in paraFoam script to make -builtin switch unnecessary:
Code:
# reader extension extension=foam # OpenFOAM requirePV=0 |
|
July 19, 2013, 10:10 |
|
#3 |
New Member
Stefan Hildenbrand
Join Date: Aug 2009
Location: Stuttgart, Germany
Posts: 24
Rep Power: 17 |
Thanks - that was easy.
I guess PV3 reader comes from Paraview 3.xx ? |
|
July 19, 2013, 10:29 |
|
#4 |
Senior Member
|
||
Tags |
openfoam 2.2.x, paraview 4.0.1, pv3foamreader |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM | Rizwan | Fluent UDF and Scheme Programming | 40 | March 18, 2018 07:05 |
How to compile OpenFOAM-1.7.x on CrunchBang linux 10 | gwierink | OpenFOAM Installation | 0 | April 5, 2011 05:38 |
PV3FoamReader compile error.... | PEM_GUY | OpenFOAM Installation | 6 | April 5, 2010 18:22 |
Error compile file udf | czfluent | Fluent UDF and Scheme Programming | 24 | September 26, 2009 14:24 |
Can someone PLEASE document the development version installation | bernd | OpenFOAM Installation | 76 | November 14, 2008 22:51 |