CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Please help about the VTKFoam (http://www.cfd-online.com/Forums/openfoam-solving/60424-please-help-about-vtkfoam.html)

liugx212 November 18, 2005 19:27

Dear all, Since I am a new
 
Dear all,

Since I am a newer of OpenFoam, There is a question about using VTKFoam. When I complier, ther are some error. Could you please help me this?

Thanks deeply.

Errors paste as follows:
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/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 /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.


All times are GMT -4. The time now is 21:56.