another build failure
Ben Abbott
bpabbott at mac.com
Thu Oct 23 05:42:20 CDT 2008
On Oct 22, 2008, at 8:32 PM, John W. Eaton wrote:
> On 22-Oct-2008, Ben Abbott wrote:
>
> | My tip is
> |
> | changeset: 8266:81b124f463f9
> | tag: tip
> | user: John W. Eaton <jwe at octave.org>
> | date: Wed Oct 22 14:57:51 2008 -0400
> | summary: properly update currentaxes when axes are deleted
> |
> | make
> | [...]
> | g++ -c -g -I/sw/include -FOpenGL -I/sw/include -fPIC -I. -I.. -I../
> | liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H -mieee-fp -
> Wall
> | -W -Wshadow -Wold-style-cast -g -O2 gl-render.cc -o pic/gl-render.o
> | gl-render.cc: In member function ?virtual void
> | opengl_renderer::draw(const figure::properties&)?:
> | gl-render.cc:578: error: ?const class figure::properties? has no
> | member named ?get_all_children?
> | make[2]: *** [pic/gl-render.o] Error 1
> | make[1]: *** [src] Error 2
> | make: *** [all] Error 2
> |
> | ... in any event, I manually reverted "make fltk backend figures
> work
> | again" changeset and the build went fine.
>
> I don't know why this would fail. It works for me.
>
> The figure::properties class is derived from base_properties, and
> there should be a definition for a get_all_children method in the
> base_properties declaration in graphics.h. Did something happen such
> that graphics.h was not regenerated from the updated graphics.h.in
> file? In the graphics.h file that is in your build tree, do you see
> the function
>
> Matrix get_all_children (void) const { return children; }
>
> in the base_properties class?
>
> jwe
My build last night completed without errors, but to answer your
question ...
For "get_all_children" I see
$ fgrep -n get_all_children *.*
gl-render.cc:578: draw (props.get_all_children ());
graphics.h:1641: Matrix get_all_children (void) const { return
children; }
graphics.h.in:1639: Matrix get_all_children (void) const { return
children; }
For "get_children "
$ fgrep -n 'get_children ' *.*
gl-render.cc:1530: Matrix children = props.get_children ();
gl-render.cc:2518: draw (props.get_children ());
graphics-props.cc:99: m.assign ("children", get_children ());
graphics-props.cc:133: retval = get_children ();
graphics.cc:1790: Matrix kids = get_children ();
graphics.cc:2469:base_properties::get_children (void) const
graphics.cc:3305: Matrix kids = xproperties.get_children ();
graphics.cc:3634: Matrix kids = xproperties.get_children ();
graphics.h:1749: Matrix get_children (void) const;
Ben
More information about the Octave-maintainers
mailing list