← Back to team overview

kicad-developers team mailing list archive

Re: QA build failure

 

The build error is fixed.  Thanks.

On 12/26/21 11:55 AM, jeff wrote:
More bits committed...

On 26 Dec 2021, at 15:48, Wayne Stambaugh <stambaughw@xxxxxxxxx> wrote:

Now I'm seeing this:

/home/foo/src/kicad-trunk/qa/pns/pns_log_viewer.cpp: In constructor ‘PNS_LOG_VIEWER_FRAME::PNS_LOG_VIEWER_FRAME(wxFrame*)’:
/home/foo/src/kicad-trunk/qa/pns/pns_log_viewer.cpp:294:14: error: request for member ‘m_ZoneDisplayMode’ in ‘settings’, which is of pointer type ‘KIGFX::PCB_RENDER_SETTINGS*’ (maybe you meant to use ‘->’ ?)
  294 |     settings.m_ZoneDisplayMode = ZONE_DISPLAY_MODE::SHOW_FILLED;
      |              ^~~~~~~~~~~~~~~~~
make[2]: *** [qa/pns/CMakeFiles/test_pns.dir/build.make:398: qa/pns/CMakeFiles/test_pns.dir/pns_log_viewer.cpp.o] Error 1


On 12/26/21 10:13 AM, jeff wrote:
I’ve attempted to fix these, although they don’t appear to be part of the build target on my machine so I can’t confirm.
On 26 Dec 2021, at 14:26, foo Stambaugh <stambaughw@xxxxxxxxx> wrote:

I'm seeing the following build failure this morning:

/home/foo/src/kicad-trunk/qa/qa_utils/mocks.cpp:622:28: error: no declaration matches ‘const PCB_DISPLAY_OPTIONS& PCB_TOOL_BASE::displayOptions() const’
  622 | const PCB_DISPLAY_OPTIONS& PCB_TOOL_BASE::displayOptions() const
      |                            ^~~~~~~~~~~~~
In file included from /home/foo/src/kicad-trunk/pcbnew/router/pns_tool_base.h:30,
                 from /home/foo/src/kicad-trunk/pcbnew/router/router_tool.h:26,
                 from /home/foo/src/kicad-trunk/qa/qa_utils/mocks.cpp:38:
/home/foo/src/kicad-trunk/pcbnew/tools/pcb_tool_base.h:172:39: note: candidate is: ‘PCBNEW_SETTINGS::DISPLAY_OPTIONS& PCB_TOOL_BASE::displayOptions() const’
  172 |     PCBNEW_SETTINGS::DISPLAY_OPTIONS& displayOptions() const;
      |                                       ^~~~~~~~~~~~~~
/home/foo/src/kicad-trunk/pcbnew/tools/pcb_tool_base.h:70:7: note: ‘class PCB_TOOL_BASE’ defined here
   70 | class PCB_TOOL_BASE : public TOOL_INTERACTIVE
      |       ^~~~~~~~~~~~~
/home/foo/src/kicad-trunk/qa/pns/pns_log_viewer.cpp: In constructor ‘PNS_LOG_VIEWER_FRAME::PNS_LOG_VIEWER_FRAME(wxFrame*)’:
/home/foo/src/kicad-trunk/qa/pns/pns_log_viewer.cpp:294:15: error: ‘class KIGFX::PCB_RENDER_SETTINGS’ has no member named ‘SetZoneDisplayMode’; did you mean ‘m_ZoneDisplayMode’?
  294 |     settings->SetZoneDisplayMode( ZONE_DISPLAY_MODE::SHOW_FILLED );
      |               ^~~~~~~~~~~~~~~~~~
      |               m_ZoneDisplayMode
make[2]: *** [qa/pns/CMakeFiles/test_pns.dir/build.make:468: qa/pns/CMakeFiles/test_pns.dir/__/qa_utils/mocks.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [qa/pns/CMakeFiles/test_pns.dir/build.make:398: qa/pns/CMakeFiles/test_pns.dir/pns_log_viewer.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:4556: qa/pns/CMakeFiles/test_pns.dir/all] Error 2
make: *** [Makefile:166: all] Error 2

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp





References