CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] LibvtkFoamso

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 2, 2005, 10:27
Default LibvtkFoamso
  #1
New Member
 
Frédéric
Join Date: Mar 2009
Posts: 18
Rep Power: 17
fred is on a distinguished road
Hello,

I am under gentoo linux with AMD64.
All compiles fine excepted libvtkFoam.so and of course libPVFoamReader.so

I have compiled paraview-2.2.1 in SHARED mode. All is OK. The path is correct, when I launch paraview all work correctly.

vtkFoam does not find some include files. The result of 'wmake libso vtkFoam' is :
/home/frederic/OpenFOAM/OpenFOAM-1.2/wmake/wmakeLnInclude: linking include files to /home/frederic/OpenFOAM/OpenFOAM-1.2/applications/utilities/postProcessing/graph ics/PVFoamReader/vtkFoam/lnInclude

Making dependency list for source file vtkFoam.C
could not open file vtkDataSetSource.h for source file vtkFoam.C
could not open file vtkDataArraySelection.h for source file vtkFoam.C
could not open file vtkUnstructuredGrid.h for source file vtkFoam.C
could not open file vtkPointData.h for source file vtkFoam.C
could not open file vtkCellData.h for source file vtkFoam.C
could not open file vtkFloatArray.h for source file vtkFoam.C
could not open file vtkCharArray.h for source file vtkFoam.C
Making dependency list for source file vtkFoamAddInternalMesh.C
could not open file vtkUnstructuredGrid.h for source file vtkFoamAddInternalMesh.C
could not open file vtkCellArray.h for source file vtkFoamAddInternalMesh.C
Making dependency list for source file vtkFoamAddPatch.C
could not open file vtkUnstructuredGrid.h for source file vtkFoamAddPatch.C
could not open file vtkCellArray.h for source file vtkFoamAddPatch.C
libso

The requested files are in /home/frederic/OpenFOAM/paraview/VTK and subdirectories.

Do you know where is possible to specify the correct directory ?

Thanks you ,
Frederic
fred is offline   Reply With Quote

Old   November 3, 2005, 08:50
Default It's solved. I added the follo
  #2
New Member
 
Frédéric
Join Date: Mar 2009
Posts: 18
Rep Power: 17
fred is on a distinguished road
It's solved. I added the following in the options file (/home/frederic/OpenFOAM/OpenFOAM-1.2/
applications/utilities/postProcessing/graphics/
PVFoamReader/vtkFoam/Make/linuxAMD64Opt/options):

-I"/home/frederic/OpenFOAM/linuxAMD64/paraview/VTK/Filtering" -I"/home/frederic/OpenFOAM/linuxAMD64/paraview/VTK/Common"


Frederic
fred is offline   Reply With Quote

Old   November 18, 2005, 20:01
Default Dear Frederic: I had added
  #3
Senior Member
 
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 17
liugx212 is on a distinguished road
Dear Frederic:

I had added the files as you said. But the errors and still here. Could you please help me?

