kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #02642
Re: Re: PCBNew with AUI proof of Concept
Hi,
2009/6/5 wafeliron <wafeliron@...>:
>
>
> --- In kicad-devel@xxxxxxxxxxxxxxx, "Marco Serantoni" <marco.serantoni@...>
> wrote:
>>
>> --- In kicad-devel@xxxxxxxxxxxxxxx, "wafeliron" <wafeliron@> wrote:
>> > > >
>> > > > 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 ?
>> > >
>> >
>> > I patched over the 1807 revision, also looked at changes between
>> > wxwidgets 2.8.9 and 2.8.10.
>> > The wxAuiToolbar should be introduced in 2.8.9.
>> > For now this doesn't work for me.
>>
>> Try to do this changes manually:
>> at include/wxstruct.h:585 and toolbars.cpp:15 from
>> #if USE_AUITOOLBAR
>> to
>> #if (USE_AUITOOLBAR && wxCHECK_VERSION(2,8,10))
>>
>> This should disable the wxAUIToolbar and switch to the classic wxToolbar,
>> but still using wxAUIManager.
>>
>> Hoping helps,
>> --
>> Marco
>>
>
> Rather bad, i upgraded to 2.8.10 and still did not work.
> If i look at /usr/include/wx/aui/aui.h and auibar.h exists. But if
> make/cmake wants to link against wxAUIManager and wxAUIToolbar there are
> alot of undefined references. I think wxwidgets is not compiled well
> (wxgtk).
>
> Jerry
>
Please try changing this line in the main CMakeLists.txt
find_package(wxWidgets COMPONENTS gl html adv core net base QUIET)
to
find_package(wxWidgets COMPONENTS gl html adv core net base aui QUIET)
and after that:
make rebuild_cache
make pcbnew
HTH.
Cheers,
Mateusz
--
AKA f3nix AKA metyl AKA skowri ;)
Follow ups
References