[vtkusers] vtk headers displays: file not found

the lily the.1.lily at hotmail.com
Thu Jul 31 15:47:25 EDT 2014


Hi, 

I'm using mac osx 10.9 " Mavericks", Im trying to run a code that include the following headers, 
#include "vtkConeSource.h"#include "vtkCylinderSource.h"
#include "vtkPolyData.h"#include "vtkPolyDataMapper.h"#include "vtkRenderWindow.h"#include "vtkCamera.h"#include "vtkActor.h"#include "vtkRenderer.h"#include "vtkRenderWindowInteractor.h"#include "vtkProperty.h"#include "vtkCallbackCommand.h"#include "vtkCommand.h"#include "vtkRendererCollection.h"#include "vtkFloatArray.h"#include "vtkCellArray.h"

When I try to run the code it displays the following 








mpicxx -c -g -Wno-deprecated -I../../../include -I/Users/lab/software/VTK/include/vtk-5.8  d3.cpp
d3.cpp:20:10: fatal error: 'vtkCylinderSource.h' file not found
#include "vtkCylinderSource.h"
         ^
1 error generated.
make: *** [d3.o] Error 1
I installed vtk by following the steps in this link http://www.developers-life.com/configuring-and-compiling-vtk-6-1-on-mac-os-x-simple-example-of-vtk-usage.html
I do not know what is going wrong and I was not lucky to find any solution online. I hope someone can help me.

Thanks.

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140731/c6552805/attachment.html>


More information about the vtkusers mailing list