← Back to team overview

kicad-developers team mailing list archive

Re: Last commit not compiling.

 

Please see
https://bugs.launchpad.net/kicad/+bug/1835408/comments/3

I think this is the same issue. Do a clean build.

On Mon, 8 Jul 2019 at 14:01, Dino Ghilardi <dino.ghilardi@xxxxxxxx> wrote:
>
> commit 4852c91b423abf1e3e745f9d17ad56c92d5445b8
>
> does not compile for me on Linux, even re-generating config files with
> cmake.
>
> Does anybody else have the same issue?
>
> The missing definitions seems to be in pcb_lexer.h, but this is not
> included in pcb-parser.cpp. Should it?
>
>
> When "make -j7" fails I get:
>
>
> /home/dinoghi/SANDBOXKICAD5/src/kicad/pcbnew/pcb_parser.cpp: In member
> function ‘void PCB_PARSER::parseSetup()’:
> /home/dinoghi/SANDBOXKICAD5/src/kicad/pcbnew/pcb_parser.cpp:1278:14:
> error: ‘T_user_diff_pair’ was not declared in this scope
>           case T_user_diff_pair:
>                ^~~~~~~~~~~~~~~~
> /home/dinoghi/SANDBOXKICAD5/src/kicad/pcbnew/pcb_parser.cpp:1325:14:
> error: ‘T_defaults’ was not declared in this scope
>           case T_defaults:
>                ^~~~~~~~~~
> /home/dinoghi/SANDBOXKICAD5/src/kicad/pcbnew/pcb_parser.cpp: In member
> function ‘void PCB_PARSER::parseDefaults(BOARD_DESIGN_SETTINGS&)’:
> /home/dinoghi/SANDBOXKICAD5/src/kicad/pcbnew/pcb_parser.cpp:1440:14:
> error: ‘T_edge_clearance’ was not declared in this scope
>           case T_edge_clearance:
>                ^~~~~~~~~~~~~~~~
> /home/dinoghi/SANDBOXKICAD5/src/kicad/pcbnew/pcb_parser.cpp:1445:14:
> error: ‘T_copper_line_width’ was not declared in this scope
>           case T_copper_line_width:
>                ^~~~~~~~~~~~~~~~~~~
> /home/dinoghi/SANDBOXKICAD5/src/kicad/pcbnew/pcb_parser.cpp:1450:14:
> error: ‘T_copper_text_dims’ was not declared in this scope
>           case T_copper_text_dims:
>                ^~~~~~~~~~~~~~~~~~
> /home/dinoghi/SANDBOXKICAD5/src/kicad/pcbnew/pcb_parser.cpp:1454:14:
> error: ‘T_courtyard_line_width’ was not declared in this scope
>           case T_courtyard_line_width:
>                ^~~~~~~~~~~~~~~~~~~~~~
> /home/dinoghi/SANDBOXKICAD5/src/kicad/pcbnew/pcb_parser.cpp:1459:14:
> error: ‘T_edge_cuts_line_width’ was not declared in this scope
>           case T_edge_cuts_line_width:
>                ^~~~~~~~~~~~~~~~~~~~~~
> /home/dinoghi/SANDBOXKICAD5/src/kicad/pcbnew/pcb_parser.cpp:1464:14:
> error: ‘T_silk_line_width’ was not declared in this scope
>           case T_silk_line_width:
>                ^~~~~~~~~~~~~~~~~
> /home/dinoghi/SANDBOXKICAD5/src/kicad/pcbnew/pcb_parser.cpp:1469:14:
> error: ‘T_silk_text_dims’ was not declared in this scope
>           case T_silk_text_dims:
>                ^~~~~~~~~~~~~~~~
> /home/dinoghi/SANDBOXKICAD5/src/kicad/pcbnew/pcb_parser.cpp:1473:14:
> error: ‘T_other_layers_line_width’ was not declared in this scope
>           case T_other_layers_line_width:
>                ^~~~~~~~~~~~~~~~~~~~~~~~~
> /home/dinoghi/SANDBOXKICAD5/src/kicad/pcbnew/pcb_parser.cpp:1478:14:
> error: ‘T_other_layers_text_dims’ was not declared in this scope
>           case T_other_layers_text_dims:
>                ^~~~~~~~~~~~~~~~~~~~~~~~
> /home/dinoghi/SANDBOXKICAD5/src/kicad/pcbnew/pcb_parser.cpp: In member
> function ‘void PCB_PARSER::parseDefaultTextDims(BOARD_DESIGN_SETTINGS&,
> int)’:
> /home/dinoghi/SANDBOXKICAD5/src/kicad/pcbnew/pcb_parser.cpp:1515:14:
> error: ‘T_keep_upright’ was not declared in this scope
>           case T_keep_upright:
>
>
>
> _______________________________________________
> 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