|
[Sponsors] |
Help me How to include VTK library in my own solver |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 29, 2005, 00:16 |
I have installed VTK4.4 in my
|
#1 |
Member
Luckyluke
Join Date: Mar 2009
Posts: 51
Rep Power: 17 |
I have installed VTK4.4 in my home directory,i.e. "/u1/yzheng9/VTK/". In my solver several VTK classes are used.
I do it like this. The following is my 'option' file(the old lines are removed here): EXE_INC = \ -I$(HOME)/VTK \ $(WM_DECOMP_INC) EXE_LIBS = \ -L$(HOME)/VTK/bin \ -lvtkIO \ -lvtkGraphics \ -lvtkCommon \ $(WM_DECOMP_LIBS) \ Then in the main file of my solve, I have: #include "IO/vtkUnstructuredGridReader.h" #include "Graphics/vtkCellDataToPointData.h" #include "Graphics/vtkContourGrid.h" #include "Common/vtkPolyData.h" #include "Common/vtkPoints.h" #include "Common/vtkIdType.h" #include "Common/vtkGenericCell.h" But when I type "wmake", many many errors come out: could not open file IO/vtkUnstructuredGridReader.h for source file contourInterFoam.C could not open file Graphics/vtkCellDataToPointData.h for source file contourInterFoam.C could not open file Graphics/vtkContourGrid.h for source file contourInterFoam.C could not open file Common/vtkPolyData.h for source file contourInterFoam.C could not open file Common/vtkPoints.h for source file contourInterFoam.C could not open file Common/vtkIdType.h for source file contourInterFoam.C could not open file Common/vtkGenericCell.h for source file contourInterFoam.C What should I do? I am confused. Give me a hand. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DPM #include "filename" ? | Sandilya Garimella | FLUENT | 10 | February 4, 2010 01:01 |
How to include a crossmix in fluent | Novice | FLUENT | 0 | January 14, 2009 04:02 |
How to Include Exponential in UDF | RL | FLUENT | 5 | September 11, 2008 18:51 |
Two-way FSI include Thermal Stress | Barii.Johnason | CFX | 1 | August 13, 2007 05:38 |
How to include.... | Sharad Dugad | FLUENT | 1 | January 9, 2002 13:03 |