[Insight-users] Help getting simple WrapITK external project going

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Tue Aug 4 08:29:50 EDT 2009


Le 4 août 09 à 11:08, Charl Botha a écrit :

> 2009/8/4 Charl Botha <c.p.botha at tudelft.nl>:
>> So I went to line 3338 of the generated CPP file above and manually
>> changed occurrences of the variable "c" into "c1".  Hey, it compiled!
>> It then breaked on the next generated file
>> wrap_itkTPGACLevelSetImageFilterPython.cpp on a similar error.  Lo  
>> and
>> behold, more "c".  It seems that this symbol is causing a name
>> collision with perhaps something from the preprocessor.
>>
>> If you have any ideas on where this might be coming from, I'd be very
>> grateful to hear!
>
> Okay, found it.  There was a, uhm, "#define c ..." in my source.  I
> will now go punish myself.
>

Ok - that's why it looked strange then :-)

> Thanks for taking a look!!
>

No problem. I'll try to fix the new warnings I see with cmake 2.6.4.

Gaëtan

-- 
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.itk.org
http://www.mandriva.org  http://www.bepo.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090804/ab377f73/attachment.pgp>


More information about the Insight-users mailing list