From: klaas.holwerda <kho...@xs...> - 2006-10-23 22:04:54
|
Hi John, I did the following, to see if the latest produced libwx_gtk2d_stedit-2.6.a might work with wxLua: cd /usr/local/lib cp libwx_gtk2d_stedit-2.6.a libstedit.a Then i cleaned wxLua ( make clean), and next compiled again. I did configure, but i have they idea wxLua is still looking for libstedit.a and not libwx_gtk2d_stedit-2.6.a. Same for the include files, which are in /usr/local/wx/stedit, and not in /usr/local/wx-2.6?? I also copied the include files to the same /usr/local/include/wx/stedit, if they are not here there is complains, so somehow it finds these files, although i don't see -I/usr/local/include/wx and only -I/usr/local/include/wx-2.6?? So i thought this should work, as it did yesterday with the old wxstedit, or at least give the same linking errors. This is what i get, much better, not yet perfect. Something changed with wxSTEditorFrame::UpdateFileListBox() ? If you can make sence of this wxSTEditorFrame::UpdateFileListBox(), i think we can then conclude that there something with the sample linking in wxstedit, and not so much with the library itself because it works almost for wxLua in the latest wxstedit CVS. Klaas. [klaas@localhost wxLua]$ make (cd ./modules/ && make ) make[1]: Entering directory `/home/klaas/soft/wxLua/modules' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/klaas/soft/wxLua/modules' (cd ./apps/ && make ) make[1]: Entering directory `/home/klaas/soft/wxLua/apps' g++ -o ../bin/wxlua app_wxlua_wxlua.o app_wxlua_lconsole.o -L../lib -lwxlua_gtk2d_wxlua-2.6 -lwxlua_gtk2d_wxbindstc-2.6 -lwxlua_gtk2d_wxbind-2.6 -lwxlua_gtk2d_wxluasocket-2.6 -lwxlua_gtk2d_wxluadebug-2.6 -lwxlua_gtk2d_lua-2.6 -lstedit -L/usr/local/lib -pthread /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 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lXinerama -lXxf86vm -lpng -ljpeg -ltiff -lz -ldl -lm .././bk-deps g++ -c -o app_wxluaedit_wxledit.o -I../modules -I./.. -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 -DNO_GCC_PRAGMA -I/include -g3 -O0 -Wall -Wundef -Wno-ctor-dtor-privacy ../apps/wxluaedit/src/wxledit.cpp .././bk-deps g++ -c -o app_wxluaedit_wxluaedit.o -I../modules -I./.. -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 -DNO_GCC_PRAGMA -I/include -g3 -O0 -Wall -Wundef -Wno-ctor-dtor-privacy ../apps/wxluaedit/src/wxluaedit.cpp g++ -o ../bin/wxluaedit app_wxluaedit_wxledit.o app_wxluaedit_wxluaedit.o -L../lib -lwxlua_gtk2d_wxlua-2.6 -lwxlua_gtk2d_wxbindstc-2.6 -lwxlua_gtk2d_wxbind-2.6 -lwxlua_gtk2d_wxluasocket-2.6 -lwxlua_gtk2d_wxluadebug-2.6 -lwxlua_gtk2d_lua-2.6 -lstedit -lstedit -L/usr/local/lib -pthread /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 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lXinerama -lXxf86vm -lpng -ljpeg -ltiff -lz -ldl -lm app_wxluaedit_wxluaedit.o:(.rodata._ZTV16wxLuaEditorFrame[vtable for wxLuaEditorFrame]+0x374): undefined reference to `wxSTEditorFrame::UpdateFileListBox()' collect2: ld returned 1 exit status make[1]: *** [../bin/wxluaedit] Error 1 make[1]: Leaving directory `/home/klaas/soft/wxLua/apps' make: *** [apps] Error 2 [klaas@localhost wxLua]$ John Labenski wrote: > On 10/23/06, klaas.holwerda <kho...@xs...> wrote: > >> Hi John, >> |