Trouble Building CVS head

Robin,

As this is wxPython stuff, I'm moving this to the wxPython-dev:

I've got wxWidgets all built, and am now building wxPython. I got a while pile of errors in "animate", beginning with:

contrib/animate/gtk/animate_wrap.cpp: In function `PyObject*
    _wrap_new_AnimationPlayer(PyObject*, PyObject*, PyObject*)':
contrib/animate/gtk/animate_wrap.cpp:1572: error: `wxAnimationBase' undeclared
    (first use this function)
contrib/animate/gtk/animate_wrap.cpp:1572: error: (Each undeclared identifier
    is reported only once for each function it appears in.)
contrib/animate/gtk/animate_wrap.cpp:1572: error: `arg1' undeclared (first use
    this function)

This looks like a missing header, or maybe SWIG needs to be re-run? I may try to get SWIG set-up, as I'll need that later anyway, but in the meantime, any ideas?

By the way, It would be great if there were a couple lines in the SWIG patch readme on how to apply the patch. I'm having trouble doing that at the moment, though I'll probably figure it out.

-Chris

PS: sorry to be such a pest, I hope I can contribute something worthwhile after all this!

···

--
Christopher Barker, Ph.D.
Oceanographer
                                         
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

Chris Barker wrote:

Robin,

As this is wxPython stuff, I'm moving this to the wxPython-dev:

I've got wxWidgets all built, and am now building wxPython. I got a while pile of errors in "animate", beginning with:

contrib/animate/gtk/animate_wrap.cpp: In function `PyObject*
   _wrap_new_AnimationPlayer(PyObject*, PyObject*, PyObject*)':
contrib/animate/gtk/animate_wrap.cpp:1572: error: `wxAnimationBase' undeclared
   (first use this function)
contrib/animate/gtk/animate_wrap.cpp:1572: error: (Each undeclared identifier
   is reported only once for each function it appears in.)
contrib/animate/gtk/animate_wrap.cpp:1572: error: `arg1' undeclared (first use
   this function)

This looks like a missing header,

Yep. Did you do the make install step for the animate contrib?

or maybe SWIG needs to be re-run?

No, there havn't been any changes there (other than a docstring change) since before the release, so everything should be in CVS.

I may try to get SWIG set-up, as I'll need that later anyway, but in the meantime, any ideas?

By the way, It would be great if there were a couple lines in the SWIG patch readme on how to apply the patch. I'm having trouble doing that at the moment, though I'll probably figure it out.

You should only need to be in the root directory of a SWIG source tree and then run:

  patch -p0 < /path/to/swig-1.3.24.patch

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Robin Dunn wrote:

Yep. Did you do the make install step for the animate contrib?

no, but I should have been able to figure that out for myself.

You should only need to be in the root directory of a SWIG source tree and then run:

    patch -p0 < /path/to/swig-1.3.24.patch

As I suspected, I did figure that out, but it took a while to figure out the -p0, you'd really think that would be the default! I've got SWIG built now.

I've also got wxPython built, and the demo seems to run fine. What's your release schedule looking like? My goal is to get some FloatCanvas upgrades included, and maybe even to get the new array protocol in the _LIST_helper functions in time for 2.6.

Thanks again, Chris

···

--
Christopher Barker, Ph.D.
Oceanographer
                                         
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

Chris Barker wrote:

Robin Dunn wrote:

What's your release schedule looking like? My goal is to get some FloatCanvas upgrades included, and maybe even to get the new array protocol in the _LIST_helper functions in time for 2.6.

Probably by the end of next week or the week after.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!