Re: [Kicad-developers] Building current master fails

2019-11-20 Thread Wayne Stambaugh
I do the same thing. Trying to switch between the master and 5.1 branches to work is not very productive. On 11/20/19 11:13 AM, Ian McInerney wrote: > I keep 5.1 and master in separate worktrees because I find that the > compile time if you switch branches is excruciatingly painful (we have >

Re: [Kicad-developers] Building current master fails

2019-11-20 Thread Ian McInerney
I keep 5.1 and master in separate worktrees because I find that the compile time if you switch branches is excruciatingly painful (we have some differences in the base header files now that basically mean an almost full recompile). That is probably why I never saw this issue. -Ian On Wed, Nov

Re: [Kicad-developers] Building current master fails

2019-11-20 Thread Jeff Young
This will do it in one step: find . -name *_lexer.h -delete > On 20 Nov 2019, at 15:57, Adam Wolf wrote: > > Thanks for this! I have just been cleaning a lot.. :) > > On Wed, Nov 20, 2019 at 9:16 AM Jeff Young wrote: >> >> I switch between 5.1 and master and back in the same tree. You have

Re: [Kicad-developers] Building current master fails

2019-11-20 Thread Adam Wolf
Thanks for this! I have just been cleaning a lot.. :) On Wed, Nov 20, 2019 at 9:16 AM Jeff Young wrote: > > I switch between 5.1 and master and back in the same tree. You have to run > the clean each time you go from 5.1 to master. > > On 20 Nov 2019, at 14:34, Ian McInerney wrote: > > Thats

Re: [Kicad-developers] Building current master fails

2019-11-20 Thread Jeff Young
I switch between 5.1 and master and back in the same tree. You have to run the clean each time you go from 5.1 to master. > On 20 Nov 2019, at 14:34, Ian McInerney wrote: > > Thats correct, all those lexer files should now be in the build folder. I > think that only the board file has had

Re: [Kicad-developers] Building current master fails

2019-11-20 Thread Jonatan Liljedahl
Ah, yes I have switched between 5.1 and master so that would probably be it then! Thanks. On Wed, Nov 20, 2019 at 3:34 PM Ian McInerney wrote: > > Thats correct, all those lexer files should now be in the build folder. I > think that only the board file has had new keywords added, so it would

Re: [Kicad-developers] Building current master fails

2019-11-20 Thread Ian McInerney
Thats correct, all those lexer files should now be in the build folder. I think that only the board file has had new keywords added, so it would be the only one that is different. Ok, so there is probably another cause of the files appearing. Did you switch branches between master and 5.1 and

Re: [Kicad-developers] Building current master fails

2019-11-20 Thread Jonatan Liljedahl
Hi, I see. So then I assume all these should also not exist? $ ls include/*_lexer.h include/lib_table_lexer.h include/netlist_lexer.h include/page_layout_reader_lexer.h include/pcb_lexer.h include/pcb_plot_params_lexer.h Of these files, only pcb_lexer.h differed between include/ and

Re: [Kicad-developers] Building current master fails

2019-11-20 Thread Ian McInerney
Jonatan, The pcb_lexer.h in include/ shouldn't exist anymore. There was a switchover a few months ago in how that file was generated, and that change moved it into the build directory. As a consequence of that switchover, you need to clean out the stray files that existed from old build. Try

Re: [Kicad-developers] Building current master fails

2019-11-20 Thread Nick Østergaard
It seems to build ok for linux on jenkins. Maybe double chevk you are not in a merge state or something. Also, please state the has of the version you are trying to build. ons. 20. nov. 2019 11.34 skrev Jonatan Liljedahl : > Hi, I'm trying to build the current master, cmake configured like

Re: [Kicad-developers] Building current master fails

2019-11-20 Thread Jonatan Liljedahl
include/pcb_lexer.h does not include T_copper_finish etc. However, build/common/pcb_lexer.h does! How come? I'm guessing the one in common is generated during build, but for some reason it picks the other one when including the header. On Wed, Nov 20, 2019 at 11:34 AM Jonatan Liljedahl wrote: >

[Kicad-developers] Building current master fails

2019-11-20 Thread Jonatan Liljedahl
Hi, I'm trying to build the current master, cmake configured like this: cmake -DNGSPICE_INCLUDE_DIR=/Users/lijon/Coding/kicad-mac-builder/build/ngspice-dest/include/ -DNGSPICE_LIBRARY=/Users/lijon/Coding/kicad-mac-builder/build/ngspice-dest/lib/libngspice.dylib -DKICAD_USE_OCE=OFF