Page 1 of 1

scintilla build error

Posted: Fri Nov 16, 2012 12:53 am
by lurscher
Hi,

I want to run a custom plugin inside codelite, i presume that i need to build codelite for this to work as explained in here: http://www.codelite.org/LiteEditor/CreatingNewPlugin

I did all changes, and when i do configure && make i get this error
In file included from sdk/wxscintilla/src/ScintillaWX.h:30:0,
from sdk/wxscintilla/src/ScintillaWX.cpp:17:
./sdk/wxscintilla/src/scintilla/include/ScintillaWidget.h:17:21: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
I have already installed libwxgtk-2.8-dev, but this header seems to be a dependence of a separate library (gtkmm). What version should i install for codelite? ubuntu 12.04 repos have by default 2.4 and 3.0, but i want to be sure of installing the right one

Re: scintilla build error

Posted: Fri Nov 16, 2012 10:56 am
by eranif
lurscher wrote:I have already installed libwxgtk-2.8-dev
trunk version of codelite no longer uses wx28 but rather requires wx294 or greater
lurscher wrote:I want to run a custom plugin inside codelite
so why don't you build codelite from svn?

http://codelite.org/Developers/Linux
You should note that codelite no longer uses wxScintilla for internal usage, but rather uses the wxStyledTextCtrl that comes with wxWidgets 2.9.4

Eran

Re: scintilla build error

Posted: Fri Nov 16, 2012 10:28 pm
by lurscher
I'm using the 4.1.5770 tarball. I prefer avoid chasing if possible the 2.9.4 as it is not packaged yet for ubuntu 12.04.

I managed to get it to build installing gtkmm-2.4.dev, so it works now

Re: scintilla build error

Posted: Sat Nov 17, 2012 12:08 am
by eranif
lurscher wrote:I prefer avoid chasing if possible the 2.9.4 as it is not packaged yet for ubuntu 12.04.
and it will never be packaged for 2.9.4 as it is "development" branch of wxWidgets (odd numbers are 2.9, 2.7 etc are considered "Development" while even numbers 2.6, 2.8, 3.0 are stable) and from what I know
Ubuntu only packages stable versions. Note that codelite is moving to 294 in anycase.

You can get a pre-built of wxWidgets 2.9.4 from codelite's repository:
http://www.codelite.org/LiteEditor/WxWidgets29Binaries

Eran