[Insight-users] Compiler Error with CableSwig/ITK 3.10.0

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Fri Dec 19 13:22:46 EST 2008


Brady, Charl,

Sorry, I wasn't able to look at that bug before.
I've just committed a fix.

http://www.itk.org/Bug/view.php?id=8110
http://public.kitware.com/cgi-bin/viewcvs.cgi/Code/SpatialObject/itkSpatialObject.h?root=Insight&sortby=date&view=log

Please test and let me know how it works for you.

Regards,

Gaëtan


Le 27 nov. 08 à 20:36, Charl Botha a écrit :

> Hi Brady,
>
> Thanks for your quick answer!
>
> I would just like to add (for the sake of anyone that might also take
> a look at this) that this problem also occurs with cmake 2.6.2 on
> ubuntu 8.10 x86_64 and g++ 4.3.2.
>
> Best regards,
> Charl
>
> On Wed, Nov 26, 2008 at 11:03 PM, Brady McCary
> <brady.mccary+ITK at gmail.com> wrote:
>> I have filed a bug and temporary work-around here:
>>
>> http://www.itk.org/Bug/view.php?id=8110
>>
>> Basically, be sure to only enable ONE of CSWIG or WrapITK, as they
>> appear to mutually exclusive. Then, edit the .h and .txx files and
>> comment out the conditional compilation as necessary (search for
>> CABLE_CONFIGURATION).
>>
>> Brady
>>
>> PS Sorry for the double send, Charl.
>>
>> On Wed, Nov 26, 2008 at 3:55 PM, Brady McCary  
>> <brady.mccary at gmail.com> wrote:
>>> Charl,
>>>
>>> I have filed a bug and temporary work-around here:
>>>
>>> http://www.itk.org/Bug/view.php?id=8110
>>>
>>> Basically, be sure to only enable ONE of CSWIG or WrapITK, as they
>>> appear to mutually exclusive. Then, edit the .h and .txx files and
>>> comment out the conditional compilation as necessary (search for
>>> CABLE_CONFIGURATION).
>>>
>>> Brady
>>>
>>> On Wed, Nov 26, 2008 at 3:45 PM, Charl Botha  
>>> <c.p.botha at tudelft.nl> wrote:
>>>> Dear all,
>>>>
>>>> I'm experiencing exactly the same problem on Ubuntu 8.10 x86_64  
>>>> with
>>>> g++ 4.3.2 and a locally built cmake 2.4.8.
>>>>
>>>> I would also appreciate any hints, as I'm using the exact same
>>>> configuration I usually use (with success) to build ITK 3.8 with
>>>> WrapITK.
>>>>
>>>> On Tue, Nov 11, 2008 at 9:56 PM, Brady McCary
>>>> <brady.mccary+ITK at gmail.com> wrote:
>>>>> Second, I am having the following compilation issue. All but the
>>>>> relevant part has been cut.
>>>>>
>>>>> -- cut --
>>>>>
>>>>> [ 29%] Generating wrap_itkPolygonSpatialObject.xml
>>>>> /net/zz/ms/u1/bcm052000/src/fltk-itk-vtk/InsightToolkit-3.10.0/ 
>>>>> Code/SpatialObject/itkSpatialObject.txx:
>>>>> In member function 'long unsigned int
>>>>> itk::SpatialObject<TDimension>::GetMTime() const [with unsigned  
>>>>> int
>>>>> TDimension = 3u]':
>>>>> /net/zz/ms/u1/bcm052000/src/fltk-itk-vtk/InsightToolkit-3.10.0/ 
>>>>> Code/Common/itkMutexLock.h:70:
>>>>> instantiated from here
>>>>> /net/zz/ms/u1/bcm052000/src/fltk-itk-vtk/InsightToolkit-3.10.0/ 
>>>>> Code/SpatialObject/itkSpatialObject.txx:497:
>>>>> error: 'class itk::SpatialObjectTreeNode<3u>' has no member named
>>>>> 'GetChildren'
>>>>>
>>>>> -- cut --
>>>>>
>>>>> The class itk::SpatialObjectTreeNode<3u> has the following  
>>>>> conditional
>>>>> compilation around the foward declaration and implementation of
>>>>> 'GetChildren':
>>>>>
>>>>> #if !defined(CABLE_CONFIGURATION)
>>>>> virtual ChildrenListType* GetChildren( unsigned int depth=0,
>>>>>                                        char * name=NULL) const;
>>>>> #endif
>>>>>
>>>>> I have used cmake-gui to create a configuration that specified
>>>>> USE_WRAP_ITK, and the build requested and I supplied the path to  
>>>>> the
>>>>> CableSwig that I built. Could someone please elaborate on this  
>>>>> issue?
>>>>
>>>
>>
>>
>
>
>
> -- 
> dr. charl p. botha :: http://visualisation.tudelft.nl/CharlBotha
> work: c.p.botha at tudelft.nl personal: cpbotha at cpbotha.net
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users

-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr  http://www.mandriva.org
http://www.itk.org  http://www.clavier-dvorak.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://www.itk.org/pipermail/insight-users/attachments/20081219/0506cb1a/attachment.pgp>


More information about the Insight-users mailing list