It looks like your source directory is dirty (not the build dir) Try "git clean -fx" or similar.
-Jon On Fri, Dec 31, 2021 at 1:30 PM Marco Ciampa <ciam...@posteo.net> wrote: > Hello devs! > I need some help. > > Sometimes my cmake configuration goes wrong and I get stuck with this > kind of error: > > Built target scripting_kiface > [ 25%] Building CXX object > common/CMakeFiles/pcbcommon.dir/__/pcbnew/netlist_reader/kicad_netlist_reader.cpp.o > /home/marco/git/gitlab/kicad/branch-6.0/pcbnew/netlist_reader/kicad_netlist_reader.cpp: > In member function ‘void KICAD_NETLIST_PARSER::parseNet()’: > /home/marco/git/gitlab/kicad/branch-6.0/pcbnew/netlist_reader/kicad_netlist_reader.cpp:241:22: > error: ‘T_pinfunction’ was not declared in this scope; did you mean > ‘pin_function’? > 241 | case T_pinfunction: > | ^~~~~~~~~~~~~ > | pin_function > /home/marco/git/gitlab/kicad/branch-6.0/pcbnew/netlist_reader/kicad_netlist_reader.cpp:247:22: > error: ‘T_pintype’ was not declared in this scope; did you mean ‘pin_type’? > 247 | case T_pintype: > | ^~~~~~~~~ > | pin_type > /home/marco/git/gitlab/kicad/branch-6.0/pcbnew/netlist_reader/kicad_netlist_reader.cpp: > In member function ‘void KICAD_NETLIST_PARSER::parseComponent()’: > /home/marco/git/gitlab/kicad/branch-6.0/pcbnew/netlist_reader/kicad_netlist_reader.cpp:371:14: > error: ‘T_property’ was not declared in this scope > 371 | case T_property: > | ^~~~~~~~~~ > make[2]: *** [common/CMakeFiles/pcbcommon.dir/build.make:670: > common/CMakeFiles/pcbcommon.dir/__/pcbnew/netlist_reader/kicad_netlist_reader.cpp.o] > Errore 1 > make[1]: *** [CMakeFiles/Makefile2:2290: > common/CMakeFiles/pcbcommon.dir/all] Errore 2 > make: *** [Makefile:163: all] Errore 2 > > I was once able to figure out how was wrong but unfortunately I do not > remember what went wrong in the automatic configuration of cmake. > > Deleting the build dir and restarting cmake auto conf unfortunately does > not help. > > Any hint? > > My system is Ubuntu 20.04 intel 64... > > -- > > Saluton, > Marco Ciampa > > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > Post to : kicad-developers@lists.launchpad.net > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp >
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp