You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
(5) |
Apr
(7) |
May
(11) |
Jun
(19) |
Jul
(9) |
Aug
(5) |
Sep
(6) |
Oct
(18) |
Nov
(9) |
Dec
(20) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(8) |
Feb
(1) |
Mar
(5) |
Apr
(1) |
May
(1) |
Jun
(73) |
Jul
(128) |
Aug
(39) |
Sep
(91) |
Oct
(24) |
Nov
(42) |
Dec
(37) |
2006 |
Jan
(8) |
Feb
(22) |
Mar
(15) |
Apr
(44) |
May
(13) |
Jun
(9) |
Jul
(19) |
Aug
(35) |
Sep
(28) |
Oct
(53) |
Nov
(19) |
Dec
(29) |
2007 |
Jan
(28) |
Feb
(37) |
Mar
(86) |
Apr
(14) |
May
(48) |
Jun
(2) |
Jul
(20) |
Aug
(19) |
Sep
(19) |
Oct
(8) |
Nov
(11) |
Dec
(11) |
2008 |
Jan
(3) |
Feb
(1) |
Mar
(22) |
Apr
(7) |
May
(3) |
Jun
|
Jul
(16) |
Aug
(10) |
Sep
(5) |
Oct
(3) |
Nov
(24) |
Dec
(9) |
2009 |
Jan
(14) |
Feb
(4) |
Mar
(16) |
Apr
(13) |
May
(22) |
Jun
(3) |
Jul
(3) |
Aug
(8) |
Sep
(20) |
Oct
(18) |
Nov
(5) |
Dec
(11) |
2010 |
Jan
(4) |
Feb
(4) |
Mar
(7) |
Apr
(5) |
May
(41) |
Jun
(15) |
Jul
(3) |
Aug
(2) |
Sep
(9) |
Oct
(7) |
Nov
(8) |
Dec
(3) |
2011 |
Jan
(28) |
Feb
(29) |
Mar
(3) |
Apr
(7) |
May
(3) |
Jun
(1) |
Jul
(1) |
Aug
(2) |
Sep
|
Oct
(4) |
Nov
(7) |
Dec
|
2012 |
Jan
(3) |
Feb
(4) |
Mar
(3) |
Apr
(3) |
May
(2) |
Jun
(2) |
Jul
(3) |
Aug
(3) |
Sep
(2) |
Oct
(3) |
Nov
|
Dec
(1) |
2013 |
Jan
|
Feb
|
Mar
(4) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
(7) |
Dec
(5) |
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(5) |
Dec
|
2015 |
Jan
(7) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2019 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: klaas.holwerda <kho...@xs...> - 2006-10-23 21:32:14
|
Hi John, John Labenski wrote: > Ok, your lib built fine. > > Yes its a linking problem. I did set LD_LIBRAYPATH too, but no difference. > I don't see any errors from not finding the libs, so I don't > understand the problem. Do all these libs exist? Try this in the > wxWidgets lib dir to see if you have this symbol in any of them. > > $grep wxSpinCtrl *.a > Matches several libraries ( adv, core, html,xrc, + the wxlua ones ). Understand, wxLua did build yesterday with wxStEdit1.2.1 , so did wxArt2D, i think my wxWidgets install is oke. But i don't have a clue what i am doing wrong. Maybe its the order of the libraries linking, this might be different from stedit1.2.1. I remember this is sometimes a problem. For instance on cygwin, it was a nightmare. I tried some things already by copying the linking like and changing the order like that, but no difference sofar. What linux do you use and what gcc? I have fedora 5: [klaas@localhost wxstedit]$ gcc --version gcc (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > >> ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stedit.o): In function >> `__static_initialization_and_destruction_0': >> ././src/stedit.cpp:175: undefined reference to `wxEVT_COMMAND_FIND' >> ././src/stedit.cpp:175: undefined reference to `wxEVT_COMMAND_FIND_NEXT' >> ././src/stedit.cpp:175: undefined reference to `wxEVT_COMMAND_FIND_REPLACE' >> ././src/stedit.cpp:175: undefined reference to >> `wxEVT_COMMAND_FIND_REPLACE_ALL' >> ././src/stedit.cpp:175: undefined reference to `wxEVT_COMMAND_FIND_CLOSE' >> ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stedit.o): In function >> `wxSTEditor::ShowGotoLineDialog()': >> ././src/stedit.cpp:3539: undefined reference to >> `wxGetNumberFromUser(wxString const&, wxString const&, wxString const&, >> long, long, long, wxWindow*, wxPoint const&)' >> > > These are all pretty generic wxWidgets things that are part of core, > base, or adv (dunno which, but they're definitely in one of them). I > can't understand why there would be a problem? I use shared libs by > the way. > Maybe it is a debug/release problem ?? I did compile wxWidgets in debug and static. > >> ././src/stedlgs.cpp:206: undefined reference to `wxSpinCtrl::ms_classInfo' >> ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stedlgs_wdr.o): In function >> `wxSpinCtrl': >> > > I know that this means that you're not linking to the compiled > wxSpinCtrl (later you have the same problem with the > wxSplitterWindow). Where are these compiled to for you? > They or in /usr/local/lib which is normal after compiling and installing. > ============================== > > For example with my shared libs in the wxWidgets/lib dir > > [klaas@localhost lib]$ strings libwx_gtk2d_core-2.6.a| grep wxSpinCtrl _ZNK10wxSpinCtrl15UseGTKStyleBaseEv _ZNK10wxSpinCtrl12GetClassInfoEv _ZN10wxSpinCtrl12ms_classInfoE _ZNK10wxSpinCtrl13GetEventTableEv _ZN10wxSpinCtrl13sm_eventTableE _ZNK10wxSpinCtrl17GetEventHashTableEv _ZN10wxSpinCtrl17sm_eventHashTableE _ZN10wxSpinCtrlD0Ev _ZTV10wxSpinCtrl _ZN10wxSpinCtrlD1Ev _ZN10wxSpinCtrl14wxCreateObjectEv _ZN10wxSpinCtrl20sm_eventTableEntriesE _ZN10wxSpinCtrl6OnCharER10wxKeyEvent _ZN10wxSpinCtrl25GetClassDefaultAttributesE15wxWindowVariant _ZNK10wxSpinCtrl13DoGetBestSizeEv _ZN10wxSpinCtrl14IsOwnGtkWindowEP12_GdkDrawable _ZN10wxSpinCtrl8SetRangeEii _ZN10wxSpinCtrl12SetSelectionEll _ZNK10wxSpinCtrl8GetValueEv _ZNK10wxSpinCtrl6GetMaxEv _ZNK10wxSpinCtrl6GetMinEv _ZN10wxSpinCtrl15GtkEnableEventsEv _ZN10wxSpinCtrl16GtkDisableEventsEv _ZN10wxSpinCtrl8SetValueEi _ZN10wxSpinCtrl8SetValueERK8wxString _ZN10wxSpinCtrl6CreateEP8wxWindowiRK8wxStringRK7wxPointRK6wxSizeliiiS4_ _ZN10wxSpinCtrlC1Ev _ZTI10wxSpinCtrl _ZTS10wxSpinCtrl _ZN10wxSpinCtrlC1EP8wxWindowiRK8wxStringRK7wxPointRK6wxSizeliiiS4_ __ZN10wxSpinCtrl12ms_classInfoE a_ZN10wxSpinCtrl20sm_eventTableEntriesE a_ZN10wxSpinCtrl13sm_eventTableE a_ZN10wxSpinCtrl17sm_eventHashTableE j_ZN10wxSpinCtrl6CreateEP8wxWindowiRK8wxStringRK7wxPointRK6wxSizeliiiS4_ _ZN10wxSpinCtrl8SetValueERK8wxString _ZN10wxSpinCtrl12SetSelectionEll _ZNK10wxSpinCtrl8GetValueEv _ZN10wxSpinCtrl8SetValueEi _ZN10wxSpinCtrl8SetRangeEii _ZNK10wxSpinCtrl6GetMinEv _ZNK10wxSpinCtrl6GetMaxEv _ZN10wxSpinCtrl25GetClassDefaultAttributesE15wxWindowVariant _ZN10wxSpinCtrl6OnCharER10wxKeyEvent _ZN10wxSpinCtrl14IsOwnGtkWindowEP12_GdkDrawable _ZN10wxSpinCtrl16GtkDisableEventsEv _ZN10wxSpinCtrl15GtkEnableEventsEv _ZNK10wxSpinCtrl13DoGetBestSizeEv P_ZNK10wxSpinCtrl15UseGTKStyleBaseEv __ZNK10wxSpinCtrl12GetClassInfoEv __ZN10wxSpinCtrl14wxCreateObjectEv a_ZNK10wxSpinCtrl13GetEventTableEv a_ZNK10wxSpinCtrl17GetEventHashTableEv ~wxSpinCtrl _GLOBAL__I__ZN10wxSpinCtrl12ms_classInfoE wxSpinCtrl wxSpinCtrl creation failed 10wxSpinCtrl wxSpinCtrl::UseGTKStyleBase wxSpinCtrl::GetClassInfo wxSpinCtrl::GetEventTable wxSpinCtrl::GetEventHashTable wxSpinCtrl::~wxSpinCtrl wxSpinCtrl::~wxSpinCtrl wxSpinCtrl::GetClassDefaultAttributes wxSpinCtrl::DoGetBestSize wxSpinCtrl::IsOwnGtkWindow wxSpinCtrl::OnChar wxSpinCtrl::SetRange wxSpinCtrl::SetSelection wxSpinCtrl::GetValue wxSpinCtrl::GetMax wxSpinCtrl::GetMin wxSpinCtrl::GtkEnableEvents wxSpinCtrl::GtkDisableEvents wxSpinCtrl::SetValue wxSpinCtrl::SetValue wxSpinCtrl::Create wxSpinCtrl::wxSpinCtrl wxSpinCtrl::wxCreateObject wxSpinCtrl::ms_classInfo wxSpinCtrl::sm_eventTableEntries wxSpinCtrl::sm_eventTable wxSpinCtrl::sm_eventHashTable wxSpinCtrl .text._ZNK10wxSpinCtrl15UseGTKStyleBaseEv .rel.text._ZN10wxSpinCtrlD0Ev .rel.text._ZN10wxSpinCtrlD1Ev .rel.text._ZN10wxSpinCtrlC1Ev .rel.rodata._ZTV10wxSpinCtrl .rodata._ZTS10wxSpinCtrl .rel.rodata._ZTI10wxSpinCtrl _GLOBAL__I__ZN10wxSpinCtrl12ms_classInfoE _ZNK10wxSpinCtrl15UseGTKStyleBaseEv _ZNK10wxSpinCtrl12GetClassInfoEv _ZN10wxSpinCtrl12ms_classInfoE _ZNK10wxSpinCtrl13GetEventTableEv _ZN10wxSpinCtrl13sm_eventTableE _ZNK10wxSpinCtrl17GetEventHashTableEv _ZN10wxSpinCtrl17sm_eventHashTableE _ZN10wxSpinCtrlD0Ev _ZTV10wxSpinCtrl _ZN10wxSpinCtrlD1Ev _ZN10wxSpinCtrl14wxCreateObjectEv _ZN10wxSpinCtrl20sm_eventTableEntriesE _ZN10wxSpinCtrl6OnCharER10wxKeyEvent _ZN10wxSpinCtrl25GetClassDefaultAttributesE15wxWindowVariant _ZNK10wxSpinCtrl13DoGetBestSizeEv _ZN10wxSpinCtrl14IsOwnGtkWindowEP12_GdkDrawable _ZN10wxSpinCtrl8SetRangeEii _ZN10wxSpinCtrl12SetSelectionEll _ZNK10wxSpinCtrl8GetValueEv _ZNK10wxSpinCtrl6GetMaxEv _ZNK10wxSpinCtrl6GetMinEv _ZN10wxSpinCtrl15GtkEnableEventsEv _ZN10wxSpinCtrl16GtkDisableEventsEv _ZN10wxSpinCtrl8SetValueEi _ZN10wxSpinCtrl8SetValueERK8wxString _ZN10wxSpinCtrl6CreateEP8wxWindowiRK8wxStringRK7wxPointRK6wxSizeliiiS4_ _ZN10wxSpinCtrlC1Ev _ZTI10wxSpinCtrl _ZTS10wxSpinCtrl wxSpinCtrl _ZN10wxSpinCtrl20sm_eventTableEntriesE _ZN10wxSpinCtrl13sm_eventTableE _ZN10wxSpinCtrl12ms_classInfoE _ZN10wxSpinCtrl12ms_classInfoE wxSpinCtrl wxSpinCtrl::wxSpinCtrl wxSpinCtrl _ZN10wxSpinCtrl20sm_eventTableEntriesE _ZN10wxSpinCtrl13sm_eventTableE .rel.text._ZN10wxSpinCtrlC1EP8wxWindowiRK8wxStringRK7wxPointRK6wxSizeliiiS4_ _ZN10wxSpinCtrlC1EP8wxWindowiRK8wxStringRK7wxPointRK6wxSizeliiiS4_ _ZTV10wxSpinCtrl _ZN10wxSpinCtrl6CreateEP8wxWindowiRK8wxStringRK7wxPointRK6wxSizeliiiS4_ _ZN10wxSpinCtrl12SetSelectionEll [klaas@localhost lib]$ [klaas@localhost lib]$ strings libwx_gtk2d_adv-2.6.a| grep wxSpinCtrl _ZN10wxSpinCtrlC1EP8wxWindowiRK8wxStringRK7wxPointRK6wxSizeliiiS4_ _ZN10wxSpinCtrlC1EP8wxWindowiRK8wxStringRK7wxPointRK6wxSizeliiiS4_ wxSpinCtrl wxSpinCtrl::wxSpinCtrl wxSpinCtrl _ZN10wxSpinCtrl20sm_eventTableEntriesE _ZN10wxSpinCtrl13sm_eventTableE .rel.text._ZN10wxSpinCtrlC1EP8wxWindowiRK8wxStringRK7wxPointRK6wxSizeliiiS4_ _ZN10wxSpinCtrl8SetValueERK8wxString _ZN10wxSpinCtrlC1EP8wxWindowiRK8wxStringRK7wxPointRK6wxSizeliiiS4_ _ZTV10wxSpinCtrl _ZN10wxSpinCtrl6CreateEP8wxWindowiRK8wxStringRK7wxPointRK6wxSizeliiiS4_ wxSpinCtrl wxSpinCtrl::wxSpinCtrl _ZN10wxSpinCtrl20sm_eventTableEntriesE _ZN10wxSpinCtrl13sm_eventTableE wxSpinCtrl .rel.text._ZN10wxSpinCtrlC1EP8wxWindowiRK8wxStringRK7wxPointRK6wxSizeliiiS4_ _ZN10wxSpinCtrl12SetSelectionEll _ZN10wxSpinCtrlC1EP8wxWindowiRK8wxStringRK7wxPointRK6wxSizeliiiS4_ _ZTV10wxSpinCtrl _ZN10wxSpinCtrl6CreateEP8wxWindowiRK8wxStringRK7wxPointRK6wxSizeliiiS4_ [klaas@localhost lib]$ I keep searching, thanks! Klaas |
From: SourceForge.net <no...@so...> - 2006-10-23 20:25:01
|
Bugs item #1583135, was opened at 2006-10-23 13:24 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=462816&aid=1583135&group_id=51305 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: treelistctrl Group: CVS HEAD Status: Open Resolution: None Priority: 5 Private: No Submitted By: Carl Godkin (cgodkin) Assigned to: Otto Wyss (wyo) Summary: assertion in DoNotifyWindowAboutCaptureLost in wxMSW 2.7.1 Initial Comment: I wrote to wx-users about an assert I started getting after we upgraded to wx 2.7.1. I think what I wrote and what Vadim replied explain the problem, so I'll just cut & paste... ---Carl---8<-------------------------------- I'm having trouble with drag and drop now that I've upgraded to wx 2.7.1. I get an assertion when I start to drag an item in my application. Long ago when I was trying to get this behavior going, Otto kindly pointed me at his wyoFiler application where he had implemented drag & drop with a wxTreeListCtrl, which is just what I needed. I just downloaded the latest version of wyoFiler and built it with wxMSW 2.7.1 and that application crashes the same way when starting to drag an item. Anyway, both applications assert when I call wxDropSource::DoDragDrop() with this message: ..\..\src\common\wincmn.cpp(2405): assert "wxAssertFailure" failed in DoNotifyWindowAboutCaptureLost(): window that captured the mouse didn't process wxEVT_MOUSE_CAPTURE_LOST I never heard of this event before and I don't have all that clear an understanding of what I need to do in order to get drag & drop going again in my application. ----Vadim---8<----------------------------- Usually when you capture the mouse you call CaptureMouse() and then, at some later time, ReleaseMouse() and you suppose that you do have the mouse capture in between. Unfortunately, this is too simplistic as your application may also lose capture before you call ReleaseMouse() because, for example, user pressed some special key combination or even because another application popped up a message box unexpectedly. This is what this event notifies you about. And you must handle it as the application should really know whether it really has capture or not (e.g. a control which captures the mouse and loses the capture must snap back to its normal state) and you must not call ReleaseMouse() if you had already lost capture. ---Carl---8<-------------------------------- I simply added an event handler for wxMouseCaptureLostEvent to the wxTreeListCtrl's wxTreeListMainWindow and I no longer get the assertion. The handler does nothing which I think is OK because ReleaseMouse() is always called like this in wxTreeListCtrl: if (HasCapture()) ReleaseMouse(); ------ Thanks! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=462816&aid=1583135&group_id=51305 |
From: John L. <jla...@gm...> - 2006-10-23 19:58:01
|
On 10/23/06, klaas.holwerda <kho...@xs...> wrote: > Hi John, > > I did get the lattest CVS ( removed wxstedit and updated it clean. ). > Did run ./configure and make. > This is what i get down here. I am not sure if setup0.h needs to be > copied on unix to setup.h, but in any case the result seems to be the same. > Wait for 2.8.0 ? :-( No, it should work, I just compiled it using wxWidgets 2.6.x (but from the CVS 2.6 branch though) and it compiles fine using GTK2, unicode, and shared libs (not static). > checking for wxWidgets version >= 2.4.0... yes (version 2.6.3) > checking if wxGTK uses GTK 2.x (instead of GTK 1.x)... yes ... > The wxWidgets build which will be used by wxstedit 1.2.3 > has the following settings: > - DEBUG build > - ANSI mode > - STATIC mode > - VERSION: 2.6.3 > - PORT: gtk (with GTK+ 2.x) > > Now, just run make. > ---------------------------------------------------------------- > > [klaas@localhost wxstedit]$ make > ./bk-deps g++ -c -o stedit_lib_stedit.o -I./include -I/contrib/include > -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 -g3 -O0 -Wall > -Wundef -Wno-ctor-dtor-privacy ././src/stedit.cpp ... > rm -f lib/libwx_gtk2d_stedit-2.6.a > ar rcu lib/libwx_gtk2d_stedit-2.6.a stedit_lib_stedit.o > stedit_lib_stedlgs.o stedit_lib_stedlgs_wdr.o stedit_lib_steexprt.o > stedit_lib_stefindr.o stedit_lib_steframe.o stedit_lib_stelangs.o > stedit_lib_stemenum.o stedit_lib_stenoteb.o stedit_lib_steopts.o > stedit_lib_steprefs.o stedit_lib_steprint.o stedit_lib_steshell.o > stedit_lib_stesplit.o stedit_lib_stestyls.o > ranlib lib/libwx_gtk2d_stedit-2.6.a Ok, your lib built fine. > ./bk-deps g++ -c -o wxstedit_wxstedit.o -I./include -I/contrib/include > -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 -g3 -O0 -Wall > -Wundef -Wno-ctor-dtor-privacy ././samples/stedit/wxstedit.cpp > g++ -o samples/stedit/wxstedit wxstedit_wxstedit.o -L./lib -L./lib > -L/usr/local/lib -pthread /usr/local/lib/libwx_based-2.6.a > /usr/local/lib/libwx_gtk2d_core-2.6.a > /usr/local/lib/libwx_gtk2d_adv-2.6.a > /usr/local/lib/libwx_gtk2d_html-2.6.a > /usr/local/lib/libwx_gtk2d_stc-2.6.a > /usr/local/lib/libwx_gtk2d_core-2.6.a /usr/local/lib/libwx_based-2.6.a > -pthread -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_gtk2d_stedit-2.6 I don't see any errors from not finding the libs, so I don't understand the problem. Do all these libs exist? Try this in the wxWidgets lib dir to see if you have this symbol in any of them. $grep wxSpinCtrl *.a > ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stedit.o): In function > `__static_initialization_and_destruction_0': > ././src/stedit.cpp:175: undefined reference to `wxEVT_COMMAND_FIND' > ././src/stedit.cpp:175: undefined reference to `wxEVT_COMMAND_FIND_NEXT' > ././src/stedit.cpp:175: undefined reference to `wxEVT_COMMAND_FIND_REPLACE' > ././src/stedit.cpp:175: undefined reference to > `wxEVT_COMMAND_FIND_REPLACE_ALL' > ././src/stedit.cpp:175: undefined reference to `wxEVT_COMMAND_FIND_CLOSE' > ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stedit.o): In function > `wxSTEditor::ShowGotoLineDialog()': > ././src/stedit.cpp:3539: undefined reference to > `wxGetNumberFromUser(wxString const&, wxString const&, wxString const&, > long, long, long, wxWindow*, wxPoint const&)' These are all pretty generic wxWidgets things that are part of core, base, or adv (dunno which, but they're definitely in one of them). I can't understand why there would be a problem? I use shared libs by the way. > ././src/stedlgs.cpp:206: undefined reference to `wxSpinCtrl::ms_classInfo' > ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stedlgs_wdr.o): In function > `wxSpinCtrl': I know that this means that you're not linking to the compiled wxSpinCtrl (later you have the same problem with the wxSplitterWindow). Where are these compiled to for you? ============================== For example with my shared libs in the wxWidgets/lib dir [john@amd2600 lib]$ grep wxSpinCtrl * Binary file libwx_gtk2ud_adv-2.6.so matches Binary file libwx_gtk2ud_adv-2.6.so.0 matches Binary file libwx_gtk2ud_adv-2.6.so.0.3.1 matches Binary file libwx_gtk2ud_core-2.6.so matches Binary file libwx_gtk2ud_core-2.6.so.0 matches Binary file libwx_gtk2ud_core-2.6.so.0.3.1 matches Binary file libwx_gtk2ud_html-2.6.so matches Binary file libwx_gtk2ud_html-2.6.so.0 matches Binary file libwx_gtk2ud_html-2.6.so.0.3.1 matches Binary file libwx_gtk2ud_xrc-2.6.so matches Binary file libwx_gtk2ud_xrc-2.6.so.0 matches Binary file libwx_gtk2ud_xrc-2.6.so.0.3.1 matches Ok, so it's in core and adv, html, xrc just reference it, the full list of functions in wxSpinCtrl are actually in core [john@amd2600 lib]$ strings libwx_gtk2ud_core-2.6.so |grep wxSpinCtrl _ZNK10wxSpinCtrl15UseGTKStyleBaseEv _ZNK10wxSpinCtrl12GetClassInfoEv _ZN10wxSpinCtrl12ms_classInfoE _ZNK10wxSpinCtrl13GetEventTableEv _ZN10wxSpinCtrl13sm_eventTableE _ZNK10wxSpinCtrl17GetEventHashTableEv _ZN10wxSpinCtrl17sm_eventHashTableE _ZN10wxSpinCtrlD0Ev _ZTV10wxSpinCtrl _ZN10wxSpinCtrlD1Ev _ZN10wxSpinCtrl14wxCreateObjectEv _ZN10wxSpinCtrl20sm_eventTableEntriesE _ZN10wxSpinCtrl6OnCharER10wxKeyEvent _ZN10wxSpinCtrl25GetClassDefaultAttributesE15wxWindowVariant _ZNK10wxSpinCtrl13DoGetBestSizeEv _ZN10wxSpinCtrl14IsOwnGtkWindowEP12_GdkDrawable _ZN10wxSpinCtrl8SetRangeEii _ZN10wxSpinCtrl12SetSelectionEll _ZNK10wxSpinCtrl8GetValueEv _ZNK10wxSpinCtrl6GetMaxEv _ZNK10wxSpinCtrl6GetMinEv _ZN10wxSpinCtrl15GtkEnableEventsEv _ZN10wxSpinCtrl16GtkDisableEventsEv _ZN10wxSpinCtrl8SetValueEi _ZN10wxSpinCtrl8SetValueERK8wxString _ZN10wxSpinCtrl6CreateEP8wxWindowiRK8wxStringRK7wxPointRK6wxSizeliiiS4_ _ZN10wxSpinCtrlC1Ev _ZTI10wxSpinCtrl _ZTS10wxSpinCtrl _ZN10wxSpinCtrlC1EP8wxWindowiRK8wxStringRK7wxPointRK6wxSizeliiiS4_ @10wxSpinCtrl This just shows the wxSpinCtrl functions called from somewhere in the adv lib. [john@amd2600 lib]$ strings libwx_gtk2ud_adv-2.6.so |grep wxSpinCtrl _ZN10wxSpinCtrl8SetValueERK8wxString _ZN10wxSpinCtrlC1EP8wxWindowiRK8wxStringRK7wxPointRK6wxSizeliiiS4_ _ZTV10wxSpinCtrl _ZN10wxSpinCtrl6CreateEP8wxWindowiRK8wxStringRK7wxPointRK6wxSizeliiiS4_ _ZN10wxSpinCtrl12SetSelectionEll Regards, John Labenski |
From: klaas.holwerda <kho...@xs...> - 2006-10-23 19:27:58
|
Hi John, I did get the lattest CVS ( removed wxstedit and updated it clean. ). Did run ./configure and make. This is what i get down here. I am not sure if setup0.h needs to be=20 copied on unix to setup.h, but in any case the result seems to be the sam= e. Wait for 2.8.0 ? :-( Klaas [klaas@localhost wxstedit]$ ./configure checking for the --enable-debug option... will be automatically detected checking for the --enable-unicode option... will be automatically detecte= d checking for the --enable-shared option... will be automatically detected checking for the --with-motif option... will be automatically detected checking for the --with-gtk option... will be automatically detected checking for the --with-x11 option... will be automatically detected checking for the --with-mac option... will be automatically detected checking for the --with-mgl option... will be automatically detected checking for the --with-msw option... will be automatically detected checking for the --with-wxshared option... will be automatically detected checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for ranlib... ranlib checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for wx-config... /usr/local/bin/wx-config checking for wxWidgets version >=3D 2.4.0... yes (version 2.6.3) checking for wxWidgets static library... yes checking if wxWidgets was built with UNICODE enabled... no checking if wxWidgets was built in DEBUG mode... yes checking if wxWidgets was built in STATIC mode... yes checking if wxWidgets port is wxGTK... yes checking if wxWidgets port is wxMotif... no checking if wxWidgets port is wxMac... no checking if wxWidgets port is wxX11... no checking if wxWidgets port is wxMGL... no checking if wxWidgets port is wxMSW... no checking if wxGTK uses GTK 2.x (instead of GTK 1.x)... yes checking for ranlib... (cached) ranlib checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for ar... ar checking for strip... strip checking for nm... nm checking if make is GNU make... yes checking for dependency tracking method... gcc configure: creating ./config.status config.status: creating Makefile ---------------------------------------------------------------- Configuration for wxstedit 1.2.3 successfully completed. Summary of main configuration settings for wxstedit: - DEBUG build - ANSI mode - STATIC mode The wxWidgets build which will be used by wxstedit 1.2.3 has the following settings: - DEBUG build - ANSI mode - STATIC mode - VERSION: 2.6.3 - PORT: gtk (with GTK+ 2.x) Now, just run make. ---------------------------------------------------------------- [klaas@localhost wxstedit]$ make ./bk-deps g++ -c -o stedit_lib_stedit.o -I./include -I/contrib/include=20 -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.6=20 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__=20 -D_FILE_OFFSET_BITS=3D64 -D_LARGE_FILES -DNO_GCC_PRAGMA -g3 -O0 -Wall=20 -Wundef -Wno-ctor-dtor-privacy ././src/stedit.cpp ./bk-deps g++ -c -o stedit_lib_stedlgs.o -I./include -I/contrib/include=20 -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.6=20 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__=20 -D_FILE_OFFSET_BITS=3D64 -D_LARGE_FILES -DNO_GCC_PRAGMA -g3 -O0 -Wall=20 -Wundef -Wno-ctor-dtor-privacy ././src/stedlgs.cpp ./bk-deps g++ -c -o stedit_lib_stedlgs_wdr.o -I./include=20 -I/contrib/include=20 -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.6=20 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__=20 -D_FILE_OFFSET_BITS=3D64 -D_LARGE_FILES -DNO_GCC_PRAGMA -g3 -O0 -Wall=20 -Wundef -Wno-ctor-dtor-privacy ././src/stedlgs_wdr.cpp ./bk-deps g++ -c -o stedit_lib_steexprt.o -I./include -I/contrib/include=20 -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.6=20 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__=20 -D_FILE_OFFSET_BITS=3D64 -D_LARGE_FILES -DNO_GCC_PRAGMA -g3 -O0 -Wall=20 -Wundef -Wno-ctor-dtor-privacy ././src/steexprt.cpp ././src/steexprt.cpp: In member function =E2=80=98bool=20 wxSTEditorExporter::SaveToTEX(const wxString&)=E2=80=99: ././src/steexprt.cpp:1460: warning: unused variable =E2=80=98titleFullPat= h=E2=80=99 ./bk-deps g++ -c -o stedit_lib_stefindr.o -I./include -I/contrib/include=20 -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.6=20 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__=20 -D_FILE_OFFSET_BITS=3D64 -D_LARGE_FILES -DNO_GCC_PRAGMA -g3 -O0 -Wall=20 -Wundef -Wno-ctor-dtor-privacy ././src/stefindr.cpp QGDict::hashKeyString: Invalid null key QGDict::hashKeyString: Invalid null key QGDict::hashKeyString: Invalid null key ./bk-deps g++ -c -o stedit_lib_steframe.o -I./include -I/contrib/include=20 -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.6=20 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__=20 -D_FILE_OFFSET_BITS=3D64 -D_LARGE_FILES -DNO_GCC_PRAGMA -g3 -O0 -Wall=20 -Wundef -Wno-ctor-dtor-privacy ././src/steframe.cpp ./bk-deps g++ -c -o stedit_lib_stelangs.o -I./include -I/contrib/include=20 -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.6=20 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__=20 -D_FILE_OFFSET_BITS=3D64 -D_LARGE_FILES -DNO_GCC_PRAGMA -g3 -O0 -Wall=20 -Wundef -Wno-ctor-dtor-privacy ././src/stelangs.cpp ././src/stelangs.cpp:1749:5: warning: "STE_USE_LANG_D" is not defined ././src/stelangs.cpp:4866:5: warning: "STE_USE_LANG_D" is not defined ./bk-deps g++ -c -o stedit_lib_stemenum.o -I./include -I/contrib/include=20 -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.6=20 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__=20 -D_FILE_OFFSET_BITS=3D64 -D_LARGE_FILES -DNO_GCC_PRAGMA -g3 -O0 -Wall=20 -Wundef -Wno-ctor-dtor-privacy ././src/stemenum.cpp ./bk-deps g++ -c -o stedit_lib_stenoteb.o -I./include -I/contrib/include=20 -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.6=20 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__=20 -D_FILE_OFFSET_BITS=3D64 -D_LARGE_FILES -DNO_GCC_PRAGMA -g3 -O0 -Wall=20 -Wundef -Wno-ctor-dtor-privacy ././src/stenoteb.cpp ./bk-deps g++ -c -o stedit_lib_steopts.o -I./include -I/contrib/include=20 -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.6=20 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__=20 -D_FILE_OFFSET_BITS=3D64 -D_LARGE_FILES -DNO_GCC_PRAGMA -g3 -O0 -Wall=20 -Wundef -Wno-ctor-dtor-privacy ././src/steopts.cpp ./bk-deps g++ -c -o stedit_lib_steprefs.o -I./include -I/contrib/include=20 -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.6=20 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__=20 -D_FILE_OFFSET_BITS=3D64 -D_LARGE_FILES -DNO_GCC_PRAGMA -g3 -O0 -Wall=20 -Wundef -Wno-ctor-dtor-privacy ././src/steprefs.cpp QGDict::hashKeyString: Invalid null key ./bk-deps g++ -c -o stedit_lib_steprint.o -I./include -I/contrib/include=20 -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.6=20 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__=20 -D_FILE_OFFSET_BITS=3D64 -D_LARGE_FILES -DNO_GCC_PRAGMA -g3 -O0 -Wall=20 -Wundef -Wno-ctor-dtor-privacy ././src/steprint.cpp ./bk-deps g++ -c -o stedit_lib_steshell.o -I./include -I/contrib/include=20 -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.6=20 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__=20 -D_FILE_OFFSET_BITS=3D64 -D_LARGE_FILES -DNO_GCC_PRAGMA -g3 -O0 -Wall=20 -Wundef -Wno-ctor-dtor-privacy ././src/steshell.cpp ./bk-deps g++ -c -o stedit_lib_stesplit.o -I./include -I/contrib/include=20 -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.6=20 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__=20 -D_FILE_OFFSET_BITS=3D64 -D_LARGE_FILES -DNO_GCC_PRAGMA -g3 -O0 -Wall=20 -Wundef -Wno-ctor-dtor-privacy ././src/stesplit.cpp ./bk-deps g++ -c -o stedit_lib_stestyls.o -I./include -I/contrib/include=20 -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.6=20 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__=20 -D_FILE_OFFSET_BITS=3D64 -D_LARGE_FILES -DNO_GCC_PRAGMA -g3 -O0 -Wall=20 -Wundef -Wno-ctor-dtor-privacy ././src/stestyls.cpp rm -f lib/libwx_gtk2d_stedit-2.6.a ar rcu lib/libwx_gtk2d_stedit-2.6.a stedit_lib_stedit.o=20 stedit_lib_stedlgs.o stedit_lib_stedlgs_wdr.o stedit_lib_steexprt.o=20 stedit_lib_stefindr.o stedit_lib_steframe.o stedit_lib_stelangs.o=20 stedit_lib_stemenum.o stedit_lib_stenoteb.o stedit_lib_steopts.o=20 stedit_lib_steprefs.o stedit_lib_steprint.o stedit_lib_steshell.o=20 stedit_lib_stesplit.o stedit_lib_stestyls.o ranlib lib/libwx_gtk2d_stedit-2.6.a ./bk-deps g++ -c -o wxstedit_wxstedit.o -I./include -I/contrib/include=20 -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.6=20 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__=20 -D_FILE_OFFSET_BITS=3D64 -D_LARGE_FILES -DNO_GCC_PRAGMA -g3 -O0 -Wall=20 -Wundef -Wno-ctor-dtor-privacy ././samples/stedit/wxstedit.cpp g++ -o samples/stedit/wxstedit wxstedit_wxstedit.o -L./lib -L./lib=20 -L/usr/local/lib -pthread /usr/local/lib/libwx_based-2.6.a=20 /usr/local/lib/libwx_gtk2d_core-2.6.a=20 /usr/local/lib/libwx_gtk2d_adv-2.6.a=20 /usr/local/lib/libwx_gtk2d_html-2.6.a=20 /usr/local/lib/libwx_gtk2d_stc-2.6.a=20 /usr/local/lib/libwx_gtk2d_core-2.6.a /usr/local/lib/libwx_based-2.6.a=20 -pthread -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0=20 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0=20 -lXinerama -lXxf86vm -lpng -ljpeg -ltiff -lz -ldl -lm -lwx_gtk2d_stedit-2= .6 ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stedit.o): In function=20 `__static_initialization_and_destruction_0': ././src/stedit.cpp:175: undefined reference to `wxEVT_COMMAND_FIND' ././src/stedit.cpp:175: undefined reference to `wxEVT_COMMAND_FIND_NEXT' ././src/stedit.cpp:175: undefined reference to `wxEVT_COMMAND_FIND_REPLAC= E' ././src/stedit.cpp:175: undefined reference to=20 `wxEVT_COMMAND_FIND_REPLACE_ALL' ././src/stedit.cpp:175: undefined reference to `wxEVT_COMMAND_FIND_CLOSE' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stedit.o): In function=20 `wxSTEditor::ShowGotoLineDialog()': ././src/stedit.cpp:3539: undefined reference to=20 `wxGetNumberFromUser(wxString const&, wxString const&, wxString const&,=20 long, long, long, wxWindow*, wxPoint const&)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stedit.o): In function=20 `wxSTEditor::HandleFindDialogEvent(wxFindDialogEvent&)': ././src/stedit.cpp:3128: undefined reference to `wxEVT_COMMAND_FIND' ././src/stedit.cpp:3133: undefined reference to `wxEVT_COMMAND_FIND_NEXT' ././src/stedit.cpp:3140: undefined reference to `wxEVT_COMMAND_FIND' ././src/stedit.cpp:3140: undefined reference to `wxEVT_COMMAND_FIND_NEXT' ././src/stedit.cpp:3218: undefined reference to `wxEVT_COMMAND_FIND_REPLA= CE' ././src/stedit.cpp:3233: undefined reference to=20 `wxEVT_COMMAND_FIND_REPLACE_ALL' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stedit.o): In function=20 `wxSTEditor::ShowSetZoomDialog()': ././src/stedit.cpp:1643: undefined reference to=20 `wxNumberEntryDialog::wxNumberEntryDialog(wxWindow*, wxString const&,=20 wxString const&, wxString const&, long, long, long, wxPoint const&)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stedit.o): In function=20 `wxSTEditor::HandleMenuEvent(wxCommandEvent&)': ././src/stedit.cpp:2755: undefined reference to `wxEVT_COMMAND_FIND_NEXT' ././src/stedit.cpp:2820: undefined reference to=20 `wxGetNumberFromUser(wxString const&, wxString const&, wxString const&,=20 long, long, long, wxWindow*, wxPoint const&)' ././src/stedit.cpp:2830: undefined reference to=20 `wxGetNumberFromUser(wxString const&, wxString const&, wxString const&,=20 long, long, long, wxWindow*, wxPoint const&)' ././src/stedit.cpp:2905: undefined reference to=20 `wxGetNumberFromUser(wxString const&, wxString const&, wxString const&,=20 long, long, long, wxWindow*, wxPoint const&)' ././src/stedit.cpp:2921: undefined reference to=20 `wxGetNumberFromUser(wxString const&, wxString const&, wxString const&,=20 long, long, long, wxWindow*, wxPoint const&)' ././src/stedit.cpp:2936: undefined reference to=20 `wxGetNumberFromUser(wxString const&, wxString const&, wxString const&,=20 long, long, long, wxWindow*, wxPoint const&)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stedit.o): In function=20 `~wxFindDialogEvent': /usr/local/include/wx-2.6/wx/fdrepdlg.h:145: undefined reference to=20 `vtable for wxFindDialogEvent' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stedit.o): In function=20 `wxFindReplaceData': /usr/local/include/wx-2.6/wx/fdrepdlg.h:70: undefined reference to=20 `wxFindReplaceData::Init()' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stedit.o): In function=20 `wxFindDialogEvent': /usr/local/include/wx-2.6/wx/fdrepdlg.h:148: undefined reference to=20 `vtable for wxFindDialogEvent' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stedit.o): In function=20 `~wxNumberEntryDialog': /usr/local/include/wx-2.6/wx/generic/numdlgg.h:36: undefined reference=20 to `vtable for wxNumberEntryDialog' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stedlgs.o): In function=20 `wxSTEditorPrefDialogPagePrefs::SetControlValues()': ././src/stedlgs.cpp:247: undefined reference to `wxSpinCtrl::ms_classInfo= ' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stedlgs.o): In function=20 `wxSTEditorPrefDialogPagePrefs::GetControlValues()': ././src/stedlgs.cpp:206: undefined reference to `wxSpinCtrl::ms_classInfo= ' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stedlgs_wdr.o): In function=20 `wxSpinCtrl': /usr/local/include/wx-2.6/wx/gtk/spinctrl.h:40: undefined reference to=20 `vtable for wxSpinCtrl' /usr/local/include/wx-2.6/wx/gtk/spinctrl.h:41: undefined reference to=20 `wxSpinCtrl::Create(wxWindow*, int, wxString const&, wxPoint const&,=20 wxSize const&, long, int, int, int, wxString const&)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stefindr.o): In function=20 `wxSTEditorFindReplacePanel::Send(wxFindDialogEvent&)': ././src/stefindr.cpp:493: undefined reference to=20 `wxEVT_COMMAND_FIND_REPLACE' ././src/stefindr.cpp:493: undefined reference to=20 `wxEVT_COMMAND_FIND_REPLACE_ALL' ././src/stefindr.cpp:502: undefined reference to `wxEVT_COMMAND_FIND_NEXT= ' ././src/stefindr.cpp:506: undefined reference to `wxEVT_COMMAND_FIND' ././src/stefindr.cpp:513: undefined reference to `wxEVT_COMMAND_FIND' ././src/stefindr.cpp:513: undefined reference to `wxEVT_COMMAND_FIND_NEXT= ' ././src/stefindr.cpp:536: undefined reference to `wxEVT_COMMAND_FIND' ././src/stefindr.cpp:536: undefined reference to `wxEVT_COMMAND_FIND_NEXT= ' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stefindr.o): In function=20 `wxSTEditorFindReplacePanel::OnMarginClick(wxStyledTextEvent&)': ././src/stefindr.cpp:831: undefined reference to `wxEVT_COMMAND_FIND_NEXT= ' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stefindr.o): In function=20 `wxSTEditorFindReplacePanel::SendEvent(int const&)': ././src/stefindr.cpp:472: undefined reference to `wxEVT_COMMAND_FIND_CLOS= E' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stefindr.o): In function=20 `wxSTEditorFindReplaceDialog::OnCloseWindow(wxCloseEvent&)': ././src/stefindr.cpp:897: undefined reference to `wxEVT_COMMAND_FIND_CLOS= E' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stefindr.o): In function=20 `wxSTEditorFindReplacePanel::OnButton(wxCommandEvent&)': ././src/stefindr.cpp:609: undefined reference to `wxEVT_COMMAND_FIND_NEXT= ' ././src/stefindr.cpp:610: undefined reference to=20 `wxEVT_COMMAND_FIND_REPLACE' ././src/stefindr.cpp:611: undefined reference to=20 `wxEVT_COMMAND_FIND_REPLACE' ././src/stefindr.cpp:612: undefined reference to `wxEVT_COMMAND_FIND_NEXT= ' ././src/stefindr.cpp:613: undefined reference to=20 `wxEVT_COMMAND_FIND_REPLACE_ALL' ././src/stefindr.cpp:614: undefined reference to `wxEVT_COMMAND_FIND_CLOS= E' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_steframe.o): In function=20 `wxSTEditorFrame::HandleMenuEvent(wxCommandEvent&)': ././src/steframe.cpp:669: undefined reference to=20 `wxSplitterWindow::Unsplit(wxWindow*)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_steframe.o): In function=20 `wxSTEditorFrame::CreateOptions(wxSTEditorOptions const&)': ././src/steframe.cpp:160: undefined reference to=20 `wxFileHistory::wxFileHistory(unsigned int, int)' ././src/steframe.cpp:194: undefined reference to=20 `wxSplitterWindow::SetMinimumPaneSize(int)' ././src/steframe.cpp:208: undefined reference to=20 `wxSplitterWindow::SetMinimumPaneSize(int)' ././src/steframe.cpp:216: undefined reference to=20 `wxSplitterWindow::Initialize(wxWindow*)' ././src/steframe.cpp:222: undefined reference to=20 `wxSplitterWindow::SetMinimumPaneSize(int)' ././src/steframe.cpp:226: undefined reference to=20 `wxSplitterWindow::Initialize(wxWindow*)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_steframe.o): In function=20 `wxSplitterWindow': /usr/local/include/wx-2.6/wx/generic/splitter.h:65: undefined reference=20 to `vtable for wxSplitterWindow' /usr/local/include/wx-2.6/wx/generic/splitter.h:66: undefined reference=20 to `wxSplitterWindow::Init()' /usr/local/include/wx-2.6/wx/generic/splitter.h:75: undefined reference=20 to `vtable for wxSplitterWindow' /usr/local/include/wx-2.6/wx/generic/splitter.h:76: undefined reference=20 to `wxSplitterWindow::Init()' /usr/local/include/wx-2.6/wx/generic/splitter.h:77: undefined reference=20 to `wxSplitterWindow::Create(wxWindow*, int, wxPoint const&, wxSize=20 const&, long, wxString const&)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_steframe.o): In function=20 `wxSTEditorSplitter': ./include/wx/stedit/stesplit.h:47: undefined reference to=20 `wxSplitterWindow::~wxSplitterWindow()' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stenoteb.o): In function=20 `__static_initialization_and_destruction_0': ././src/stenoteb.cpp:61: undefined reference to `wxEVT_COMMAND_FIND' ././src/stenoteb.cpp:61: undefined reference to `wxEVT_COMMAND_FIND_NEXT' ././src/stenoteb.cpp:61: undefined reference to `wxEVT_COMMAND_FIND_REPLA= CE' ././src/stenoteb.cpp:61: undefined reference to=20 `wxEVT_COMMAND_FIND_REPLACE_ALL' ././src/stenoteb.cpp:61: undefined reference to `wxEVT_COMMAND_FIND_CLOSE= ' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stenoteb.o): In function=20 `wxSTEditorNotebook::OnFindDialog(wxFindDialogEvent&)': ././src/stenoteb.cpp:1042: undefined reference to `wxEVT_COMMAND_FIND' ././src/stenoteb.cpp:1047: undefined reference to `wxEVT_COMMAND_FIND_NEX= T' ././src/stenoteb.cpp:1054: undefined reference to `wxEVT_COMMAND_FIND' ././src/stenoteb.cpp:1054: undefined reference to `wxEVT_COMMAND_FIND_NEX= T' ././src/stenoteb.cpp:1086: undefined reference to `wxEVT_COMMAND_FIND' ././src/stenoteb.cpp:1101: undefined reference to=20 `wxEVT_COMMAND_FIND_REPLACE' ././src/stenoteb.cpp:1117: undefined reference to=20 `wxEVT_COMMAND_FIND_REPLACE_ALL' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o): In function=20 `__static_initialization_and_destruction_0': ././src/stesplit.cpp:106: undefined reference to=20 `wxSplitterWindow::ms_classInfo' ././src/stesplit.cpp:129: undefined reference to `wxEVT_COMMAND_FIND' ././src/stesplit.cpp:129: undefined reference to `wxEVT_COMMAND_FIND_NEXT= ' ././src/stesplit.cpp:129: undefined reference to=20 `wxEVT_COMMAND_FIND_REPLACE' ././src/stesplit.cpp:129: undefined reference to=20 `wxEVT_COMMAND_FIND_REPLACE_ALL' ././src/stesplit.cpp:129: undefined reference to `wxEVT_COMMAND_FIND_CLOS= E' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o): In function=20 `wxSTEditorSplitter::DoSize()': ././src/stesplit.cpp:544: undefined reference to=20 `wxSplitterWindow::GetBorderSize() const' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o): In function=20 `wxSTEditorSplitter::SizeWindows()': ././src/stesplit.cpp:535: undefined reference to=20 `wxSplitterWindow::SizeWindows()' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o): In function=20 `wxSTEditorSplitter::OnUnsplit(wxWindow*)': ././src/stesplit.cpp:377: undefined reference to=20 `wxSplitterWindow::OnUnsplit(wxWindow*)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o): In function=20 `wxSTEditorSplitter::DoSplit(wxSplitMode, int)': ././src/stesplit.cpp:363: undefined reference to=20 `wxSplitterWindow::DoSplit(wxSplitMode, wxWindow*, wxWindow*, int)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o): In function=20 `wxSTEditorSplitter::Initialize(wxSTEditor*)': ././src/stesplit.cpp:318: undefined reference to=20 `wxSplitterWindow::Initialize(wxWindow*)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o): In function=20 `wxSTEditorSplitter::Create(wxWindow*, int, wxPoint const&, wxSize=20 const&, long, wxString const&)': ././src/stesplit.cpp:153: undefined reference to=20 `wxSplitterWindow::Create(wxWindow*, int, wxPoint const&, wxSize const&,=20 long, wxString const&)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o): In function=20 `~wxSTEditorSplitter': ././src/stesplit.cpp:182: undefined reference to=20 `wxSplitterWindow::~wxSplitterWindow()' ././src/stesplit.cpp:182: undefined reference to=20 `wxSplitterWindow::~wxSplitterWindow()' ././src/stesplit.cpp:182: undefined reference to=20 `wxSplitterWindow::~wxSplitterWindow()' ././src/stesplit.cpp:182: undefined reference to=20 `wxSplitterWindow::~wxSplitterWindow()' ././src/stesplit.cpp:182: undefined reference to=20 `wxSplitterWindow::~wxSplitterWindow()' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o):././src/stesplit.cp= p:182:=20 more undefined references to `wxSplitterWindow::~wxSplitterWindow()' foll= ow ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o): In function=20 `wxSTEditorSplitter::Unsplit()': ./include/wx/stedit/stesplit.h:88: undefined reference to=20 `wxSplitterWindow::Unsplit(wxWindow*)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o): In function=20 `wxSplitterWindow::SplitHorizontally(wxWindow*, wxWindow*, int)': /usr/local/include/wx-2.6/wx/generic/splitter.h:122: undefined reference=20 to `wxSplitterWindow::DoSplit(wxSplitMode, wxWindow*, wxWindow*, int)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o): In function=20 `wxSplitterWindow::SplitVertically(wxWindow*, wxWindow*, int)': /usr/local/include/wx-2.6/wx/generic/splitter.h:118: undefined reference=20 to `wxSplitterWindow::DoSplit(wxSplitMode, wxWindow*, wxWindow*, int)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o):(.rodata+0x1e4):=20 undefined reference to `wxSplitterWindow::sm_eventTable' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o): In function=20 `wxSTEditorSplitter': ./include/wx/stedit/stesplit.h:38: undefined reference to=20 `wxSplitterWindow::~wxSplitterWindow()' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o):(.rodata._ZTV18wxST= EditorSplitter[vtable=20 for wxSTEditorSplitter]+0xec): undefined reference to=20 `wxSplitterWindow::SetFocus()' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o):(.rodata._ZTV18wxST= EditorSplitter[vtable=20 for wxSTEditorSplitter]+0xf4): undefined reference to=20 `wxSplitterWindow::AcceptsFocus() const' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o):(.rodata._ZTV18wxST= EditorSplitter[vtable=20 for wxSTEditorSplitter]+0xfc): undefined reference to=20 `wxSplitterWindow::GetDefaultItem() const' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o):(.rodata._ZTV18wxST= EditorSplitter[vtable=20 for wxSTEditorSplitter]+0x100): undefined reference to=20 `wxSplitterWindow::SetDefaultItem(wxWindow*)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o):(.rodata._ZTV18wxST= EditorSplitter[vtable=20 for wxSTEditorSplitter]+0x104): undefined reference to=20 `wxSplitterWindow::SetTmpDefaultItem(wxWindow*)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o):(.rodata._ZTV18wxST= EditorSplitter[vtable=20 for wxSTEditorSplitter]+0x118): undefined reference to=20 `wxSplitterWindow::RemoveChild(wxWindowBase*)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o):(.rodata._ZTV18wxST= EditorSplitter[vtable=20 for wxSTEditorSplitter]+0x1dc): undefined reference to=20 `wxSplitterWindow::OnInternalIdle()' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o):(.rodata._ZTV18wxST= EditorSplitter[vtable=20 for wxSTEditorSplitter]+0x248): undefined reference to=20 `wxSplitterWindow::DoGetBestSize() const' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o):(.rodata._ZTV18wxST= EditorSplitter[vtable=20 for wxSTEditorSplitter]+0x294): undefined reference to=20 `wxSplitterWindow::OnSashPositionChanging(int)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o):(.rodata._ZTV18wxST= EditorSplitter[vtable=20 for wxSTEditorSplitter]+0x298): undefined reference to=20 `wxSplitterWindow::OnSashPositionChange(int)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o):(.rodata._ZTV18wxST= EditorSplitter[vtable=20 for wxSTEditorSplitter]+0x2a0): undefined reference to=20 `wxSplitterWindow::OnDoubleClickSash(int, int)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o):(.rodata._ZTV18wxST= EditorSplitter[vtable=20 for wxSTEditorSplitter]+0x2a4): undefined reference to=20 `wxSplitterWindow::DrawSash(wxDC&)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o):(.rodata._ZTV18wxST= EditorSplitter[vtable=20 for wxSTEditorSplitter]+0x2a8): undefined reference to=20 `wxSplitterWindow::DrawSashTracker(int, int)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o):(.rodata._ZTV18wxST= EditorSplitter[vtable=20 for wxSTEditorSplitter]+0x2ac): undefined reference to=20 `wxSplitterWindow::SashHitTest(int, int, int)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o):(.rodata._ZTV18wxST= EditorSplitter[vtable=20 for wxSTEditorSplitter]+0x2b4): undefined reference to=20 `wxSplitterWindow::OnEnterSash()' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o):(.rodata._ZTV18wxST= EditorSplitter[vtable=20 for wxSTEditorSplitter]+0x2b8): undefined reference to=20 `wxSplitterWindow::OnLeaveSash()' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o):(.rodata._ZTV18wxST= EditorSplitter[vtable=20 for wxSTEditorSplitter]+0x2bc): undefined reference to=20 `wxSplitterWindow::OnChildFocus(wxChildFocusEvent&)' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o):(.rodata._ZTV18wxST= EditorSplitter[vtable=20 for wxSTEditorSplitter]+0x2c0): undefined reference to=20 `wxSplitterWindow::SetFocusIgnoringChildren()' ./lib/libwx_gtk2d_stedit-2.6.a(stedit_lib_stesplit.o):(.rodata._ZTI18wxST= EditorSplitter[typeinfo=20 for wxSTEditorSplitter]+0x8): undefined reference to `typeinfo for=20 wxSplitterWindow' collect2: ld returned 1 exit status make: *** [samples/stedit/wxstedit] Error 1 [klaas@localhost wxstedit]$ John Labenski wrote: > Ok, all done it compiles just fine in linux now. > > =20 |
From: John L. <jla...@gm...> - 2006-10-23 18:55:45
|
On 10/23/06, Francesco Montorsi <f18...@ya...> wrote: > > There's something at the end of build/configure.ac, but I don't > > understand it at all. > > > > # argument 1: here put the minimum required version of wx > > # argument 2: here you must put a comma-separed list of all wx > > required libraries > > # except for base,core (e.g. "xml,net,adv"); leave empty > > if you use only core & base > > AM_WXCODE_CHECKS([2.4.0], []) > yes exactly!! > this is where you should add the list of wx libs you need for autoconf > format; e.g.: > > AM_WXCODE_CHECKS([2.4.0], [stc,html,adv]) > > The comments look clear to me since I wrote them :D > What exactly is unclear in it? Maybe that same (e.g. "xml,net,adv") is a > little misleading? Probably nothing is unclear, I just assumed that everything was done though the bakefile and I didn't even think to edit anything else. > >but it looks like it just checks for stuff and doesn't > > actually set any libs. > it does a lot of stuff actually - it detects the installed wx builds on > the user's system, looks at the configure options given by the user and > then tries to find a good matching eventually giving out a nice error > message. > > The libraries which it substitutes to WX_LIBS are those passed to > AM_WXCODE_CHECKS + base,core as documented. Ok, all done it compiles just fine in linux now. Thanks! John Labenski |
From: Francesco M. <f18...@ya...> - 2006-10-23 16:49:14
|
John Labenski ha scritto: > Ok, starting over, the wxStEdit bakefiles are updated to the ones in > wxCode/build and I've regenerated everything using bakefile 0.2.0 in > MSW using the prebuilt exe. Committed and did a checkout in linux and > ran acregen.sh to get a new configure. > > The problem is that in components/wxstedit/build/wxstedit.bkl I have > specified the libs to link to, but they do not get put into > Makefile.in or perhaps configure by bakefile or perhaps > autoconf_inc.m4. > > These are libs the exe should link to. > <library>stedit_lib</library> > <wx-lib>stc</wx-lib> > <wx-lib>html</wx-lib> > <wx-lib>adv</wx-lib> > <wx-lib>core</wx-lib> > <wx-lib>base</wx-lib> <!-- base must be last wx-lib --> right - however for its nature, bakefile's autoconf format simply ignores any wx-lib tag. It's the task of the configure script to detect which libs are available in which format, etc. Thus it's the configure script that sets up the WX_LIBS variable > These are the libs it does link to using configure's generated Makefile. > > WX_LIBS = -L/home/john/wx/wxWidgets/wxCVS/wxWidgets/config_gtk2_debug/lib > -pthread -Wl,-rpath,/home/john/wx/wxWidgets/wxCVS/wxWidgets/config_gtk2_debug/lib > -lwx_gtk2ud_core-2.7 -lwx_baseud-2.7 > > Makefile.in has > WX_LIBS = @WX_LIBS@ > > so configure must generate them, right? right > configure has this > WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs` > where > WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args $WXCFG_FLAGS > $WX_ADDITIONAL_LIBS" > > BUT! This looks hardcoded in configure > WX_ADDITIONAL_LIBS=",core,base" > > I don't see where any other libs can be put into WX_ADDITIONAL_LIBS? using AM_WXCODE_CHECKS macro > There's something at the end of build/configure.ac, but I don't > understand it at all. > > # argument 1: here put the minimum required version of wx > # argument 2: here you must put a comma-separed list of all wx > required libraries > # except for base,core (e.g. "xml,net,adv"); leave empty > if you use only core & base > AM_WXCODE_CHECKS([2.4.0], []) yes exactly!! this is where you should add the list of wx libs you need for autoconf format; e.g.: AM_WXCODE_CHECKS([2.4.0], [stc,html,adv]) The comments look clear to me since I wrote them :D What exactly is unclear in it? Maybe that same (e.g. "xml,net,adv") is a little misleading? > this is in wxCode/build/autoconf/wxcode.m4 and only calls > AM_WXPRESETS_FULL in wxCode/build/autoconf/wxpresets.m4 which is > rather cryptic, I tried to make all autoconf macros as ordered as possible but M4 script language is a bit cryptic itself so they are not very readable unfortunately... >but it looks like it just checks for stuff and doesn't > actually set any libs. it does a lot of stuff actually - it detects the installed wx builds on the user's system, looks at the configure options given by the user and then tries to find a good matching eventually giving out a nice error message. The libraries which it substitutes to WX_LIBS are those passed to AM_WXCODE_CHECKS + base,core as documented. Francesco |
From: John L. <jla...@gm...> - 2006-10-23 16:38:31
|
Ok, starting over, the wxStEdit bakefiles are updated to the ones in wxCode/build and I've regenerated everything using bakefile 0.2.0 in MSW using the prebuilt exe. Committed and did a checkout in linux and ran acregen.sh to get a new configure. The problem is that in components/wxstedit/build/wxstedit.bkl I have specified the libs to link to, but they do not get put into Makefile.in or perhaps configure by bakefile or perhaps autoconf_inc.m4. These are libs the exe should link to. <library>stedit_lib</library> <wx-lib>stc</wx-lib> <wx-lib>html</wx-lib> <wx-lib>adv</wx-lib> <wx-lib>core</wx-lib> <wx-lib>base</wx-lib> <!-- base must be last wx-lib --> These are the libs it does link to using configure's generated Makefile. WX_LIBS = -L/home/john/wx/wxWidgets/wxCVS/wxWidgets/config_gtk2_debug/lib -pthread -Wl,-rpath,/home/john/wx/wxWidgets/wxCVS/wxWidgets/config_gtk2_debug/lib -lwx_gtk2ud_core-2.7 -lwx_baseud-2.7 Makefile.in has WX_LIBS = @WX_LIBS@ so configure must generate them, right? configure has this WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs` where WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args $WXCFG_FLAGS $WX_ADDITIONAL_LIBS" BUT! This looks hardcoded in configure WX_ADDITIONAL_LIBS=",core,base" I don't see where any other libs can be put into WX_ADDITIONAL_LIBS? There's something at the end of build/configure.ac, but I don't understand it at all. # argument 1: here put the minimum required version of wx # argument 2: here you must put a comma-separed list of all wx required libraries # except for base,core (e.g. "xml,net,adv"); leave empty if you use only core & base AM_WXCODE_CHECKS([2.4.0], []) this is in wxCode/build/autoconf/wxcode.m4 and only calls AM_WXPRESETS_FULL in wxCode/build/autoconf/wxpresets.m4 which is rather cryptic, but it looks like it just checks for stuff and doesn't actually set any libs. Thanks for any help, John Labenski |
From: John L. <jla...@gm...> - 2006-10-23 14:44:25
|
On 10/21/06, Francesco Montorsi <f18...@ya...> wrote: > klaas.holwerda ha scritto: > > Hi, > > > > I am trying to compile and link wxstedit ( as from CVS ). > > > > Can somebody confirm it compile and links? ( ./configure make make install ) > when trying to compile with latest CVS I get: > > ./bk-deps g++ -c -o stedit_lib_stestyls.o -I./include > -I/contrib/include > -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.7 > -I/usr/local/include/wx-2.7 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES > -D__WXDEBUG__ -D__WXGTK__ -pthread -g3 -O0 -Wall -Wundef > -Wno-ctor-dtor-privacy ././src/stestyls.cpp > ././src/stestyls.cpp: In member function 'virtual void > wxSTEditorStyles::UpdateEditor(wxSTEditor*)': > ././src/stestyls.cpp:678: error: 'class wxSTEditor' has no member named > 'SetCaretLineBack' > > but that maybe because I'm using CVS HEAD of wxWidgets... Yes, the CVS version of wxStEdit has am ifdef for this. I'll do a release today. > > 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. > that seems a problem not in configure but in the makefiles since the > configure script recognized an ANSI wx build... This was a hack I hand coded into the configure script for myself, a long time ago. You made some changes to the bakefiles to generate differently named libs (thanks) a month or two ago and though I updated the bakefiles, I forgot to run bakefile_gen for the wxstedit project. Regards, John Labenski |
From: John L. <jla...@gm...> - 2006-10-23 14:40:36
|
I forgot to rerun bakefile_gen in wxStEdit! Please try the CVS version of it and it should work out of the box. *hopefully* Just so you know, my test machines are : Win2k w/ MSVS2005 GUI using dsw/dsp files : wxWidgets 2.6 CVS Linux gcc using src/Makefiles : wxWidgets CVS HEAD I should switch over to using the configure Makefiles. On 10/21/06, klaas.holwerda <kho...@xs...> wrote: > klaas.holwerda wrote: > > I am trying to compile and link wxstedit ( as from CVS ). This is what I use, I will make a release later today. > I eventually downloaded wxstedit1.2.1, which did compile with 2.6.3. > But did succeed not with wxLua, but a small change ( already in CVS ) > which is in wxstedit.h did make it compile. > Linking to stedit.lib i somehow made it go all the way. > > I tried several things with CVS wxstedit, but gave up. > On windows i remember i needed to have the lattest CVS version of both > wxLua and wxStedit. This is best, as the builds for both have been changed. I will put some compile-time checks into wxLuaEdit to make sure that the version of wxStEdit is right too. > I wonder which wxCode project is a good test case, which does compile > right away, i have tried to find one, but gave up. I don't know. wxStEdit should compile out of the box. :) > I am sorry i can only test. wxWidgets moving and changing in the way it > is configured i get lost. It's hard to follow, and hard to keep 2.6.x and 2.7.x working together in the code. wxWidgets 2.8 should be out by the end of the year, so with your fingers crossed we can keep everything working until then. Let me know if this works for you, John Labenski |
From: Nuklear Z. <nuk...@gm...> - 2006-10-22 05:56:58
|
new release of XSTC added TrimTrailing() so that all whitespace after each line is removed. (can set safefilex to call it too) started to implement a margin mapper, not working yet. completed the keywords in keyword_sets and changed argument in SetKeyStr() to string not much color work was done and keywords for the struct need to be set up in PurgeKeys() for more detail check changes.txt Nuklear |
From: klaas.holwerda <kho...@xs...> - 2006-10-21 22:35:33
|
klaas.holwerda wrote: > Hi, > > I am trying to compile and link wxstedit ( as from CVS ). > I eventually downloaded wxstedit1.2.1, which did compile with 2.6.3. But did succeed not with wxLua, but a small change ( already in CVS ) which is in wxstedit.h did make it compile. Linking to stedit.lib i somehow made it go all the way. I tried several things with CVS wxstedit, but gave up. On windows i remember i needed to have the lattest CVS version of both wxLua and wxStedit. I think it would be nice to have a wxstedit download which works with the latest wxLua CVS, and the official wxWidgets2.6.3. Maybe CVS is to much on the move? But the download of wxstedit, also is not working for wxLua out of the box. I wonder which wxCode project is a good test case, which does compile right away, i have tried to find one, but gave up. I am sorry i can only test. wxWidgets moving and changing in the way it is configured i get lost. Thanks, klaas |
From: Francesco M. <f18...@ya...> - 2006-10-21 17:10:26
|
klaas.holwerda ha scritto: > Hi, > > I am trying to compile and link wxstedit ( as from CVS ). > > Can somebody confirm it compile and links? ( ./configure make make install ) when trying to compile with latest CVS I get: ./bk-deps g++ -c -o stedit_lib_stestyls.o -I./include -I/contrib/include -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.7 -I/usr/local/include/wx-2.7 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXGTK__ -pthread -g3 -O0 -Wall -Wundef -Wno-ctor-dtor-privacy ././src/stestyls.cpp ././src/stestyls.cpp: In member function ‘virtual void wxSTEditorStyles::UpdateEditor(wxSTEditor*)’: ././src/stestyls.cpp:678: error: ‘class wxSTEditor’ has no member named ‘SetCaretLineBack’ but that maybe because I'm using CVS HEAD of wxWidgets... > 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. that seems a problem not in configure but in the makefiles since the configure script recognized an ANSI wx build... > /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 > /usr/local/include/wx-2.6/wx/html/htmlwin.h:78: undefined reference to > `wxHtmlWindow::Init()' looking at this error and at the linking line I'd guess the <wx-lib>html</wx-lib> tag is missing somewhere... try to add the wx html library manually to the makefile... Francesco |
From: John L. <jla...@gm...> - 2006-10-21 15:35:54
|
Humm, this is probably a problem with the bakefile generated configure. I can look into it on sunday, but until then, try using the Makefiles in the src and samples/stedit dir. I do try to keep it working in 2.6.3, but I typically comile with wxWidgets CVS head. I'll get bacck to you on sunday, John Labenski On 10/21/06, klaas.holwerda <kho...@xs...> wrote: > 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 > > [klaas@localhost 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. > ---------------------------------------------------------------- > [klaas@localhost wxstedit]$ ls ./lib > CVS libwx_gtk2ud_stedit-2.6.a Readme.txt > > > [klaas@localhost 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 > wxC...@li... > https://lists.sourceforge.net/lists/listinfo/wxcode-users > |
From: klaas.holwerda <kho...@xs...> - 2006-10-21 08:08:37
|
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 [klaas@localhost 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. ---------------------------------------------------------------- [klaas@localhost wxstedit]$ ls ./lib CVS libwx_gtk2ud_stedit-2.6.a Readme.txt [klaas@localhost 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': |
From: SourceForge.net <no...@so...> - 2006-10-18 19:03:43
|
Bugs item #1579935, was opened at 2006-10-18 14:03 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=462816&aid=1579935&group_id=51305 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: wxpdfdoc Group: None Status: Open Resolution: None Priority: 5 Submitted By: Blake (blizzymadden) Assigned to: Nobody/Anonymous (nobody) Summary: Compile warnings Initial Comment: In pdfkernal.cpp, there is a section that VC++ 2003 complains about operator precedence. It may not really be a problem, but just to be on the safe side I wish to mention this. Basically, it is getting confused by lines like this: if (m_viewerPrefs & wxPDF_VIEWER_HIDEWINDOWUI != 0) It expects it to look like this: if ((m_viewerPrefs & wxPDF_VIEWER_HIDEWINDOWUI) != 0) Or suppose this would be simpler: if (m_viewerPrefs & wxPDF_VIEWER_HIDEWINDOWUI) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=462816&aid=1579935&group_id=51305 |
From: SourceForge.net <no...@so...> - 2006-10-18 19:00:29
|
Bugs item #1579933, was opened at 2006-10-18 14:00 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=462816&aid=1579933&group_id=51305 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: wxpdfdoc Group: None Status: Open Resolution: None Priority: 5 Submitted By: Blake (blizzymadden) Assigned to: Nobody/Anonymous (nobody) Summary: Linker errors Initial Comment: When you compile the include VC++ project, you get a link error because the project refers to a "wxmsw26d.lib", which does not exist. If you change "wxmsw26d.lib" in the linker input to the following in the Makefont and Minimal subprojects then it fixes it: wxbase26d_xml.lib wxbase26d.lib wxmsw26d_core.lib wxmsw26d_adv.lib ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=462816&aid=1579933&group_id=51305 |
From: SourceForge.net <no...@so...> - 2006-10-13 17:19:20
|
Feature Requests item #1576705, was opened at 2006-10-13 19:19 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=462819&aid=1576705&group_id=51305 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Der Meister (der_meister) Assigned to: Nobody/Anonymous (nobody) Summary: [wxScintilla] Re-enable primary selection for copy&paste Initial Comment: I think the code in the function 'void ScintillaWX::ClaimSelection()' in the file 'wxCode/ components/wxscintilla/src/ScintillaWX.cpp' line 620 and following (revision 1.26) should be re-enabled. I tested this piece of code in revision 3084 of Code::Blocks (it uses wxScintilla as editor) with wxGTK 2.6.2 and it works without any problems. The problem described in the comment in this function does not occour. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=462819&aid=1576705&group_id=51305 |
From: Nuklear Z. <nuk...@gm...> - 2006-10-04 03:42:38
|
i looked at the webspace and found an existing php file. from what i could tell the server checks to see if it is identical to the template and if so, it shows that the component has no web page yet. i edited this and uploaded it over the existing one and things showed up. if the admins care if the webspace is different i don't know, that is just what i noticed. Nuklear � wrote: > Hello wxCoders. > > I have a tutorial for my component (activerecord aka > wxActiveRecordGenerator aka wxARG). > How can enable the website for my component. How can I put my tutorial > there. Does it matter if it's in HTML? > > Well, thanx for reading and codings.. > > Regards, Mat�as. > > |
From: Francesco M. <f18...@ya...> - 2006-10-03 20:51:25
|
Matías Szeftel ha scritto: > Hello wxCoders. > > I have a tutorial for my component (activerecord aka > wxActiveRecordGenerator aka wxARG). > How can enable the website for my component. it was disabled because because of some error - I fixed it. Give SF some hours to run the cron jobs and the website should work. >How can I put my tutorial > there. Does it matter if it's in HTML? yes, it matters... you should look at http://wxcode.sourceforge.net/template.php#website Francesco |
From: <msz...@ya...> - 2006-10-03 08:24:29
|
Hello wxCoders. I have a tutorial for my component (activerecord aka wxActiveRecordGenerator aka wxARG). How can enable the website for my component. How can I put my tutorial there. Does it matter if it's in HTML? Well, thanx for reading and codings.. Regards, Matías. __________________________________________________ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas |
From: SourceForge.net <no...@so...> - 2006-10-02 14:46:49
|
Bugs item #1569336, was opened at 2006-10-02 10:46 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=462816&aid=1569336&group_id=51305 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Andre Arpin (andrearpin) Assigned to: Nobody/Anonymous (nobody) Summary: problem making wxstedit version 1.2.3 Initial Comment: compiling with vc7 using WX_VERSION=27 a number of problems exist I am wondering if something is out of sync the following is the output ..\src\stedit.cpp(579) : error C2039: 'OnKeyUp' : is not a member of 'wxSTEditor' c:\Programs\wxWindows\include\wx\stedit\stedit.h (138) : see declaration of 'wxSTEditor' ..\src\stedit.cpp(829) : error C2061: syntax error : identifier 'STE_TranslateType' ..\src\stedit.cpp(839) : error C2065: 'type' : undeclared identifier ..\src\stedit.cpp(839) : error C2065: 'STE_TRANSLATE_SELECTION' : undeclared identifier ..\src\stedit.cpp(840) : error C3861: 'type': identifier not found, even with argument-dependent lookup ..\src\stedit.cpp(840) : error C3861: 'STE_TRANSLATE_SELECTION': identifier not found, even with argument-dependent lookup ..\src\stedit.cpp(841) : error C3861: 'type': identifier not found, even with argument-dependent lookup ..\src\stedit.cpp(841) : error C3861: 'STE_TRANSLATE_SELECTION': identifier not found, even with argument-dependent lookup ..\src\stedit.cpp(842) : error C3861: 'type': identifier not found, even with argument-dependent lookup ..\src\stedit.cpp(842) : error C3861: 'STE_TRANSLATE_SELECTION': identifier not found, even with argument-dependent lookup ..\src\stedit.cpp(871) : error C2061: syntax error : identifier 'STE_TranslateType' ..\src\stedit.cpp(882) : error C3861: 'type': identifier not found, even with argument-dependent lookup ..\src\stedit.cpp(882) : error C3861: 'STE_TRANSLATE_SELECTION': identifier not found, even with argument-dependent lookup ..\src\stedit.cpp(883) : error C3861: 'type': identifier not found, even with argument-dependent lookup ..\src\stedit.cpp(883) : error C3861: 'STE_TRANSLATE_SELECTION': identifier not found, even with argument-dependent lookup ..\src\stedit.cpp(884) : error C3861: 'type': identifier not found, even with argument-dependent lookup ..\src\stedit.cpp(884) : error C3861: 'STE_TRANSLATE_SELECTION': identifier not found, even with argument-dependent lookup ..\src\stedit.cpp(885) : error C3861: 'type': identifier not found, even with argument-dependent lookup ..\src\stedit.cpp(885) : error C3861: 'STE_TRANSLATE_SELECTION': identifier not found, even with argument-dependent lookup ..\src\stedit.cpp(1387) : error C2511: 'bool wxSTEditor::Columnize(int,int,const wxString &,const wxString &,const wxString &,const wxString &)' : overloaded member function not found in 'wxSTEditor' c:\Programs\wxWindows\include\wx\stedit\stedit.h (138) : see declaration of 'wxSTEditor' ..\src\stedit.cpp(1565) : error C2039: 'SetText' : is not a member of 'wxSTEditorInsertTextDialog' c:\Programs\wxWindows\include\wx\stedit\stedlgs.h (421) : see declaration of 'wxSTEditorInsertTextDialog' ..\src\stedit.cpp(2761) : error C2065: 'STE_FR_FINDALL' : undeclared identifier ..\src\stedit.cpp(2761) : error C2065: 'STE_FR_BOOKMARKALL' : undeclared identifier ..\src\stedit.cpp(3146) : error C3861: 'STE_FR_FINDALL': identifier not found, even with argument-dependent lookup ..\src\stedit.cpp(3148) : error C2039: 'GetFindAllStrings' : is not a member of 'wxSTEditorFindReplaceData' c:\Programs\wxWindows\include\wx\stedit\stefindr.h (74) : see declaration of 'wxSTEditorFindReplaceData' ..\src\stedit.cpp(3148) : error C2227: left of '- >Item' must point to class/struct/union ..\src\stedit.cpp(3164) : error C3861: 'STE_FR_FINDALL': identifier not found, even with argument-dependent lookup ..\src\stedit.cpp(3164) : error C3861: 'STE_FR_BOOKMARKALL': identifier not found, even with argument-dependent lookup ..\src\stedit.cpp(3166) : error C2039: 'GetFindAllStrings' : is not a member of 'wxSTEditorFindReplaceData' c:\Programs\wxWindows\include\wx\stedit\stefindr.h (74) : see declaration of 'wxSTEditorFindReplaceData' ..\src\stedit.cpp(3177) : error C3861: 'STE_FR_BOOKMARKALL': identifier not found, even with argument-dependent lookup ..\src\stedit.cpp(3180) : error C3861: 'STE_FR_FINDALL': identifier not found, even with argument-dependent lookup ..\src\stedit.cpp(3193) : error C2065: 'STE_FINDSTRING_SELECT' : undeclared identifier ..\src\stedit.cpp(3193) : error C2065: 'STE_FINDSTRING_GOTO' : undeclared identifier ..\src\stedit.cpp(3295) : error C2511: 'int wxSTEditor::FindString(const wxString &,int,int,int,int,int *,int *)' : overloaded member function not found in 'wxSTEditor' c:\Programs\wxWindows\include\wx\stedit\stedit.h (138) : see declaration of 'wxSTEditor' ..\src\stedit.cpp(3386) : error C2065: 'STE_FINDSTRING_NOTHING' : undeclared identifier ..\src\stedit.cpp(3410) : error C3861: 'STE_FINDSTRING_NOTHING': identifier not found, even with argument-dependent lookup ..\src\stedit.cpp(3427) : error C3861: 'STE_FINDSTRING_NOTHING': identifier not found, even with argument-dependent lookup ..\src\stedit.cpp(3455) : error C3861: 'STE_FINDSTRING_NOTHING': identifier not found, even with argument-dependent lookup ..\src\stedit.cpp(3463) : error C3861: 'STE_FINDSTRING_NOTHING': identifier not found, even with argument-dependent lookup ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=462816&aid=1569336&group_id=51305 |
From: Ildar <ild...@gm...> - 2006-09-30 07:36:22
|
> I just added to CVS the GetNodeContent() functions which does exactly that. what do you think of adding "recursive" param to the function? e.g. GetNodeContent(true) would work as it works now - it would return a concatenation string of all sub-nodes. GetNodeContent(false) would return a concatenation string of wxXML_TEXT_NODE nodes which belong to current wxXML_ELEMENT_NODE |
From: Francesco M. <f18...@ya...> - 2006-09-29 23:30:20
|
Ildar ha scritto: >>> However, 2 more questions: >>> >>> #1 >>> >>> wxString s3 = node.Find(wxT("level2-1")).GetFirstChild().GetName(); >>> >>> result: >>> s3 == "text" // as you mentioned >>> >>> but >>> >>> wxString s4 = node.Find(wxT("level2-1")).Get(wxT("text")); >>> >>> result: >>> s4 == "" >> wxXml2Node::Get returns a wxXml2Node, not a wxString. I don't know why >> the compiler accepts the assignment of a wxXml2Node to a wxString... >> couldn't you trace it with a debugger and see what happens? > > Sorry, the code is as follows > > wxString s4 = node.Find(wxT("level2-1")).Get(wxT("text")).GetContent(); > > Btw, > > wxString s5 = node.Find(wxT("level2-1")).Get(wxT("text")).GetName(); It looks like Get() does not find that node. Can you trace it with a debugger ? It should be easy to understand wxXml2 source code and find what's wrong... (even if I suspect that's not really a bug). Thanks, Francesco |
From: Ildar <ild...@gm...> - 2006-09-29 14:17:54
|
> > However, 2 more questions: > > > > #1 > > > > wxString s3 = node.Find(wxT("level2-1")).GetFirstChild().GetName(); > > > > result: > > s3 == "text" // as you mentioned > > > > but > > > > wxString s4 = node.Find(wxT("level2-1")).Get(wxT("text")); > > > > result: > > s4 == "" > wxXml2Node::Get returns a wxXml2Node, not a wxString. I don't know why > the compiler accepts the assignment of a wxXml2Node to a wxString... > couldn't you trace it with a debugger and see what happens? Sorry, the code is as follows wxString s4 = node.Find(wxT("level2-1")).Get(wxT("text")).GetContent(); Btw, wxString s5 = node.Find(wxT("level2-1")).Get(wxT("text")).GetName(); result: s5 == "" |
From: Francesco M. <f18...@ya...> - 2006-09-28 16:13:06
|
Ildar ha scritto: > and one more ;) > > is there a way to get a count of nodes? currently no; that's because wxXml2 API derives from wxXml API because when I wrote it I wanted to port some wxXml code to a newer API with DTD validation and thus I made wxXml2 API mostly compatible with wxXml one, which has no GetChildCount() methods. However I agree this would be useful to have. Patches welcome :D > e.g. > > - Find(...) allows to get the N-th node which meets the condition, but what's > the number of nodes which meet the condition? we could add a new GetChildrenCount(const wxXmlNode &tofind, bool bNS = TRUE, bool recurse = TRUE) function to return it > - or how to get the number of wxXML_ELEMENT_NODE subnodes of wxXML_ELEMENT_NODE > node? I would add a GetChildrenCount() const function for this. > I understand I can enumerate the nodes and count them, is it the only possible > solution? it highly depends on how to you want to organize your parser. For me, the pattern I copied & pasted in previous mail has always been a winning pattern ;) I.e. you scan all the XML document, handle unknown tags in the else{} part, and call subroutines to load other nodes in other elseif{} branches. It's a lot of time I don't look at XML Schemas, SAX parser, etc. You can get an idea of the "low-level" libxml2 API looking at http://xmlsoft.org/html/index.html Francesco |