Sorry about the delay, you're right that the problem is the linking order. I got tyhe official wxWidgets 2.6.3 compiled everything as static release libs and I get the same errors, not linking to wxNumberEntryDialog for example.
The problem is that the configure generated Makefile puts the stedit lib after the WX_LIBS and this is wrong. Here is the right way to do it in the generated Makefile, ./samples/stedit/wxstedit$(EXEEXT): $(WXSTEDIT_OBJECTS) $(__wxstedit___win32rc) $(__stedit_lib___depname) $(CXX) -o $@ $(WXSTEDIT_OBJECTS) -L./lib $(LDFLAGS) -L./lib $(LDFLAGS_GUI) -lwx_$(WX_PORT_WITHVERSION)$(WXLIBPOSTFIX)_stedit-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR) $(WX_LIBS) These two libs have been swapped so WX_LIBS comes last. -lwx_$(WX_PORT_WITHVERSION)$(WXLIBPOSTFIX)_stedit-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR) $(WX_LIBS) I'm trying to figure out where this comes from, but so far I cannot tell where to fix it just yet. I see that the problem is also in Makefile.in so this means that bakefile is creating the problem, I'll keep looking. As a temp fix I'll commit Makefile.in with the order reversed. Anyway, with this simple fix you can use static libs if you like. If I understand correctly, aren't shared libs faster to compile stuff locally since the linker stage takes a little less time? Anyway, that's the reason why I make shared libs if I'm only going to use the program on my own machine, if this is wrong I'd like to know. Once I get the static libs worked out I'll try it with wxLua. I did get wxLua to work nicely last night, but I had to specify everything for it to find wxStEdit, see wxLua's configure --help. configure ... --with-wxstedit-prefix=PATH --with-wxstedit-lib=NAME Regards, John Labenski ------------------------------------------------------------------------- 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 _______________________________________________ wxCode-users mailing list wxCode-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxcode-users