On Sun, 9 Jul 2023, joel wrote:
Package: wx3.2-examples Version: 3.2.2+dfsg-2 Severity: normal X-Debbugs-Cc: [email protected]Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? Tried to compile examples to understand wx-config flags. * What exactly did you do (or not do) that was effective (or ineffective)? Installed a clean debian VM. Installed wx3.2-examples and the suggested libwxgtk3.2-dev + g++ and make Copied /usr/share/doc/wx3.2-examples/examples/samples to a writable dir. make # failed Iterate over each directory and make in each. Some are windows only and generate compile errors, but I have omitted those. * What was the outcome of this action? The following did not compile due to link errors: archive console ipc sockets ------------------------------ eg: /usr/bin/ld: console_console.o: warning: relocation against `_ZTV17wxMDIClientWindow' in read-only section `.text._ZN17wxMDIClientWindowC2Ev[_ZN17wxMDIClientWindowC5Ev]' /usr/bin/ld: console_console.o: in function `wxWindowBase::GetBestVirtualSize() const': console.cpp:(.text._ZNK12wxWindowBase18GetBestVirtualSizeEv[_ZNK12wxWindowBase18GetBestVirtualSizeEv]+0x25): undefined reference to `wxWindowBase::GetBestSize() const' /usr/bin/ld: console_console.o: in function `wxWindowBase::CanBeFocused() const':
Thanks for the bug report. I can confirm the issue. It looks like the console-based (ie, non-GUI) samples are mistakenly being compiled with GUI support, which fails at the link stage. I'll report this upstream.
Thanks, Scott

