Recent Posts

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

2
Finding a job in Ireland can be hard when your CV does not show your skills and experience clearly. CV Writing Service Ireland provides professional CV writing, CV editing, cover letter writing, graduate CVs, and LinkedIn profile writing services. Our team helps job seekers present their skills, work history, and achievements in a clear way. Whether you are a graduate looking for your first job or an experienced worker planning a career move, a well-written CV can help you make a good first impression.
3
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.
4
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.
5
Development / Re: cbp2make does not contain a Makefile.am?
« Last post by ollydbg on Yesterday at 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.
6
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.
7
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.
8
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

10
Development / cbp2make does not contain a Makefile.am?
« Last post by ollydbg on September 27, 2026, 06:18:49 am »
Hi, when I looked at the

https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-codeblocks/PKGBUILD

I see such code snippet:

Code
  cp -R ${srcdir}/${_realname}_${pkgver}/src/tools/cbp2make/ "${srcdir}"/build-${MSYSTEM}/
  cd "${srcdir}"/build-${MSYSTEM}/cbp2make
  if check_option "debug" "n"; then
    make CC=${CC} CXX=${CXX} LD=${CXX} --jobs=1 -f cbp2make.cbp.mak.unix release
  else
    make CC=${CC} CXX=${CXX} LD=${CXX} --jobs=1 -f cbp2make.cbp.mak.unix debug
  fi

So, do we need to add a Makefile.am?

I see other tools in this folder:  src/tools, such as src/tools/cb_share_config and src/tools/CBLauncher, they all have a Makefile.am, but why cbp2make does not?

Thanks.
Pages: [1] 2 3 4 5 6 ... 10