← Back to team overview

kicad-developers team mailing list archive

Re: 5.1 preview

 

I got a bunch of errors. Ubuntu 17.10. The official pre-5 code compiles
fine. Is there something wrong with my setup? If someone else with Ubuntu
has this working, I'll try again from scratch.

Eeli Kaikkonen

_____________________________________

/work/ohjelmointi/kicad/jeyjey/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp:66:5:
error: no template named 'FIELDS_GRID_TABLE'
    FIELDS_GRID_TABLE<LIB_FIELD>* m_fields;
    ^
/work/ohjelmointi/kicad/jeyjey/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp:107:9:
error: cannot initialize object parameter of type 'DIALOG_SHIM' with an
expression of type 'DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB'
    if( dlg.ShowQuasiModal() != wxID_OK )
        ^~~
/work/ohjelmointi/kicad/jeyjey/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp:125:20:
error: no template named 'FIELDS_GRID_TABLE'
    m_fields = new FIELDS_GRID_TABLE<LIB_FIELD>( true, GetUserUnits(),
m_libEntry );
                   ^
/work/ohjelmointi/kicad/jeyjey/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp:128:28:
error: use of undeclared identifier 'FDC_VALUE'; did you mean 'FIND_VALUE'?
    m_delayedFocusColumn = FDC_VALUE;
                           ^~~~~~~~~
                           FIND_VALUE
/work/ohjelmointi/kicad/jeyjey/eeschema/./sch_edit_frame.h:108:5: note:
'FIND_VALUE' declared here
    FIND_VALUE,             ///< Find an item by it's value field.
    ^
/work/ohjelmointi/kicad/jeyjey/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp:138:35:
error: unknown type name 'FIELDS_GRID_TRICKS'
    m_grid->PushEventHandler( new FIELDS_GRID_TRICKS( m_grid, this ) );
                                  ^
/work/ohjelmointi/kicad/jeyjey/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp:143:35:
error: use of undeclared identifier 'small_plus_xpm'
    m_bpAdd->SetBitmap( KiBitmap( small_plus_xpm ) );
                                  ^
/work/ohjelmointi/kicad/jeyjey/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp:144:38:
error: use of undeclared identifier 'trash_xpm'
    m_bpDelete->SetBitmap( KiBitmap( trash_xpm ) );
                                     ^
/work/ohjelmointi/kicad/jeyjey/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp:145:38:
error: use of undeclared identifier 'small_up_xpm'
    m_bpMoveUp->SetBitmap( KiBitmap( small_up_xpm ) );
                                     ^
/work/ohjelmointi/kicad/jeyjey/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp:146:40:
error: use of undeclared identifier 'small_down_xpm'
    m_bpMoveDown->SetBitmap( KiBitmap( small_down_xpm ) );
                                       ^
/work/ohjelmointi/kicad/jeyjey/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp:149:13:
error: no matching member function for call to 'Connect'
    m_grid->Connect( wxEVT_GRID_CELL_CHANGING, wxGridEventHandler(
DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB::OnGridCellChanging ), NULL, this );
    ~~~~~~~~^~~~~~~
/usr/include/wx-3.0/wx/event.h:3490:10: note: candidate function not
viable: no known conversion from 'DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB *' to
'wxEvtHandler *' for 4th argument
    void Connect(wxEventType eventType,
         ^
/usr/include/wx-3.0/wx/event.h:3469:10: note: candidate function not
viable: no known conversion from 'wxObjectEventFunction' (aka 'void
(wxEvtHandler::*)(wxEvent &)') to 'int' for 2nd argument
    void Connect(int winid,
         ^
/usr/include/wx-3.0/wx/event.h:3482:10: note: candidate function not
viable: no known conversion from 'wxObjectEventFunction' (aka 'void
(wxEvtHandler::*)(wxEvent &)') to 'wxEventType' (aka 'int') for 2nd argument
    void Connect(int winid,
         ^
/work/ohjelmointi/kicad/jeyjey/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp:151:5:
error: cannot initialize object parameter of type 'DIALOG_SHIM' with an
expression of type 'DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB'
    FinishDialogSettings();
    ^~~~~~~~~~~~~~~~~~~~
/work/ohjelmointi/kicad/jeyjey/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp:162:13:
error: no matching member function for call to 'Disconnect'
    m_grid->Disconnect( wxEVT_GRID_CELL_CHANGING, wxGridEventHandler(
DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB::OnGridCellChanging ), NULL, this );
    ~~~~~~~~^~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3515:10: note: candidate function not
viable: no known conversion from 'DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB *' to
'wxEvtHandler *' for 4th argument
    bool Disconnect(wxEventType eventType,
         ^
/usr/include/wx-3.0/wx/event.h:3496:10: note: candidate function not
viable: no known conversion from 'wxObjectEventFunction' (aka 'void
(wxEvtHandler::*)(wxEvent &)') to 'int' for 2nd argument
    bool Disconnect(int winid,
         ^
/usr/include/wx-3.0/wx/event.h:3508:10: note: candidate function not
viable: no known conversion from 'wxObjectEventFunction' (aka 'void
(wxEvtHandler::*)(wxEvent &)') to 'wxEventType' (aka 'int') for 2nd argument
    bool Disconnect(int winid = wxID_ANY,
         ^
/work/ohjelmointi/kicad/jeyjey/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp:171:20:
error: cannot initialize object parameter of type 'wxWindowBase' with an
expression of type 'DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB'
    if( !wxDialog::TransferDataToWindow() )
                   ^~~~~~~~~~~~~~~~~~~~
/work/ohjelmointi/kicad/jeyjey/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp:194:5:
error: cannot initialize object parameter of type 'wxWindowBase' with an
expression of type 'DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB'
    Layout();
    ^~~~~~
/work/ohjelmointi/kicad/jeyjey/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp:209:32:
error: use of undeclared identifier 'FDC_VALUE'; did you mean 'FIND_VALUE'?
        m_delayedFocusColumn = FDC_VALUE;
                               ^~~~~~~~~
                               FIND_VALUE
/work/ohjelmointi/kicad/jeyjey/eeschema/./sch_edit_frame.h:108:5: note:
'FIND_VALUE' declared here
    FIND_VALUE,             ///< Find an item by it's value field.
    ^
/work/ohjelmointi/kicad/jeyjey/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp:225:36:
error: use of undeclared identifier 'FDC_NAME'
            m_delayedFocusColumn = FDC_NAME;
                                   ^
/work/ohjelmointi/kicad/jeyjey/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp:256:5:
error: cannot initialize object parameter of type 'wxWindowBase' with an
expression of type 'DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB'
    SetName( m_libEntry->GetValueField().GetText() );
    ^~~~~~~
/work/ohjelmointi/kicad/jeyjey/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp:260:5:
error: cannot initialize object parameter of type 'DIALOG_SHIM' with an
expression of type 'DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB'
    EndQuasiModal( wxID_OK );
    ^~~~~~~~~~~~~
/work/ohjelmointi/kicad/jeyjey/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp:324:27:
error: use of undeclared identifier 'FDC_NAME'
    if( event.GetCol() == FDC_NAME && event.GetString().IsEmpty() )
                          ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.

Follow ups

References