Recent Posts

Pages: 1 ... 3 4 5 6 7 [8] 9 10
71
Development / Re: Change to C++17?
« Last post by LETARTARE on September 10, 2026, 03:18:30 pm »
Leap-15.6-64bits, wx-3.2.8;gtk3-u, gc-15.2
'r14003.cbp' ( no 'contrib' )
Here is the compilation log with 'C++17' :
72
Development / Re: Change to C++17?
« Last post by LETARTARE on September 10, 2026, 03:03:09 pm »
Have you tried to compile the full version with C++17 (Win-xx, Linux-xx) ?
If so, what warnings have you obtained ?
73
Development / Change to C++17?
« Last post by Miguel Gimenez on September 10, 2026, 02:04:03 pm »
There is an updated version of astyle library (3.6.18) that fixes some issues (see ticket 1643, but it uses the stupid C++17-only std::string_view and we currently are using C++11.

There is also some C++17-only code, like [fallthrough] in clangd_client, generating warnings.

Should we change to C++17?
74
This is a reference to what might be another instance of this problem:


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 ...

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.

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)
 
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.
75
Nightly builds / Re: The 06 September 2026 build (14003) is out.
« Last post by Pecan on September 09, 2026, 06:09:36 pm »
When working on builds for Fedora (https://copr.fedorainfracloud.org/coprs/sharkcz/danny/build/10959184/, 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 ...

Working all the way back to svn 13733, the Makefile.am for codesnippets plugin has never been changed.
So it's not something in the file that has been deleted.
It must be something that needs to be added.
I'll continue the conversation on forrum at " Faild to build C::B with github action with latest wxWidgets 3.3.3
" which may be the answer.
76
Nightly builds / Re: The 06 September 2026 build (14003) is out.
« Last post by ollydbg on September 09, 2026, 03:36:50 pm »
When working on builds for Fedora (https://copr.fedorainfracloud.org/coprs/sharkcz/danny/build/10959184/, 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 ...

Maybe something related to this discussion: Faild to build C::B with github action with latest wxWidgets 3.3.3

It is also related to the tinyxml library and the linker issue.
77
Nightly builds / Re: The 06 September 2026 build (14003) is out.
« Last post by Pecan on September 09, 2026, 03:54:37 am »
When working on builds for Fedora (https://copr.fedorainfracloud.org/coprs/sharkcz/danny/build/10959184/, 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 ...

Most likely my error. I'll do some comparison to see how I erred.
Or maybe you could tell me what it is that I can fix because I'm not very Linux savvy.
78
Nightly builds / Re: The 06 September 2026 build (14003) is out.
« Last post by Xaviou on September 08, 2026, 08:18:51 pm »
Hi.
I am still working on making the Ubuntu-26.04 version (I've made some progress, but there are still problems).
It seems I've found a solution : the last build completed successfully.   :)

Regards
Xav'
79
Nightly builds / Re: The 06 September 2026 build (14003) is out.
« Last post by SharkCZ on September 08, 2026, 01:42:48 pm »
When working on builds for Fedora (https://copr.fedorainfracloud.org/coprs/sharkcz/danny/build/10959184/, 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 ...
80
Nightly builds / Re: The 06 September 2026 build (14003) is out.
« Last post by ThierryD on September 08, 2026, 12:44:36 pm »
Hi Xaviou,

Good job, last "nightly" build version 14003 can be installed with success on Linux Mint 22.3 Zena 64b.

Just to be precise, recently I have must reinstall this OS ... after "bad" operation ... and with CodeBlocks some warning(s) must be signaled

After reinstall, my OS environment is "very clean", but first warning : you must don't install CB proposed by default (very old version 20.03), because
I'm not success to upgrade to version 25.03 ...

I donwload all deb packages of CB version 25.03 from Internet in "one tarball" : codeblocks_25.03_amd64_debian12.tar.xz

After decompress in "special directory" and move it, you can install by : "sudo dpkg -i *.deb"

Last operation : declare your ppa, and update your list of packages :

"sudo add-apt-repository ppa:x-psoud/cbnb
sudo apt update"

Second warning, don't proceed by "sudo apt upgrade" because list of deb package don't change after this command ...

Wait (some seconds!), and last version of nightly build of CB appear in "Update manager" of Linux Mint 22.3, and you can click on this to install it.

Regards.




   
Pages: 1 ... 3 4 5 6 7 [8] 9 10