| Summary: | sci-libs/openfoam-2.1.1 - Patches to make paraFoam work with Paraview 3.98.0 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Bernhard Dunkl <bernhard.d> |
| Component: | [OLD] Library | Assignee: | Patrick Lauer <patrick> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | hasufell, oli.borm, proxy-maint |
| Priority: | Normal | Keywords: | EBUILD, PATCH |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
ebuild patch
metadata patch |
||
|
Description
Bernhard Dunkl
2013-01-19 15:53:32 UTC
Created attachment 336138 [details, diff]
ebuild patch
Created attachment 336140 [details]
metadata patch
sci-visualization/paraview-3.98.0 is in the tree now I modified the openfoam ebuild to work with paraview-3.98.0 and tried to upgrade. But paraview-3.98.0 failed to compile, see https://bugs.gentoo.org/show_bug.cgi?id=456996. I get an error, when I try to make paraFoam work with ParaView-3.98:
In file included from vtkPV3blockMesh.C:27:0:
../PV3blockMeshReader/vtkPV3blockMeshReader.h:60:1: error: expected initializer before ':' token
make: *** [Make/linux64GccDPOpt/vtkPV3blockMesh.o] Error 1
Here are the affected lines in vtkPV3blockMeshReader.h:
50 namespace Foam
51 {
52 class vtkPV3blockMesh;
53 }
54
55 /*---------------------------------------------------------------------------*\
56 Class vtkPV3blockMeshReader Declaration
57 \*---------------------------------------------------------------------------*/
58
59 class VTK_IO_EXPORT vtkPV3blockMeshReader
60 :
61 public vtkMultiBlockDataSetAlgorithm
62 {
63 public:
64 vtkTypeMacro(vtkPV3blockMeshReader, vtkMultiBlockDataSetAlgorithm);
65 void PrintSelf(ostream&, vtkIndent);
66
67 static vtkPV3blockMeshReader* New();
I am not familiar with c++, so can someone please help me. Tell me if you need more info (full log, source files, ...).
paraFoam currently only works with Paraview 3.12, see this bug report: http://openfoam.org/mantisbt/view.php?id=621 I found that there is a native OpenFOAM reader in newer versions of ParaView, which works well for me as a replacement of paraFoam. In my point of view we can close this bug report. Current openfoam version in tree support paraview 4.1 or higher. |