[Insight-users] question in compiling InsightApplicaions-3.0.0
qxue
qxue at jouy.inra.fr
Fri Aug 24 08:19:17 EDT 2007
Hello, ITK users:
I am familar with ITK using VC6.0 in Windows XP. Recently, I try to move
the plateform from windows to linux (Mandriva, gcc 4.1.2, Cmake 2.4
patch6, InsightToolkit-3.0.0 and InsightApplications-3.0.0).
Everything is fine except the warnings to hint me to transfor the GCC to
G++ compiler.
But when I compile the insightapplication in the similar way as
insighttoolkit, there are errors:
"
[ 51%] Building CXX object
CannyLevelSet/CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSetBase.o
/home/qxue/Video/InsightApplications/CannyLevelSet/CannySegmentationLevelSetBase.cxx:
In constructor
‘CannySegmentationLevelSetBase::CannySegmentationLevelSetBase()’:
/home/qxue/Video/InsightApplications/CannyLevelSet/CannySegmentationLevelSetBase.cxx:113:
error: invalid conversion from ‘vtkDataSet*’ to ‘vtkPolyData*’
/home/qxue/Video/InsightApplications/CannyLevelSet/CannySegmentationLevelSetBase.cxx:113:
error: initializing argument 1 of ‘void
vtkPolyDataWriter::SetInput(vtkPolyData*)’
make[2]: ***
[CannyLevelSet/CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSetBase.o]
Error 1
make[1]: ***
[CannyLevelSet/CMakeFiles/CannySegmentationLevelSet.dir/all] Error 2
make: *** [all] Error 2
"
To me, i do not change anything inside InsightApplications-3.0.0. I
compiled and used the same package in the Windows successfully before.
What should I do to it?
Thanks in advance.
Quan
More information about the Insight-users
mailing list