Page 1 of 1

STC/Linux : symbol not found in wxGTK-2.9

Posted: Fri Nov 13, 2009 12:55 pm
by Cursor
Hi all.

I have an application which works well with wxGTK-28 and particularly STC. I have intent to convert it to wxGTK-29 and many symbols are not accessible any more.

In effect, I use some internal Scintilla classes (and particulary 'Document') in order to modify texts without any instanced wxStyledTextCtrl.

In wxGTK-28, if you try to list all symbols of wxSTC lib, you can find :

Code: Select all

> nm -DC libwx_gtk2u_stc-2.8.so.0.5.0 | grep Document::
000488e0 T Document::AddMarkSet(int, int)
00045460 T Document::AddWatcher(DocWatcher*, void*)
...
>
And when I try to do the same with wxGTK-29 :

Code: Select all

> nm -DC libwx_gtk2u_stc-2.9.so.0.0.0 | grep Document::
>
But when I list static symbols :

Code: Select all

> nm -C libwx_gtk2u_stc-2.9.so.0.0.0 | grep Document::
00047980 t Document::AddMarkSet(int, int)
00044320 t Document::AddWatcher(DocWatcher*, void*)
...
>
Is anybody known a tip to use such static functions ?
Thanks in advance.