[vtkusers] VTKLibraryDepends.cmake + forward declaration

Mathieu Malaterre malat at free.fr
Wed Feb 12 08:06:42 EST 2003


Hi all,
   Because of recent forward declarations there is a problem in:
VTK/Examples/DataManipulation/Cxx/
Arrays.cxx, Cube.cxx and SGrid.cxx
lack a:
#include "vtkPointData.h"

while I tried to recompile them I always get a weird error:

If I ccmake (or cmake) the whole VTK. The file VTKLibraryDepends.cmake 
add a final closing parenthesis.
So before each make I should edit the final line and get rid of this 
parenthesis.

Does anyone around have also this error ?

Thanks
mathieu

Here is my VTKLibraryDepends.cmake (you can go directly to the last line)

SET(vtkzlib_LIB_DEPENDS "")
SET(vtkjpeg_LIB_DEPENDS "")
SET(vtkpng_LIB_DEPENDS "vtkzlib;")
SET(vtktiff_LIB_DEPENDS "vtkzlib;vtkjpeg;")
SET(vtkexpat_LIB_DEPENDS "")
SET(vtkfreetype_LIB_DEPENDS "")
SET(vtkftgl_LIB_DEPENDS 
"/usr/lib/libGLU.so;/usr/lib/libGL.so;/usr/X11R6/lib/libX11.so;/usr/X11R6/lib/libXext.so;/usr/X11R6/lib/libX11.so;/usr/X11R6/lib/libXext.so;/usr/X11R6/lib/libX11.so;/usr/X1
1R6/lib/libXext.so;vtkfreetype;")
SET(vtkCommon_LIB_DEPENDS "-lpthread;-ldl;-lm;")
SET(vtkCommonPython_LIB_DEPENDS 
"/usr/lib/python2.2/config/libpython2.2.a;vtkCommon;")
SET(vtkCommonTCL_LIB_DEPENDS "/usr/lib/libtcl.so;vtkCommon;")
SET(vtkFiltering_LIB_DEPENDS "vtkCommon;")
SET(vtkFilteringPython_LIB_DEPENDS "vtkCommonPython;vtkFiltering;")
SET(vtkFilteringTCL_LIB_DEPENDS 
"vtkCommonTCL;vtkFiltering;/usr/lib/libtcl.so;")
SET(vtkImaging_LIB_DEPENDS "vtkFiltering;")
SET(vtkImagingPython_LIB_DEPENDS 
"vtkFilteringPython;vtkCommonPython;vtkImaging;")
SET(vtkImagingTCL_LIB_DEPENDS 
"vtkFilteringTCL;vtkImaging;/usr/lib/libtcl.so;")
SET(vtkGraphics_LIB_DEPENDS "vtkFiltering;")
SET(vtkGraphicsPython_LIB_DEPENDS 
"vtkFilteringPython;vtkCommonPython;vtkGraphics;")
SET(vtkGraphicsTCL_LIB_DEPENDS 
"vtkFilteringTCL;vtkGraphics;/usr/lib/libtcl.so;")
SET(vtkIO_LIB_DEPENDS 
"vtkFiltering;vtkpng;vtkzlib;vtkjpeg;vtktiff;vtkexpat;")
SET(vtkIOPython_LIB_DEPENDS "vtkFilteringPython;vtkCommonPython;vtkIO;")
SET(vtkIOTCL_LIB_DEPENDS "vtkFilteringTCL;vtkIO;/usr/lib/libtcl.so;")
SET(vtkRendering_LIB_DEPENDS 
"vtkGraphics;vtkImaging;/usr/lib/libGLU.so;/usr/lib/libGL.so;/usr/X11R6/lib/libX11.so;/usr/X11R6/lib/libXext.so;/usr/X11R6/lib/libX11.so;/usr/X11R6/lib/libXext.so;vtkf
tgl;vtkfreetype;-lXt;/usr/X11R6/lib/libX11.so;/usr/X11R6/lib/libXext.so;")
SET(vtkRenderingPython_LIB_DEPENDS 
"vtkGraphicsPython;vtkImagingPython;vtkRendering;")
SET(vtkRenderingPythonTkWidgets_LIB_DEPENDS 
"vtkRendering;/usr/lib/libtcl.so;/usr/lib/libtk.so;")
SET(vtkRenderingTCL_LIB_DEPENDS 
"vtkGraphicsTCL;vtkImagingTCL;vtkRendering;/usr/lib/libtcl.so;/usr/lib/libtk.so;")
SET(vtkHybrid_LIB_DEPENDS "vtkRendering;vtkIO;")
SET(vtkHybridPython_LIB_DEPENDS 
"vtkRenderingPython;vtkIOPython;/usr/lib/libGLU.so;/usr/lib/libGL.so;/usr/X11R6/lib/libX11.so;/usr/X11R6/lib/libXext.so;/usr/X11R6/lib/libX11.so;/usr/X11R6/lib/libX
ext.so;/usr/X11R6/lib/libX11.so;/usr/X11R6/lib/libXext.so;vtkHybrid;")
SET(vtkHybridTCL_LIB_DEPENDS "vtkHybrid;vtkRenderingTCL;vtkIOTCL;")
SET(vtkPatented_LIB_DEPENDS "vtkImaging;vtkGraphics;vtkIO;")
SET(vtkPatentedPython_LIB_DEPENDS 
"vtkGraphicsPython;vtkImagingPython;vtkPatented;")
SET(vtkPatentedTCL_LIB_DEPENDS 
"vtkPatented;vtkIOTCL;vtkGraphicsTCL;vtkImagingTCL;")
SET(vtkParallel_LIB_DEPENDS "vtkRendering;vtkIO;")
SET(vtkParallelPython_LIB_DEPENDS 
"vtkIOPython;vtkRenderingPython;/usr/lib/libGLU.so;/usr/lib/libGL.so;/usr/X11R6/lib/libX11.so;/usr/X11R6/lib/libXext.so;/usr/X11R6/lib/libX11.so;/usr/X11R6/lib/li
bXext.so;vtkParallel;")
SET(vtkParallelTCL_LIB_DEPENDS "vtkParallel;vtkIOTCL;vtkRenderingTCL;")
SET(vtkLocal_LIB_DEPENDS "vtkHybrid;")
SET(vtkLocalPython_LIB_DEPENDS 
"vtkHybridPython;/usr/lib/libGLU.so;/usr/lib/libGL.so;/usr/X11R6/lib/libX11.so;/usr/X11R6/lib/libXext.so;/usr/X11R6/lib/libX11.so;/usr/X11R6/lib/libXext.so;/usr/X11R
6/lib/libX11.so;/usr/X11R6/lib/libXext.so;/usr/lib/python2.2/config/libpython2.2.a;vtkLocal;")
SET(vtkLocalTCL_LIB_DEPENDS 
"vtkLocal;vtkHybridTCL;vtkIOTCL;vtkRenderingTCL;")
)





More information about the vtkusers mailing list