User forums > General (but related to Code::Blocks)

Faild to build C::B with github action with latest wxWidgets 3.3.3

<< < (2/2)

Pecan:
This is a reference to what might be another instance of this problem:



--- Quote from: ollydbg on September 09, 2026, 03:36:50 pm ---
--- Quote from: SharkCZ on September 08, 2026, 01:42:48 pm ---When working on builds for Fedora ([url]https://copr.fedorainfracloud.org/coprs/sharkcz/danny/build/10959184/[/url], details are in the builder-live.log files), I have noticed that libtool version 2.6.2 present in Rawhide fails the build of the codesnippets plugin after the tinyxml LIBADD was removed from its Makefile.am in revision 13996. System tinyxml library is used in the builds. I have confirmed that with libtool downgraded to 2.5.4 the build runs OK. AFAICT other plugins still use the LIBADD mechanism. Likely some change in libtool is causing this ...

--- End quote ---

Maybe something related to this discussion: [url=https://forums.codeblocks.org/index.php/topic,26338.msg179012.html#msg179012]Faild to build C::B with github action with latest wxWidgets 3.3.3[/url]

It is also related to the tinyxml library and the linker issue.

--- End quote ---

I worked all the way back to svn 13733 and found no changes in the Makefile.am file. So it has to be something that wasn't deleted, but needs to be added.

It's suggested to change Makefile.am for codesnippets to:


--- Quote --- libcodesnippets_la_SOURCES = codesnippets.cpp \
       codesnippetstreectrl.cpp \
--- a/src/plugins/contrib/envvars/Makefile.am
+++ b/src/plugins/contrib/envvars/Makefile.am
@@ -11,7 +11,8 @@
 libenvvars_la_LDFLAGS = @MODULE_SHARED_LDFLAGS@ -version-info 0:1:0 -no-undefined -avoid-version
 
 libenvvars_la_LIBADD = ../../../sdk/libcodeblocks.la \
-         $(WX_LIBS)
+         $(WX_LIBS) \
+         $(CB_TINYXML_LIBS)
 
--- End quote ---
in forum message below:

https://forums.codeblocks.org/index.php/topic,26338.msg179028.html#msg179028


Can anyone tell me what I need to run to test that this would not screw up anything else on linux or windows.

christo:
Hi Pecan,

I think some lines in Makefile.am were deleted accidently in revision 13996, restoring that should fix the issue.

https://sourceforge.net/p/codeblocks/code/13996/tree//trunk/src/plugins/contrib/codesnippets/Makefile.am?diff=51421f1dc431436b6eb31d56:13995

Pecan:

--- Quote from: christo on September 12, 2026, 05:38:41 am ---Hi Pecan,

I think some lines in Makefile.am were deleted accidently in revision 13996, restoring that should fix the issue.

https://sourceforge.net/p/codeblocks/code/13996/tree//trunk/src/plugins/contrib/codesnippets/Makefile.am?diff=51421f1dc431436b6eb31d56:13995

--- End quote ---

Thanks. I have no idea how that happened.
Fixed svn 14017

Navigation

[0] Message Index

[*] Previous page

Go to full version