Page 1 of 1

gentoo - compile of codelite-git fails...

Posted: Fri Aug 24, 2018 10:54 am
by Brane212
...with

/var/tmp/portage/dev-util/codelite-9999/work/codelite-9999/Plugin/drawingutils.cpp:998:55: error: ‘wxCONTROL_NONE’ was not declared in this scope
I there some special requirement for wxGTK ?

I have wxGTK in versions 3.0.4 and 3.0.4 compiled for gtk3, but no matter which one I e-select, codelite-9999 compile always fails...

Re: gentoo - compile of codelite-git fails...

Posted: Fri Aug 24, 2018 1:24 pm
by DavidGH
Hi,

The most recent CodeLite git needs to be built against wx3.1; and preferably against the patched 3.1 from https://github.com/eranif/wxWidgets/.

CodeLite was suffering from flicker when using gtk+3. IIUC the latest wx git has some workarounds, and there are more in https://github.com/eranif/wxWidgets/. However these fixes mean that CodeLite currently fails to build against earlier wx releases.

That will change if the patch from this bug-report are accepted. CodeLite would then build again with wx3.0.4; however flicker would still be a problem with a gtk+3 wx3.0.4.

Until that happens your choices are:
  • Build your own wx3.1, preferable the fixed version.
    Revert to a CodeLite from several days ago; I think #625a36fa2 would be OK.
    Use your wx3.0.4, but apply to the latest CodeLite the patch from that bug-report.
Regards,

David

Re: gentoo - compile of codelite-git fails...

Posted: Fri Aug 24, 2018 3:02 pm
by Brane212
Ah, zo...

I've found zugaina ovverlay with ebuild for wxwidgets-3.1.1-r301:3.1-gtk3

It works now.

Thanks.