Hi John, Updating to the latest version of wxLua solved it. Actually it is the first time i get my app working with wxLua on Linux. (with the older version i had still static initialization problems).
So things go very well. BUT when configuring wxLua, it did not find wxstedit correctly. I did also install the lattest wxstedit. And lloked in /usr/local/lib/, and there is see libstedit.a and libsteditd.a which is gooed i think. I did find stedit.h in /usr/local/include/wx/stedit/ So all fine i think. Therefore i went to see in config.log, why configure did not find wxstedit. And there i see things like this: configure:4959: checking if wxStEdit (version >= 1.2.0) is available configure:4994: g++ -o conftest -g3 -O0 -Wall -Wundef -Wno-ctor-dtor-privacy -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.6 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA conftest.cc -lstedit -L/usr/local/lib -pthread -L/usr/X11R6/lib /usr/local/lib/libwx_gtk2d_stc-2.6.a /usr/local/lib/libwx_gtk2d_xrc-2.6.a /usr/local/lib/libwx_gtk2d_html-2.6.a /usr/local/lib/libwx_gtk2d_adv-2.6.a /usr/local/lib/libwx_based_net-2.6.a /usr/local/lib/libwx_based_xml-2.6.a /usr/local/lib/libwx_gtk2d_core-2.6.a /usr/local/lib/libwx_based-2.6.a -lexpat -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lXinerama -lXxf86vm -lpng -ljpeg -ltiff -lz -ldl -lm >&5 /usr/local/include/wx/stedit/stedit.h:18: error: aggregate 'WXDLLEXPORT wxMenu' has incomplete type and cannot be defined /usr/local/include/wx/stedit/stedit.h:19: error: aggregate 'WXDLLEXPORT wxKeyEvent' has incomplete type and cannot be defined /usr/local/include/wx/stedit/stedit.h:20: error: aggregate 'WXDLLEXPORT wxFindDialogEvent' has incomplete type and cannot be defined /usr/local/include/wx/stedit/stedit.h:21: error: aggregate 'WXDLLEXPORT wxToolBar' has incomplete type and cannot be defined /usr/local/include/wx/stedit/stedit.h:22: error: aggregate 'WXDLLEXPORT wxConfigBase' has incomplete type and cannot be defined /usr/local/include/wx/stedit/stedit.h:23: error: aggregate 'WXDLLEXPORT wxFileHistory' has incomplete type and cannot be defined /usr/local/include/wx-2.6/wx/event.h:1352: error: 'wxMenu' is not a type /usr/local/include/wx-2.6/wx/event.h:1366: error: expected ';' before '*' token /usr/local/include/wx-2.6/wx/event.h:1368: error: expected `;' before 'virtual' /usr/local/include/wx-2.6/wx/event.h:1372: error: expected ';' before '*' token /usr/local/include/wx-2.6/wx/event.h: In constructor 'wxMenuEvent::wxMenuEvent(wxEventType, int, int*)': /usr/local/include/wx-2.6/wx/event.h:1354: error: 'm_menu' was not declared in this scope /usr/local/include/wx-2.6/wx/event.h: In copy constructor 'wxMenuEvent::wxMenuEvent(const wxMenuEvent&)': /usr/local/include/wx-2.6/wx/event.h:1357: error: 'm_menu' was not declared in this scope /usr/local/include/wx-2.6/wx/event.h:1357: error: 'const class wxMenuEvent' has no member named 'm_menu' /usr/local/include/wx-2.6/wx/event.h: At global scope: /usr/local/include/wx-2.6/wx/event.h:2508: error: cannot declare pointer to 'void' member /usr/local/include/wx-2.6/wx/event.h:2508: error: typedef 'wxCharEventFunction' is initialized (use __typeof__ instead) /usr/local/include/wx-2.6/wx/event.h:2508: error: expected primary-expression before ')' token /usr/local/include/wx-2.6/wx/generic/accel.h:51: error: expected ',' or '...' before '&' token /usr/local/include/wx-2.6/wx/generic/accel.h:52: error: expected ',' or '...' before '&' token And in the end of course: configure:5000: $? = 1 configure: failed program was: | | /* confdefs.h. */ | | #define PACKAGE_NAME "wxLua" | #define PACKAGE_TARNAME "wxlua" | #define PACKAGE_VERSION "0" | #define PACKAGE_STRING "wxLua 0" | #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]" | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | /* end confdefs.h. */ | #include <wx/stedit/stedit.h> | int | main () | { | | wxSTEditor dummy; | | // version check | #if defined(STE_MAJOR_VERSION) && defined(STE_MINOR_VERSION) && defined(STE_RELEASE_VERSION) | #if (STE_MAJOR_VERSION > (1) || (STE_MAJOR_VERSION == (1) && STE_MINOR_VERSION > (2)) || (STE_MAJOR_VERSION == (1) && STE_MINOR_VERSION == (2) && STE_RELEASE_VERSION >= (0))) | // this component is recent enough | #else | #error wxStEdit is too old ! At least version 1.2.0 is required | #endif | #else | #error wxStEdit does not define its version symbols STE_MAJOR_VERSION, STE_MINOR_VERSION, STE_RELEASE_VERSION | #endif | | ; | return 0; | } | Is this also my fault, or is something wrong? Thanks, Klaas John Labenski wrote: > > >>I find it hard to believe myself, but checking it again it looks like >>there is a difference here?? >>Do you have a switch somewhere in the binding generator? > > > No difference between platforms and no switch. > -- Unclassified ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wxlua-users mailing list Wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users