Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Help / File extension isn't automatic
« Last post by Kosame on Yesterday at 04:11:20 pm »
Hello, I use TuxedoOS, I installed codeblocks via apt and when ever I wanna create a file, the extension isn't set automatically, I have to type it manually, how to fix this issue ?
2
Nightly builds / Re: The 06 September 2026 build (14003) is out.
« Last post by SharkCZ on Yesterday at 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 ...
3
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.
4
Development / Re: Index for Loaden's patches
« Last post by ollydbg on September 29, 2026, 11:25:28 am »
5
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);

6
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.
7
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.
8
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.
9
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.
10
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.
Pages: [1] 2 3 4 5 6 ... 10