Author Topic: wxStyledTextCtrl on Linux  (Read 1088 times)

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2974
wxStyledTextCtrl on Linux
« on: February 03, 2021, 12:29:18 am »
Hi, i work on Ticket 617 https://sourceforge.net/p/codeblocks/tickets/617/
On linux i use the default wxWidgets provided by the distribution (mint, wxWidgets gtk3-unicode-3.1 ) but it does seem, that the wxStyledTextCtrl is not provided with the libraries?
I get
Code
undefined reference to `wxStyledTextCtrl::~wxStyledTextCtrl()'
ecc...
i searched for the stc library, but it does seem that it is not provided by the distribution.

Do we require, that the wxWidgets installation on linux is self compiled, or provided by the operating system?
If the second, i will fix this ticket only for windows and leave linux alone.... Or am i missing something?

Offline MicroSourceCode

  • Multiple posting newcomer
  • *
  • Posts: 23
Re: wxStyledTextCtrl on Linux
« Reply #1 on: February 15, 2021, 10:29:51 am »
WxWidget 3.1 is unstable. For WxWidget 3.0, wxStyledTextCtrl is libwx_gtk3u_stc-3.0.so.0.4.0 library.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13340
    • Travis build status
Re: wxStyledTextCtrl on Linux
« Reply #2 on: February 15, 2021, 10:49:00 am »
Code
ls /usr/lib64/libwx_*stc* -l
lrwxrwxrwx 1 root root      24 Mar  2  2019 /usr/lib64/libwx_gtk2u_stc-2.8.so -> libwx_gtk2u_stc-2.8.so.0*
lrwxrwxrwx 1 root root      28 Mar  2  2019 /usr/lib64/libwx_gtk2u_stc-2.8.so.0 -> libwx_gtk2u_stc-2.8.so.0.8.0*
-rwxr-xr-x 1 root root 1151904 Mar  2  2019 /usr/lib64/libwx_gtk2u_stc-2.8.so.0.8.0*
lrwxrwxrwx 1 root root      24 May 14  2020 /usr/lib64/libwx_gtk2u_stc-3.0.so -> libwx_gtk2u_stc-3.0.so.0*
lrwxrwxrwx 1 root root      28 May 14  2020 /usr/lib64/libwx_gtk2u_stc-3.0.so.0 -> libwx_gtk2u_stc-3.0.so.0.4.0*
-rwxr-xr-x 1 root root 2413288 May 14  2020 /usr/lib64/libwx_gtk2u_stc-3.0.so.0.4.0*
lrwxrwxrwx 1 root root      29 May 14  2020 /usr/lib64/libwx_gtk3u_stc-3.0-gtk3.so -> libwx_gtk3u_stc-3.0-gtk3.so.0*
lrwxrwxrwx 1 root root      33 May 14  2020 /usr/lib64/libwx_gtk3u_stc-3.0-gtk3.so.0 -> libwx_gtk3u_stc-3.0-gtk3.so.0.4.0*
-rwxr-xr-x 1 root root 2413296 May 14  2020 /usr/lib64/libwx_gtk3u_stc-3.0-gtk3.so.0.4.0*

I have it for both 2.8 and 3.0. Probably it is additional config option (which is not enabled on your distro) or it is a separate package (if you're on something debian based).
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]