pwkalana9 / b-tk

Automatically exported from code.google.com/p/b-tk
0 stars 0 forks source link

btk with BTK_USE_VISSUPPORT and vtk6.0 doesn't compile. #65

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. checkout latest revision of btk (revision 1795)
2. compile vtk from source http://www.vtk.org/files/release/6.0/vtk-6.0.0.tar.gz
3. compile btk with BTK_USE_VISSUPPORT

What is the expected output? What do you see instead?
expected: compilation process succeed
output: 'class btk::VTKAxis' has no member named 'LogScaleReasonable'
output: 'class vtkTransformPolyDataFilter' has no member named 'SetInput'
output: 'class vtkAppendPolyData' has no member named 'AddInput'
output: ‘UPDATE_TIME_STEPS’ is not a member of 
‘vtkStreamingDemandDrivenPipeline’
output: In member function ‘virtual int 
btk::VTKGRFsFramesSource::RequestData(vtkInformation*, vtkInformationVector**, 
vtkInformationVector*)’: invalid types ‘double[int]’ for array subscript
output: ‘DATA_TIME_STEPS’ is not a member of ‘vtkDataObject’
output:
/usr/bin/ld: cannot find -lQVTK
/usr/bin/ld: cannot find -lvtkCharts
/usr/bin/ld: cannot find -lvtkCommon
/usr/bin/ld: cannot find -lvtkFiltering
/usr/bin/ld: cannot find -lvtkGraphics
/usr/bin/ld: cannot find -lvtkRendering
/usr/bin/ld: cannot find -lvtkHybrid
/usr/bin/ld: cannot find -lvtkCharts

if(Eigen3 from Sytem option is selected )
output: btkEigen/SignalProcessing/IIRFilterDesign.h : No such file or directory

What version of the product are you using? On what operating system?
 - Ubuntu 12.04 LTS 64 bit
 - b-tk-read-only

Please provide any additional information below.
 - vtkAxis.h in vtk6.0 has no LogScaleReasonable anymore. (http://upstream-tracker.org/diffs/vtk/5.10.1_to_6.0.0/diff.html)
 - it seems that SetInput and AddInput were renamed to SetInputData and AddInputData
 - it seems that static vtkInformationDoubleVectorKey* UPDATE_TIME_STEPS(); was renamed to static vtkInformationDoubleKey* UPDATE_TIME_STEP();
 - it seems that DATA_TIME_STEPS()was renamed to DATA_TIME_STEP()

VTK6.0 should be compiled with QT-widget-Option.

I changed the source code in such a manner, that the compilation process 
succeed and it seems that those error are the only ones, at least for my 
configuration.

Thank you very much!

Original issue reported on code.google.com by andreas....@googlemail.com on 26 Jun 2013 at 5:32

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for this well detailed report. I have the same compiler errors and I 
started to fix them. I still need to test Mokka with VTK 6.0 but the 
modifications in the code will be commited on the SVN server in the next days.

Regarding the use of a version of Eigen3 installed on your system, is it 
possible to create another bug report please.

Original comment by arnaud.barre on 28 Jun 2013 at 7:39

GoogleCodeExporter commented 8 years ago

Original comment by arnaud.barre on 31 Oct 2013 at 7:28

GoogleCodeExporter commented 8 years ago
See comments in issue #71. The module BTKVTK can be compiled with VTK 6.0 
(option VTK_LEGACY_REMOVE activated or not).

Original comment by arnaud.barre on 1 Nov 2013 at 9:18

GoogleCodeExporter commented 8 years ago
Note: Regarding the problem related to the use of a system Eigen 3 library. 
Right now, the CMake option BTK_USE_SYSTEM_EIGEN3 was removed from BTK 0.3 (see 
revision 0c5e4f69b6ed). Let me know if this is an issue for you.

Original comment by arnaud.barre on 2 Nov 2013 at 3:28