Ubuntu-22.04 build failed for the same reason than Debian Bullseye : wxWidgets < 3.1.2
r13597 is not enough : see https://github.com/utelle/wxpdfdoc/commit/3d43def79877567cde5a33b26925f523d14ad86fQuoteUbuntu-22.04 build failed for the same reason than Debian Bullseye : wxWidgets < 3.1.2
wxPDFDocument v1.2 does not support wxWidgets < 3.2, but we still support wx3.0 (at least on Linux). This issue should be fixed in current trunk, see r13597 (https://sourceforge.net/p/codeblocks/code/13597/).
Second try (https://sourceforge.net/p/codeblocks/code/13598/).Successfully built on Debian 11 and uploaded to Launchpad for Ubuntu build (should be ok).
OS X version of this rev can no be built due to the fact that I can't yet upgrade my system or my version of the build tools, and some functions needed by wxPdfDocument are missing.I think I've found a solution for this problem : after the configure call, I just had to add "-framework Security" to the source_exporter makefile (in the WX_LIBS line, where there are others "-framework xxxx" instructions, and it worked.
Hi.OS X version of this rev can no be built due to the fact that I can't yet upgrade my system or my version of the build tools, and some functions needed by wxPdfDocument are missing.I think I've found a solution for this problem : after the configure call, I just had to add "-framework Security" to the source_exporter makefile (in the WX_LIBS line, where there are others "-framework xxxx" instructions, and it worked.
But I still don't know how to automatically add this command during the configure process :-\
Regards
Xav'
if DARWIN
AM_LDFLAGS = -framework Security
endif
My guess is add this code to makefile.am in the same folder as the makefile you editedI've finally tested this, but it didn't work : this line appeared "as is" in the final makefile but nothing was added to the link command.Codeif DARWIN
AM_LDFLAGS = -framework Security
endif
To Xaviou
See https://forums.codeblocks.org/index.php/topic,25932.msg176633.html#msg176633 (https://forums.codeblocks.org/index.php/topic,25932.msg176633.html#msg176633)