← Back to team overview

kicad-developers team mailing list archive

Re: [kicad-users] compilation from master error

 

Did you also try with "git clean -fx"
to delete the old auto-generated and non-tracked files that can lie around from old versions?


Cheers,
Dino.

On 14/01/20 21:19, Ian McInerney wrote:
Marco,

Delete every file inside include/ that ends with "_lexer.h" (note, don't delete the dsnlexer.h file though). There was a change to the build a few months ago that moved these generated files somewhere else, and so right now your build is using the old ones instead of the new ones.

-Ian

On Tue, Jan 14, 2020 at 12:17 PM Marco Ciampa <ciampix@xxxxxxxxxx <mailto:ciampix@xxxxxxxxxx>> wrote:

    If I try to compile KiCad from gi master it gives me always this error:

    Building CXX object
    common/CMakeFiles/pcbcommon.dir/__/pcbnew/pad_custom_shape_functions.cpp.o
    /home/marco/git/gitlab/kicad/branch-master/code/kicad/pcbnew/netlist_reader/kicad_netlist_reader.cpp:
    In member function ‘void KICAD_NETLIST_PARSER::parseNet()’:
    /home/marco/git/gitlab/kicad/branch-master/code/kicad/pcbnew/netlist_reader/kicad_netlist_reader.cpp:244:22:
    error: ‘T_pinfunction’ was not declared in this scope
                      case T_pinfunction:
                           ^~~~~~~~~~~~~
    /home/marco/git/gitlab/kicad/branch-master/code/kicad/pcbnew/netlist_reader/kicad_netlist_reader.cpp:244:22:
    note: suggested alternative: ‘pin_function’
                      case T_pinfunction:
                           ^~~~~~~~~~~~~
                           pin_function
    common/CMakeFiles/pcbcommon.dir/build.make:591: recipe for target
    'common/CMakeFiles/pcbcommon.dir/__/pcbnew/netlist_reader/kicad_netlist_reader.cpp.o'
    failed
    make[2]: ***
    [common/CMakeFiles/pcbcommon.dir/__/pcbnew/netlist_reader/kicad_netlist_reader.cpp.o]
    Error 1

    any hint?

--
    Saluton,
    Marco Ciampa

    -=-=-=-=-=-=-=-=-=-=-=-
    Groups.io Links: You receive all messages sent to this group.

    View/Reply Online (#22664):
    https://groups.io/g/kicad-users/message/22664
    Mute This Topic: https://groups.io/mt/69667305/2365677
    Group Owner: kicad-users+owner@xxxxxxxxx
    <mailto:kicad-users%2Bowner@xxxxxxxxx>
    Unsubscribe:
https://groups.io/g/kicad-users/leave/4830707/910801564/xyzzy [ciampix@xxxxxxxxxx <mailto:ciampix@xxxxxxxxxx>]
    -=-=-=-=-=-=-=-=-=-=-=-

    _______________________________________________
    Mailing list: https://launchpad.net/~kicad-developers
    Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
    <mailto: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




Follow ups

References