[vtkusers] Re: building vtk4.0 on unix platforms

Thong Luu Thong.Luu at grc.nasa.gov
Tue Jul 9 14:06:54 EDT 2002


Hi all,

I just built the vtk 4.0 on sgi octane machine.
The built is successful.

However, when I try to compile and link an application in which the 
vtkXRenderWindow::SetWindowId() is called, the linker returns an error 
saying that the method is unresolved.

It turns out that in the CMakeLists.txt for building the vtkRendering 
library, the source file vtkXRenderWindow is missing. I added it to the 
line just before the line "vtkXRenderWindowInteractor" and re-build vtk 
4.0. Now I can compile and link my application without any problem.

Just wondering why the file vtkXRenderWindow is not listed in the 
CMakeLists.txt in the Rendering sub-directory for UNIX platform?

-Thong



=========================================================================
Thong Luu                          NASA Glenn Research Center
Computer Engineer                  Computer Services Division
Phone: (216)433-5283               Mail Stop 142-5 Building 142 Rm 279
Fax:   (216)433-8000               21000 Brookpark Road
Email: Thong.Luu at grc.nasa.gov      Cleveland, Ohio 44135
=========================================================================




More information about the vtkusers mailing list