[vtkusers] Building VTK from a CVS checkout on Suse 10.1
Jens Thomas
j.m.h.thomas at dl.ac.uk
Wed Jul 19 12:38:18 EDT 2006
Hi,
I'm trying to build VTK from a CVS checkout on a Suse 10.1 system
running a pentium processor and am building the Python and Tcl wrappings
and doing an out-of-source build.
The build is currently failing because it can't find the file
vtkConfigure.h as shown below:
/usr/bin/gcc -I.. -I../Utilities -I../VolumeRendering -I../Rendering
-I/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/VolumeRendering
-I/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/Hybrid
-I/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/Widgets
-I/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/Rendering
-I/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/Rendering/Testing/Cxx
-I/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/IO
-I/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/Imaging
-I/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/Graphics
-I/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/GenericFiltering
-I/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/Filtering
-I/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/Common
-I/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/Utilities
-I/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/Common/Testing/Cxx
-I../Utilities/DICOMParser
-I/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/Utilities/DICOMParser
-I../Utilities/vtkfreetype/include
-I/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/Utilities/vtkfreetype/include
-I../Utilities/vtknetcdf
-I/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/Utilities/vtknetcdf
-I../Utilities/vtkexodus2/include
-I/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/Utilities/vtkexodus2/include
-I../Utilities/MaterialLibrary
-I/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/Utilities/MaterialLibrary
-I/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/Utilities/ftgl/src
-I../Utilities/ftgl -I/usr/include/python2.4
-I/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/Wrapping -DVTK_IN_VTK -o
Wrapping/CMakeFiles/vtkWrapPython.dir/vtkWrapPython.o -c
/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/Wrapping/vtkWrapPython.c
In file included from
/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/Wrapping/vtkWrapPython.c:16:
/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/Common/vtkPython.h:20:25:
error: vtkToolkits.h: No such file or directory
/home/jmht/downloads/VTK/VTK5.0.1_cvs/VTK/Wrapping/vtkWrapPython.c:22:26:
error: vtkConfigure.h: No such file or directory
make[2]: *** [Wrapping/CMakeFiles/vtkWrapPython.dir/vtkWrapPython.o] Error 1
make[2]: Leaving directory `/home/jmht/downloads/VTK/VTK5.0.1_cvs/build'
make[1]: *** [Wrapping/CMakeFiles/vtkWrapPython.dir/all] Error 2
make[1]: Leaving directory `/home/jmht/downloads/VTK/VTK5.0.1_cvs/build'
make: *** [all] Error 2
This file is sat in the build directory (i.e the directory I'm running
make from), but isn't being found because the current directory (i.e.
".") isn't included in the -I flags. The directory above ("..") is,
although there is nothing of interest in that directory.
I can get the build to work by including -I. in the build line, but I
can't work out which file I need to edit to make sure this is included
for all files.
Does anyone know which file I need to edit, or why the wrong directory
is being included?
I've attached my CMakeCache.txt in case it sheds any light on what I may
have done wrong.
Best wishes,
Jens
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeCache.txt
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060719/cfed8b62/attachment.txt>
More information about the vtkusers
mailing list