Hi Mattia,

Thanks for this.  In fact I did update ExtUtils::XSpp before I started, but
I'll await your update.  Glad to know it's in progress.

I don't think I wasted my time, I did spend time examining the files, and
that was good in itself.

Of the files I updated:

        RichText.pm
        typemap
        typemap.xsp
        typemap.svn-base
        typemap.xsp.svn-base
        RichTextPrinting.xsp

I suspect I did not need to update:

        typemap.svn-base
        typemap.xsp.svn-base,

Could you or Mark confirm this please?  I assume these are just version
control files.

Have a good weekend, and thanks for the email.
        
Regards

Steve



-----Original Message-----
From: Mattia Barbon [mailto:mattia.bar...@libero.it] 
Sent: 14 August 2010 07:24
To: Steve Cookson
Cc: wxperl-users@perl.org
Subject: Re: Wrapping modules

Steve Cookson wrote:

   Hi,

> Mattia Barbon wrote:
>>   I haven't looked at the files, but you must always re-run the 
>> top-level Makefile.PL, not the ones in subdirectories.

<snip>

> Ran again and seemed to go very well until near the end when it all went
> wrong.
> 
> Dump follows: insight welcome.

<snip>

> Controls.c: In function 'void
> XS_Wx__PlHeaderCtrl_wxHeaderCtrl0(PerlInterpreter*, CV*)':
> 
> Controls.c:13472: error: 'wxPlHeaderCtrl' was not declared in this scope
> 
> Controls.c:13472: error: 'RETVAL' was not declared in this scope
> 
> Controls.c:13473: error: expected type-specifier before 'wxPlHeaderCtrl'
> 
> Controls.c:13473: error: expected ';' before 'wxPlHeaderCtrl'
> 
> Controls.c: In function 'void
> XS_Wx__PlHeaderCtrl_wxHeaderCtrl1(PerlInterpreter*, CV*)':
> 
> Controls.c:13501: error: 'wxPlHeaderCtrl' was not declared in this scope
> 
> Controls.c:13501: error: 'RETVAL' was not declared in this scope
> 
> Controls.c:13522: error: 'wxHD_DEFAULT_STYLE' was not declared in this
scope
> 
> Controls.c:13528: error: 'wxHeaderCtrlNameStr' was not declared in this
> scope                                                                  
> Controls.c:13532: error: expected type-specifier before 'wxPlHeaderCtrl'
> 
> Controls.c:13532: error: expected ';' before 'wxPlHeaderCtrl'
> 
> In file included from Controls.c:13543:
> 
> xspp/evt_headerctrl_h.h: At global scope:
> 
> xspp/evt_headerctrl_h.h:15: error: 'wxEVT_COMMAND_HEADER_CLICK' was not
> declared in this scope                                                 
> xspp/evt_headerctrl_h.h:16: error: 'wxEVT_COMMAND_HEADER_RIGHT_CLICK' was
> not declared in this scope                                           
> xspp/evt_headerctrl_h.h:17: error: 'wxEVT_COMMAND_HEADER_MIDDLE_CLICK' was
> not declared in this scope                                          
> xspp/evt_headerctrl_h.h:18: error: 'wxEVT_COMMAND_HEADER_DCLICK' was not
> declared in this scope                                                
> xspp/evt_headerctrl_h.h:19: error: 'wxEVT_COMMAND_HEADER_MIDDLE_DCLICK'
was
> not declared in this scope                                         
> xspp/evt_headerctrl_h.h:20: error: 'wxEVT_COMMAND_HEADER_MIDDLE_DCLICK'
was
> not declared in this scope                                         
> xspp/evt_headerctrl_h.h:21: error: 'wxEVT_COMMAND_HEADER_SEPARATOR_DCLICK'
> was not declared in this scope
> xspp/evt_headerctrl_h.h:22: error: 'wxEVT_COMMAND_HEADER_BEGIN_RESIZE' was
> not declared in this scope
> xspp/evt_headerctrl_h.h:23: error: 'wxEVT_COMMAND_HEADER_RESIZING' was not
> declared in this scope
> xspp/evt_headerctrl_h.h:24: error: 'wxEVT_COMMAND_HEADER_END_RESIZE' was
not
> declared in this scope
> xspp/evt_headerctrl_h.h:25: error: 'wxEVT_COMMAND_HEADER_BEGIN_REORDER'
was
> not declared in this scope
> xspp/evt_headerctrl_h.h:26: error: 'wxEVT_COMMAND_HEADER_END_REORDER' was
> not declared in this scope
> xspp/evt_headerctrl_h.h:27: error:
'wxEVT_COMMAND_HEADER_DRAGGING_CANCELLED'
> was not declared in this scope
> xspp/evt_headerctrl_h.h:29: error: too many initializers for
> 'wxPliEventDescription'
> xspp/evt_headerctrl_h.h:29: error: too many initializers for
> 'wxPliEventDescription'
> xspp/evt_headerctrl_h.h:29: error: too many initializers for
> 'wxPliEventDescription'
> xspp/evt_headerctrl_h.h:29: error: too many initializers for
> 'wxPliEventDescription'
> xspp/evt_headerctrl_h.h:29: error: too many initializers for
> 'wxPliEventDescription'
> xspp/evt_headerctrl_h.h:29: error: too many initializers for
> 'wxPliEventDescription'
> xspp/evt_headerctrl_h.h:29: error: too many initializers for
> 'wxPliEventDescription'
> xspp/evt_headerctrl_h.h:29: error: too many initializers for
> 'wxPliEventDescription'
> xspp/evt_headerctrl_h.h:29: error: too many initializers for
> 'wxPliEventDescription'
> xspp/evt_headerctrl_h.h:29: error: too many initializers for
> 'wxPliEventDescription'
> xspp/evt_headerctrl_h.h:29: error: too many initializers for
> 'wxPliEventDescription'
> xspp/evt_headerctrl_h.h:29: error: too many initializers for
> 'wxPliEventDescription'
> xspp/evt_headerctrl_h.h:29: error: too many initializers for
> 'wxPliEventDescription'
> Controls.c: In function 'void XS_Wx__PlHeaderColumn_new(PerlInterpreter*,
> CV*)':
> Controls.c:15075: error: 'wxPlHeaderColumn' was not declared in this scope
> Controls.c:15075: error: 'RETVAL' was not declared in this scope
> Controls.c:15076: error: expected type-specifier before 'wxPlHeaderColumn'
> Controls.c:15076: error: expected ';' before 'wxPlHeaderColumn'
> Controls.c: In function 'void
> XS_Wx__PlSettableHeaderColumn_new(PerlInterpreter*, CV*)':
> Controls.c:15098: error: 'wxPlSettableHeaderColumn' was not declared in
this
> scope
> Controls.c:15098: error: 'RETVAL' was not declared in this scope
> Controls.c:15099: error: expected type-specifier before
> 'wxPlSettableHeaderColumn'
> Controls.c:15099: error: expected ';' before 'wxPlSettableHeaderColumn'
> make: *** [Controls.o] Error 1

   I have some uncommitted changes that should fix this, but they depend 
on an unreleased ExtUtils::XSpp; I'll let you know when the problems are 
fixed.

Sorry for the wasted time,
Mattia

Reply via email to