Hi, I am trying to compile and link wxstedit ( as from CVS ). Can somebody confirm it compile and links? ( ./configure make make install )
But it does not link the sample. And it looks the linking line is wrong and what i see build in ./lib, looks unicode lib, which i don't understand, because i don't have that one compiled on wxWidgets. Down here all i can think of. What can be wrong? ( BTW wxLua does compile and link, of course without wxstedit, but it does find styled text control etc. So i think my wxWidgets install is fine) Klaas [EMAIL PROTECTED] wxstedit]$ wx-config --libs -L/usr/local/lib -pthread /usr/local/lib/libwx_gtk2d_xrc-2.6.a /usr/local/lib/libwx_gtk2d_qa-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_gtk2d_core-2.6.a /usr/local/lib/libwx_based_xml-2.6.a /usr/local/lib/libwx_based_net-2.6.a /usr/local/lib/libwx_based-2.6.a -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lXinerama -lXxf86vm -lpng -ljpeg -ltiff -lexpat -lz -ldl -lm ---------------------------------------------------------------- Configuration for MYCOMP 1.0 successfully completed. Summary of main configuration settings for MYCOMP: - DEBUG build - ANSI mode - STATIC mode The wxWidgets build which will be used by MYCOMP 1.0 has the following settings: - DEBUG build - ANSI mode - STATIC mode - VERSION: 2.6.3 - PORT: gtk (with GTK+ 2.x) Now, just run make. ---------------------------------------------------------------- [EMAIL PROTECTED] wxstedit]$ ls ./lib CVS libwx_gtk2ud_stedit-2.6.a Readme.txt [EMAIL PROTECTED] wxstedit]$ make g++ -o samples/stedit/wxstedit wxstedit_wxstedit.o -L./lib -L./lib -L/usr/local/lib -pthread /usr/local/lib/libwx_gtk2d_core-2.6.a /usr/local/lib/libwx_based-2.6.a -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lXinerama -lXxf86vm -lpng -ljpeg -ltiff -lz -ldl -lm -lwx_gtk2ud_stedit-2.6 wxstedit_wxstedit.o: In function `wxStEditApp::CreateShell()': ././samples/stedit/wxstedit.cpp:436: undefined reference to `wxStyledTextCtrl::TextWidth(int, wxString const&)' wxstedit_wxstedit.o: In function `wxStEditApp::OnMenuEvent(wxCommandEvent&)': ././samples/stedit/wxstedit.cpp:457: undefined reference to `wxHtmlWindow::SetPage(wxString const&)' ././samples/stedit/wxstedit.cpp:471: undefined reference to `wxHtmlWindow::SetPage(wxString const&)' wxstedit_wxstedit.o: In function `wxHtmlWindow': /usr/local/include/wx-2.6/wx/html/htmlwin.h:77: undefined reference to `vtable for wxHtmlWindow' /usr/local/include/wx-2.6/wx/html/htmlwin.h:78: undefined reference to `wxHtmlWindow::Init()' /usr/local/include/wx-2.6/wx/html/htmlwin.h:79: undefined reference to `wxHtmlWindow::Create(wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&)' wxstedit_wxstedit.o: In function `wxStyledTextCtrl': /usr/local/include/wx-2.6/wx/stc/stc.h:1758: undefined reference to `vtable for wxStyledTextCtrl' wxstedit_wxstedit.o: In function `wxSTEditor': ------------------------------------------------------------------------- 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