Recent Posts

Pages: 1 2 3 [4] 5 6 7 8 9 10
31
Nightly builds / Re: The 06 September 2026 build (14003) is out.
« Last post by SharkCZ on September 30, 2026, 10:42:12 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 ...

Thanks for the report.
Fixed svn r14017
Thanks for the fix and sorry for not responding earlier, but got distracted by day job ...
32
Hi @ollydbg,

Could you please try below patch? I could see compiler auto-detection dialogue when I tested build via command line in Ubuntu, below patch avoided it.

Code
diff --git a/src/sdk/compilerfactory.cpp b/src/sdk/compilerfactory.cpp
index f36e2beb9..87f2eb5ae 100644
--- a/src/sdk/compilerfactory.cpp
+++ b/src/sdk/compilerfactory.cpp
@@ -288,7 +288,7 @@ void CompilerFactory::LoadSettings()
     }
 
     // auto-detect missing compilers
-    if (needAutoDetection)
+    if (needAutoDetection && !Manager::IsBatchBuild())
     {
         AutoDetectCompilers adc(Manager::Get()->GetAppWindow());
         PlaceWindow(&adc);


Thanks. I will try it.

Under Windows, sometimes, I use some AI agent, and those agent will call codeblocks.exe in the command line to build the cbp project. I always see the build log dialog opened when the AI agent call the build process, but in-fact, I never see the compiler setting dialog. Maybe the compiler was already configured. I can basically created a default.conf file(just a xml file) to used in the github action, in the default.conf file, I can set all the compiler paths.

Another issue is the "global compiler variables", when it is empty in the default.conf, it will popup a dialog to let the user sets.
33
Development / Re: Index for Loaden's patches
« Last post by ollydbg on September 29, 2026, 11:25:28 am »
34
Hi @ollydbg,

Could you please try below patch? I could see compiler auto-detection dialogue when I tested build via command line in Ubuntu, below patch avoided it.

Code
diff --git a/src/sdk/compilerfactory.cpp b/src/sdk/compilerfactory.cpp
index f36e2beb9..87f2eb5ae 100644
--- a/src/sdk/compilerfactory.cpp
+++ b/src/sdk/compilerfactory.cpp
@@ -288,7 +288,7 @@ void CompilerFactory::LoadSettings()
     }
 
     // auto-detect missing compilers
-    if (needAutoDetection)
+    if (needAutoDetection && !Manager::IsBatchBuild())
     {
         AutoDetectCompilers adc(Manager::Get()->GetAppWindow());
         PlaceWindow(&adc);

35
Check out "headless" search in the sourceforge tickets as there may be a better option that you may not have spotted, but I could be wrong.
There may be other keywords to see if there is a CI/CD patch.

OK, thanks, I will try it.

Add headless batch mode support

Inform user about status of project loading/​saving

Crash on trying to run codeblocks headless in xvfb

It looks like the first 1 is the best match.
36
Check out "headless" search in the sourceforge tickets as there may be a better option that you may not have spotted, but I could be wrong.
There may be other keywords to see if there is a CI/CD patch.
37
Development / Re: cbp2make does not contain a Makefile.am?
« Last post by ollydbg on September 28, 2026, 01:07:17 am »
Try this:
https://github.com/stahta01/CodeBlocks_Unofficial_Testing/blob/master/src/tools/cbp2make/Makefile.am

Hi, thanks. I am not familiar with autotools, can any dev help to add them in the trunk. Thanks.
38
https://github.com/asmwarrior/image-label-gui/actions/runs/36323032087

This is my recent progress. I use cbp2make to generate a makefile from cbp, and later build the makefile.
39
Nightly builds / Re: The 06 September 2026 build (14003) is out.
« Last post by luisalberto on September 27, 2026, 03:59:05 pm »
I don't know if I can say it here but every time I am using CodeBlocks the wxSmiths tools Icons are nearly hidden by the Horizontal ScrollBar. Windows 11 25H2. I have to go to Settings->Editor->WxSmiths and make tool Icons small to make them visible. Please can this be solved? Thanks fro the great tool that is CodeBlocks.
40
Hello,

I managed to solve all the problems, I'll post the solution in case someone else stumbles into this:

The problems (high memory usage and 10 second file closing delay) were solved after I checked the CB startup logs (In-IDE unter Logs&Others pane -> Code::Blocks tab) and fixed any problems appearing there:

I fixed the help.ini file which pointed to the wrong help file .chm file names (I dont think this was related to the performance hits).

I fixed some paths C:\Users\<myUser>\AppData\Roaming\CodeBlocks\default.conf which where WRONG and from my old installation of CB 2020.
Especially SpellChecker plugin had some missing icons due to outdated path. Also the sets>gcc>master_path>str compiler had the wrong path (I'm not using it, I'm using a msys2-mingw compiler so I did not notice it was defunct). Finally I added a .idx and .dat thesaurus file for SpellChecker, like described in the spell checker Wiki.

After these measures now CB only requires 80MB of memory after starting and about 100MB after I load my project, and closing files only takes a split second instead of 10 seconds.I'm not sure which of the problems caused the memory hogging, but one of those must have been it.

I'm quite happy now for me this is solved. :)

I dont think CB should react to incorrect paths in this manner, so if some of the plugin developers of SpellChecker or CB developers may want to have a look how this can happen.

Cheers

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