[Insight-users] Re: WrapITK: more windows build errors
Gaetan Lehmann
gaetan.lehmann at jouy.inra.fr
Wed Feb 15 09:30:44 EST 2006
On Wed, 15 Feb 2006 15:24:30 +0100, Charl P. Botha <cpbotha at cpbotha.net>
wrote:
> On 2/15/06, Gaetan Lehmann <gaetan.lehmann at jouy.inra.fr> wrote:
>> Charl, can your try to completely comment or remove the typemaps code in
>> CreateLanguageSupport.cmake, from line 114 to line 149 ?
>> We have already get wrong code generated by cableswig since this typemap
>> stuff...
>
> Okay, I removed the ADD_PYTHON_TYPEMAP macro definition, and started
> from scratch (brand new build directory). During the second build, I
> get the same errors:
>
> c:\build\WrapITK-VS71\CommonA\wrap_ITKCommonBasePython.cxx(3833):
> error C2664: 'itk::MultiThreader::SetMultipleMethod' : cannot convert
> parameter 2 from 'unsigned long (__cdecl *)(void *)' to
> 'itk::ThreadFunctionType'
>
> and so forth, twice for SetMultipleMethod, twice for SetSingleMethod
> and twice for SpawnThread.
Thanks for the test Charl.
If fact, I happy to see it still fail, because this typemap stuff is
really useful :-)
I think Zach is on a better way to make it work by looking at compiler
emulation. Finally, if we can't get success this way, we can still remove
the MultiThreader wrapper, even if I would prefer keep it.
Thanks again
Gaetan
--
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
More information about the Insight-users
mailing list