<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.6944.0">
<TITLE>Buildong problem with igstkImageSpatialObjectRepresentation.txx</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hello<BR>
<BR>
I am starting a project about image-guided spine surgery, so i am kind of a newbie with this toolkit.<BR>
<BR>
When i am trying to build in linux (mandriva 2005) IGSTK (7 and 6) i get this error:<BR>
<BR>
Building CXX object Source/CMakeFiles/IGSTK.dir/igstkCTImageSpatialObjectReprese                                                                           ntation.o<BR>
/home/manuelr/Sources/IGSTK-Release-6/Source/igstkImageSpatialObjectRepresentati                                                                           on.txx: In member function 'void igstk::ImageSpatialObjectRepresentation<TImageS                                                                           patialObject>::CreateActors() [with TImageSpatialObject = igstk::CTImageSpatialO                                                                           bject]':<BR>
/home/manuelr/Sources/IGSTK-Release-6/Source/igstkCTImageSpatialObjectRepresenta                                                                           tion.cxx:34:   instantiated from here<BR>
/home/manuelr/Sources/IGSTK-Release-6/Source/igstkImageSpatialObjectRepresentati                                                                           on.txx:378: error: no matching function for call to 'igstk::ImageSpatialObjectRe                                                                           presentation<igstk::CTImageSpatialObject>::AddActor(vtkImageActor*&)'<BR>
/home/manuelr/Sources/IGSTK-Release-6/Source/igstkObjectRepresentation.h:102: no                                                                           te: candidates are: void igstk::ObjectRepresentation::AddActor(vtkProp3D*)<BR>
gmake[2]: *** [Source/CMakeFiles/IGSTK.dir/igstkCTImageSpatialObjectRepresentati                                                                           on.o] Error 1<BR>
gmake[1]: *** [Source/CMakeFiles/IGSTK.dir/all] Error 2<BR>
gmake: *** [all] Error 2<BR>
<BR>
I really don't know how to solve this problem.<BR>
<BR>
With IGSTK 7 i am using ITK 2.6, VTK 5 and FLTK 1.1<BR>
<BR>
With IGSTK 6 i am using ITK 2.4.1 VTK 4.4 and FLTK 1.1<BR>
<BR>
To build i am using CMAKE 2.2 patch 3<BR>
<BR>
Thanks<BR>
<BR>
Manuel</FONT>
</P>

</BODY>
</HTML>