The errors as follows:
[liu@liu PVFoamReader]$ ./Allwmake
make: Nothing to be done for `allFiles'.
make: `lnInclude/uptodate' is up to date.
make: `Make/linuxGcc4Opt/dependencies' is up to date.
libso
SOURCE_DIR=.
SOURCE=vtkFoam.C ; g++ -m32 -Dlinux -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -ffast-math -DNoRepository -ftemplate-depth-30 -I/home/liu/util/VTK/VTK-4.2.0/Filtering -I/home/liu/util/VTK/VTK-4.2.0/Common -I/home/liu/OpenFOAM/OpenFOAM-1.2/src/browser/lnInclude -lbrowser -I/home/liu/util/VTK/VTK-4.2.0/ -I/home/liu/OpenFOAM/linux/paraview-2.2.0/include -I../PVFoamReader -I/home/liu/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -pthread -c $SOURCE -o Make/linuxGcc4Opt/vtkFoam.o
In file included from /home/liu/util/VTK/VTK-4.2.0/Common/vtkSystemIncludes.h:33,
from /home/liu/util/VTK/VTK-4.2.0/Common/vtkIndent.h:27,
from /home/liu/util/VTK/VTK-4.2.0/Common/vtkObjectBase.h:46,
from /home/liu/util/VTK/VTK-4.2.0/Common/vtkObject.h:44,
from /home/liu/util/VTK/VTK-4.2.0/Common/vtkProcessObject.h:52,
from /home/liu/util/VTK/VTK-4.2.0/Common/vtkSource.h:48,
from /home/liu/util/VTK/VTK-4.2.0/Filtering/vtkDataSetSource.h:25,
from ../PVFoamReader/vtkFoamReader.h:40,
from vtkFoam.C:38:
/home/liu/util/VTK/VTK-4.2.0/Common/vtkWin32Header.h:30:26: error: vtkConfigure.h: No such file or directory
In file included from /home/liu/OpenFOAM/linux/gcc-4.0.1/bin/../lib/gcc/i686-pc-linux-gnu/4.0.1/../../ ../../include/c++/4.0.1/backward/iostream.h:31,
from /home/liu/util/VTK/VTK-4.2.0/Common/vtkIOStream.h:61,
from /home/liu/util/VTK/VTK-4.2.0/Common/vtkSystemIncludes.h:49,
from /home/liu/util/VTK/VTK-4.2.0/Common/vtkIndent.h:27,
from /home/liu/util/VTK/VTK-4.2.0/Common/vtkObjectBase.h:46,
from /home/liu/util/VTK/VTK-4.2.0/Common/vtkObject.h:44,
from /home/liu/util/VTK/VTK-4.2.0/Common/vtkProcessObject.h:52,
from /home/liu/util/VTK/VTK-4.2.0/Common/vtkSource.h:48,
from /home/liu/util/VTK/VTK-4.2.0/Filtering/vtkDataSetSource.h:25,
from ../PVFoamReader/vtkFoamReader.h:40,
from vtkFoam.C:38:
/home/liu/OpenFOAM/linux/gcc-4.0.1/bin/../lib/gcc/i686-pc-linux-gnu/4.0.1/../../ ../../include/c++/4.0.1/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <x> header for the <x.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from /home/liu/util/VTK/VTK-4.2.0/Common/vtkSystemIncludes.h:49,
from /home/liu/util/VTK/VTK-4.2.0/Common/vtkIndent.h:27,
from /home/liu/util/VTK/VTK-4.2.0/Common/vtkObjectBase.h:46,
from /home/liu/util/VTK/VTK-4.2.0/Common/vtkObject.h:44,
from /home/liu/util/VTK/VTK-4.2.0/Common/vtkProcessObject.h:52,
from /home/liu/util/VTK/VTK-4.2.0/Common/vtkSource.h:48,
from /home/liu/util/VTK/VTK-4.2.0/Filtering/vtkDataSetSource.h:25,
from ../PVFoamReader/vtkFoamReader.h:40,
from vtkFoam.C:38:
/home/liu/util/VTK/VTK-4.2.0/Common/vtkIOStream.h:65:58: error: strstream.h: No such file or directory
/home/liu/util/VTK/VTK-4.2.0/Common/vtkIndent.h:33: warning: 'class vtkIndent' has virtual functions but non-virtual destructor
/home/liu/util/VTK/VTK-4.2.0/Common/vtkTimeStamp.h:32: warning: 'class vtkTimeStamp' has virtual functions but non-virtual destructor
/home/liu/util/VTK/VTK-4.2.0/Common/vtkProcessObject.h: In member function 'virtual void vtkProcessObject::AbortExecuteOn()':
/home/liu/util/VTK/VTK-4.2.0/Common/vtkProcessObject.h:91: warning: use of old-style cast
/home/liu/util/VTK/VTK-4.2.0/Common/vtkProcessObject.h: In member function 'virtual void vtkProcessObject::AbortExecuteOff()':
/home/liu/util/VTK/VTK-4.2.0/Common/vtkProcessObject.h:91: warning: use of old-style cast
/home/liu/util/VTK/VTK-4.2.0/Common/vtkSource.h: In member function 'virtual void vtkSource::ReleaseDataFlagOn()':
/home/liu/util/VTK/VTK-4.2.0/Common/vtkSource.h:94: warning: use of old-style cast
/home/liu/util/VTK/VTK-4.2.0/Common/vtkSource.h: In member function 'virtual void vtkSource::ReleaseDataFlagOff()':
/home/liu/util/VTK/VTK-4.2.0/Common/vtkSource.h:94: warning: use of old-style cast
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataObject.h: In member function 'virtual void vtkDataObject::ReleaseDataFlagOn()':
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataObject.h:97: warning: use of old-style cast
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataObject.h: In member function 'virtual void vtkDataObject::ReleaseDataFlagOff()':
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataObject.h:97: warning: use of old-style cast
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataObject.h: In member function 'virtual void vtkDataObject::RequestExactExtentOn()':
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataObject.h:256: warning: use of old-style cast
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataObject.h: In member function 'virtual void vtkDataObject::RequestExactExtentOff()':
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataObject.h:256: warning: use of old-style cast
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataSetAttributes.h: In member function 'virtual void vtkDataSetAttributes::CopyScalarsOn()':
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataSetAttributes.h:207: warning: use of old-style cast
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataSetAttributes.h: In member function 'virtual void vtkDataSetAttributes::CopyScalarsOff()':
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataSetAttributes.h:207: warning: use of old-style cast
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataSetAttributes.h: In member function 'virtual void vtkDataSetAttributes::CopyVectorsOn()':
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataSetAttributes.h:221: warning: use of old-style cast
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataSetAttributes.h: In member function 'virtual void vtkDataSetAttributes::CopyVectorsOff()':
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataSetAttributes.h:221: warning: use of old-style cast
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataSetAttributes.h: In member function 'virtual void vtkDataSetAttributes::CopyNormalsOn()':
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataSetAttributes.h:235: warning: use of old-style cast
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataSetAttributes.h: In member function 'virtual void vtkDataSetAttributes::CopyNormalsOff()':
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataSetAttributes.h:235: warning: use of old-style cast
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataSetAttributes.h: In member function 'virtual void vtkDataSetAttributes::CopyTCoordsOn()':
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataSetAttributes.h:249: warning: use of old-style cast
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataSetAttributes.h: In member function 'virtual void vtkDataSetAttributes::CopyTCoordsOff()':
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataSetAttributes.h:249: warning: use of old-style cast
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataSetAttributes.h: In member function 'virtual void vtkDataSetAttributes::CopyTensorsOn()':
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataSetAttributes.h:263: warning: use of old-style cast
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataSetAttributes.h: In member function 'virtual void vtkDataSetAttributes::CopyTensorsOff()':
/home/liu/util/VTK/VTK-4.2.0/Common/vtkDataSetAttributes.h:263: warning: use of old-style cast
/home/liu/util/VTK/VTK-4.2.0/Common/vtkFloatArray.h: In member function 'virtual void* vtkFloatArray::GetVoidPointer(vtkIdType)':
/home/liu/util/VTK/VTK-4.2.0/Common/vtkFloatArray.h:144: warning: use of old-style cast
/home/liu/util/VTK/VTK-4.2.0/Common/vtkFloatArray.h: In member function 'virtual void vtkFloatArray::SetVoidArray(void*, vtkIdType, int)':
/home/liu/util/VTK/VTK-4.2.0/Common/vtkFloatArray.h:161: warning: use of old-style cast
/home/liu/util/VTK/VTK-4.2.0/Common/vtkCharArray.h: In member function 'virtual void* vtkCharArray::GetVoidPointer(vtkIdType)':
/home/liu/util/VTK/VTK-4.2.0/Common/vtkCharArray.h:145: warning: use of old-style cast
/home/liu/util/VTK/VTK-4.2.0/Common/vtkCharArray.h: In member function 'virtual void vtkCharArray::SetVoidArray(void*, vtkIdType, int)':
/home/liu/util/VTK/VTK-4.2.0/Common/vtkCharArray.h:161: warning: use of old-style cast
make: *** [Make/linuxGcc4Opt/vtkFoam.o] Error 1
./Allwmake: line 2: cmake: command not found
make: *** No targets specified and no makefile found. Stop.
liugx212 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 19:22.