MantisBT - VTK
View Issue Details
0013253VTK(No Category)public2012-06-20 12:032013-04-05 19:08
fbudin 
Berk Geveci 
normalminorhave not tried
closedwon't fix 
 
 
TBD
crash
0013253: Compilation issue of vtk v5.10.0 on Ubuntu 12.04
When trying to compile vtk v5.10.0 on my machine (Ubuntu 12.04; Linux 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux) with the option VTK_USE_RENDERING is set to OFF, I get the following error message:

/home/bud/NIRAL/tools/temp/VTK/Filtering/vtkMolecule.cxx:16:39: fatal error: vtkAbstractElectronicData.h: No such file or directory
compilation terminated.
make[2]: *** [Filtering/CMakeFiles/vtkFiltering.dir/vtkMolecule.cxx.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Filtering/CMakeFiles/vtkFiltering.dir/all] Error 2
make: *** [all] Error 2
No tags attached.
patch Filtering_CMakeLists_txt.patch (1,466) 2012-12-28 08:05
https://www.vtk.org/Bug/file/9372/Filtering_CMakeLists_txt.patch
Issue History
2012-06-20 12:03fbudinNew Issue
2012-12-28 08:04Bruno SantosNote Added: 0029956
2012-12-28 08:05Bruno SantosFile Added: Filtering_CMakeLists_txt.patch
2013-04-05 19:08Berk GeveciNote Added: 0030528
2013-04-05 19:08Berk GeveciAssigned To => Berk Geveci
2013-04-05 19:08Berk GeveciStatusbacklog => tabled
2013-04-05 19:08Berk GeveciResolutionopen => won't fix
2013-04-05 19:08Berk GeveciStatustabled => closed

Notes
(0029956)
Bruno Santos   
2012-12-28 08:04   
I've triggered the same error when using VTK 5.10.1 and MSVC 2010.

The problem is that when VTK_USE_RENDERING is OFF, the Chemistry module is automatically turned off. But the Filtering module doesn't take this into account, hence the error.

In the attached file "Filtering_CMakeLists_txt.patch" is a proposed patch for this issue. Apply it in the "Filtering" folder.
(0030528)
Berk Geveci   
2013-04-05 19:08   
Since we are gearing towards VTK 6, we do not plan to fix VTK 5.10 bugs anymore. VTK 6 build architecture changed significantly. If this is still a bug, please report it wrt VTK 6.