kicad-developers team mailing list archive
Mailing list archive
Re: Compilation problems with types from pcb_lexer.h
Solution: run "git clean -fx" and then build.
On Wed, Jul 10, 2019 at 1:21 AM Eeli Kaikkonen <eeli.kaikkonen@xxxxxxxxx>
> If I understood correctly the lexer system was changed recently. I'm
> trying to compile on Linux, using gcc and ninja (NOT plain make!). Now I
> get errors:
> kicad/pcbnew/pcb_parser.cpp: In member function ‘void
> kicad/pcbnew/pcb_parser.cpp:1278:14: error: ‘T_user_diff_pair’ was not
> declared in this scope
> case T_user_diff_pair:
> I already started from scratch but the problem persists.
> I found out that the definitions aren't in the source code but have been
> generated in the build tree; grep finds them in common/pcb_lexer.h. But
> somehow the build system or compiling doesn't use it correctly.
> Eeli Kaikkonen
> 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