← Back to team overview

kicad-developers team mailing list archive

Re: PCBNew with AUI proof of Concept

 

--- In kicad-devel@xxxxxxxxxxxxxxx, "wafeliron" <wafeliron@...> wrote:
>
> --- In kicad-devel@xxxxxxxxxxxxxxx, "Marco Serantoni" <marco.serantoni@> wrote:
> >
> > --- In kicad-devel@xxxxxxxxxxxxxxx, "wafeliron" <wafeliron@> wrote:
> > >
> > > --- In kicad-devel@xxxxxxxxxxxxxxx, "Marco Serantoni" <marco.serantoni@> wrote:
> > > >
> > > > I've just ended to play a bit with wxAUI and seems that enough easyto implement on the existing codebase.
> > > /home/jerry/projects/opensource/kicad/kicad-core/trunk/kicad/cvpcb/displayframe.cpp: In member function `virtual void WinEDA_DisplayFrame::ReCreateHToolbar()':
> > > /home/jerry/projects/opensource/kicad/kicad-core/trunk/kicad/cvpcb/displayframe.cpp:120: error: no matching function for call to `WinEDA_DisplayFrame::SetToolBar(WinEDA_Toolbar*&)'
> > > /usr/include/wx-2.8/wx/gtk/frame.h:69: note: candidates are: virtual void wxFrame::SetToolBar(wxToolBar*)
> > > make[2]: *** [cvpcb/CMakeFiles/cvpcb.dir/displayframe.cpp.o] Fout 1
> > > make[1]: *** [cvpcb/CMakeFiles/cvpcb.dir/all] Fout 2
> > > make: *** [all] Fout 2
> > > 
> > > wxwidgets 2.8.9 unicode on debian linux testing/unstable 64 bits
> > 
> > You should enter in the pcbnew directory and do "make" only in that directory.
> > Is not a patch for all the binaries.
> >Linking CXX executable pcbnew
> CMakeFiles/pcbnew.dir/automove.cpp.o: In function `WinEDA_PcbFrame::AutoPlace(wxCommandEvent&)':
> /home/jerry/projects/opensource/kicad/kicad-core/trunk/kicad/pcbnew/automove.cpp:91: undefined reference to `wxAuiToolBar::ToggleTool(int, bool)'
> /home/jerry/projects/opensource/kicad/kicad-core/trunk/kicad/pcbnew/automove.cpp:102: undefined reference to `wxAuiToolBar::ToggleTool(int, bool)'
> CMakeFiles/pcbnew.dir/dialog_general_options.cpp.o: In function `WinEDA_PcbFrame::OnSelectOptionToolbar(wxCommandEvent&)':
> /home/jerry/projects/opensource/kicad/kicad-core/trunk/kicad/pcbnew/dialog_general_options.cpp:420: undefined reference to `wxAuiManager::GetPane(wxString const&)'
> /home/jerry/projects/opensource/kicad/kicad-core/trunk/kicad/pcbnew/dialog_general_options.cpp:421: undefined reference to `wxAuiManager::Update()'
> CMakeFiles/pcbnew.dir/moduleframe.cpp.o: In function `WinEDA_ModuleEditFrame::SetToolbars()':
> /home/jerry/projects/opensource/kicad/kicad-core/trunk/kicad/pcbnew/moduleframe.cpp:259: undefined reference to `wxAuiToolBar::EnableTool(int, bool)'
> /home/jerry/projects/opensource/kicad/kicad-core/trunk/kicad/pcbnew/moduleframe.cpp:260: undefined reference to `wxAuiToolBar::EnableTool(int, bool)'
> /home/jerry/projects/opensource/kicad/kicad-core/trunk/kicad/pcbnew/moduleframe.cpp:267: undefined reference to `wxAuiToolBar::EnableTool(int, bool)'
> /home/jerry/projects/opensource/kicad/kicad-core/trunk/kicad/pcbnew/moduleframe.cpp:269: undefined reference to `wxAuiToolBar::EnableTool(int, bool)'
> /home/jerry/projects/opensource/kicad/kicad-core/trunk/kicad/pcbnew/moduleframe.cpp:270: undefined reference to `wxAuiToolBar::EnableTool(int, bool)'
> 
> Et cetera errors.
> 
> Could not find wxAuiToolBar API Documentation.

I've used 2.8.10 anyway, the strange thing is the unavaiability of wxAuiManager::Update()..
Are you trying this over the HEAD ?







Follow ups

References