kicad-developers team mailing list archive
Mailing list archive
Re: grammar.c not found,
Note, this bug can only be triggered if you do have Lemon installed. Otherwise the grammar.c file is just another file.
So make clean is safe unless you have lemon installed!
On 23 December 2018 21:32:50 GMT, John Beard <john.j.beard@xxxxxxxxx> wrote:
>It seems "make clean" might be the trigger here. The target for the
>libeval grammar is done with CMake add_custom_command with an OUTPUT.
>This means the output file will be cleaned on "make clean", but as the
>grammar.c is not then regenerated by default, it will be missing until
>checked out from Git.
>Here's a patch to use add_custom_target instead. Any CMake wizards are
>invited to criticise if I have misunderstood. At least from my tests,
>"make clean" no longer removes grammar.c and the target can still be
>used to (re)generate it.
>Here's a bug report so we can tie back with the Fixes: line and find
>this issue in future: https://bugs.launchpad.net/kicad/+bug/1809610
>On Sun, Dec 23, 2018 at 1:27 AM Nick Østergaard <oe.nick@xxxxxxxxx>
>> Hi Lachlan,
>> Are you sure that your workspace is clean? I don't see any issues on
>> any platform.
>> On Sat, 22 Dec 2018 at 06:53, Lachlan Audas <laudas1@xxxxxxxxx>
>> > Hi, just pull the lest-est developer build from git-hub for KiCad
>> > and tried compiling it. But but get this Error, missing file
>> > >kicad-source-mirror/common/libeval/numeric_evaluator.cpp:36:21:
>fatal error: grammar.c: No such file or directory
>> > #include "grammar.c"
>> > the 5.0.2 version has the file, but not the developers version
>> > Any one else seen this ?
>> > Lachlan
>> > _______________________________________________
>> > 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
>> 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