[vtkusers] Running Cone.cxx on Linux

Saira Saleem Pathan sarakhan_engr at hotmail.com
Fri May 4 05:49:45 EDT 2007


hiwhy dont install CMAKE and then set path for cmake file.if ur working on bash then u can set the path >>vi .bashrcexport = <add the path > /cmake (version) /bin: $PATH>> cmake <enter>i think this the easiest way to work as u can get rid from compiler errors :)cheers!
Saira Saleem Pathan
 Ph.D. Student
Univerity of Leeds 
United Kingdom.Date: Fri, 4 May 2007 01:21:31 +0800From: kalpana0611 at gmail.comTo: vtkusers at vtk.orgSubject: [vtkusers] Running Cone.cxx on Linux Hi guys, thanks for the previous advice, I managed to install VTK on linux, and I got the executables running using XMing. 
I am now trying to compile Cone.cxx, but when I am lost again. I have included the error snippets with this mail, hope, someone can help me, I have a feeling its something about setting the $PATH in the linux thing.

 
 
command = g++ Cone.cxx
Cone.cxx:23:27: error: vtkConeSource.h: No such file or directoryCone.cxx:24:31: error: vtkPolyDataMapper.h: No such file or directoryCone.cxx:25:29: error: vtkRenderWindow.h: No such file or directory
Cone.cxx:26:23: error: vtkCamera.h: No such file or directoryCone.cxx:27:22: error: vtkActor.h: No such file or directoryCone.cxx:28:25: error: vtkRenderer.h: No such file or directoryCone.cxx: In function 'int main()':
Cone.cxx:38: error: 'vtkConeSource' was not declared in this scopeCone.cxx:38: error: 'cone' was not declared in this scopeCone.cxx:38: error: 'vtkConeSource' is not a class or namespace
Cone.cxx:50: error: 'vtkPolyDataMapper' was not declared in this scopeCone.cxx:50: error: 'coneMapper' was not declared in this scopeCone.cxx:50: error: 'vtkPolyDataMapper' is not a class or namespace
Cone.cxx:60: error: 'vtkActor' was not declared in this scopeCone.cxx:60: error: 'coneActor' was not declared in this scopeCone.cxx:60: error: 'vtkActor' is not a class or namespace
Cone.cxx:69: error: 'vtkRenderer' was not declared in this scopeCone.cxx:69: error: 'ren1' was not declared in this scopeCone.cxx:69: error: 'vtkRenderer' is not a class or namespaceCone.cxx
:78: error: 'vtkRenderWindow' was not declared in this scopeCone.cxx:78: error: 'renWin' was not declared in this scopeCone.cxx:78: error: 'vtkRenderWindow' is not a class or namespace 


_________________________________________________________________
Connect to the next generation of MSN Messenger 
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070504/6d884370/attachment.htm>


More information about the vtkusers mailing list