Hi,
John Labenski ha scritto:
app_wxlua complains about wxStryledTextCtrl being nill, which is a lua
problem i think.
Somehow linking to the wxStyledTextCtrl has been removed from the dsp
files and that wxLUA_USE_wxStyledTextCtrl has been set to 0 in
wxluasetup.h.
Sorry; probably it was my fault.
I probably committed my local wxluasetup.h changes together with new
makefiles.
>By default these two MUST be on for the main wxLua app
to run.
I think that wxLua should build out of the box against a properly
installed wxWidgets. However contribs are not installed by default.
Nor there is a wxUSE_STC symbol anywhere in STC contrib which we can use
to detect STC.
I think that:
1) we should make wxStyledTextCtrl optional, maybe replacing it with a
less powerful editor...
2) add a check in configure script for its presence; if present
configure should set the wxLUA_USE_wxStyledTextCtrl to 1 otherwise to 0.
This can be done only using wxluasetup.h.in -> wxluasetup.h.
I did try to move bindings/wxwidgets/wxluasetup.h.in to
modules/wxbind/include but I've found that there is a CPP file
(linternal.cpp IIRC) that uses wxluasetup.h.in directly. Why ?
More generally this problem (listed as #1 in my "Remaining problems"
mail) can be solved only using configure checks at run-time, IMO.
This is because while all other features presence can be auto-recognized
using wxUSE_* symbols, contrib libs and 3rd party code cannot.
What do you think ?
You can turn them off in your version. This is why it so
important that it's easy create different wxbind lib versions, one for
the wxLua app and one for your own programs. I will try my hand with
the new bakefile to link to stc again.
so the WXLUASETUP_DIR and WXLUABINDLIB_DIR options (point #7) must be
made operational, right ?
I'll try this tomorrow...
Good night :)
Francesco
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users