Author Topic: The 27 May 2026 build (13855) is out.  (Read 23139 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5573
The 27 May 2026 build (13855) is out.
« on: May 27, 2026, 02:48:41 pm »
We switched to gcc 15.2.0 (on 09 April 2026) --> download the new wx/mingw dll's see link below

Get the compiler we use here : https://github.com/brechtsanders/winlibs_mingw/releases/download/15.2.0posix-14.0.0-ucrt-r7/winlibs-x86_64-posix-seh-gcc-15.2.0-mingw-w64ucrt-14.0.0-r7.7z

Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

Before you use a nightly make sure you understand how it works.

A link to the unicode windows wxWidget dll(s) for Code::Blocks : https://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/wxmsw33u_gcc_cb_wx332_2D_gcc1520-mingw64.7z
A link to Mingw64 dll's needed by Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/Mingw64dlls15.2.0.7z


The 27 May 2026 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2026/CB_20260527_rev13855_win64.7z
  - Linux :
   none

The current SDK version is : 2.25.0

Resolved Fixed:

  • switch to wx 3.3.2
  • DragScroll: Fix missed first Manager mouse Right click
  • wxSmith: Add an option for whether we need to use the Create() function for the top level wxWindow class. (Thanks LR83)
  • allow to collapse all projects at ones quickly (after re-opening a workspace with many project, for example, that are expanded)
  • clangd_client: changes and cleanup for wx3.3.2
  • DragScroll: 1.4.18 26/4/16 Refactoring and cleanup with -Wextra
  • DragScroll: Fix: Remove windows only function from compiling on unix
  • DragScroll: 1.4.19 260430 Fix crash in Linux OnTimerEvent() using garbage event object
  • Dragscroll: Fix DragScroll_Windows.cbp to zip correct position of the mainifest
  • dragscroll: fix Makefile.am to set correct location of manifest.xml
  • wxSmith: Delay-load images in the resource tree (ticket #1561).
  • Main: Fix broken --user-data-dir option (ticket #1599, thanks homertp).
  • wxSmith: Add wxBitmapToggleButton to the Standard palette (ticket #1601).
  • wxSmithAui: Call wxAuiManager::UnInit() in the frame destructor if used (part 2 of ticket #789)
  • Added Christo in the AUTHORS file
  • Main: Fix Aui docking on Wayland via XWayland.
  • wxSmith: Sort tabs by usage (tickets #1479 and #1602).
  • added first working version of project file for Windows-on-ARM (WoA) build of Code::Blocks
  • added ARM64 version of exception handler used for building C::B for WoA
  • added hidden link libs of exception handler, too
  • added addr2line tool for ARM to be used with C::B's Addr2LineUI
  • autotools: fix link error when system tinyxml is used. (Thanks hesti)

Regressions/Confirmed/Annoying/Common bugs:



    Offline killerbot

    • Administrator
    • Lives here!
    • *****
    • Posts: 5573
    Re: The 27 May 2026 build (13855) is out.
    « Reply #1 on: May 27, 2026, 02:49:41 pm »
    very important: we switched to wx33.

    Offline killerbot

    • Administrator
    • Lives here!
    • *****
    • Posts: 5573
    Re: The 27 May 2026 build (13855) is out.
    « Reply #2 on: May 27, 2026, 02:53:22 pm »
    wx dll was build for the nightlies as follows (using gcc15)

    Code
    mingw32-make -f makefile.gcc         SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 VENDOR=cb CXXFLAGS+="-std=c++23" setup_h
    mingw32-make -f makefile.gcc -j 26 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 VENDOR=cb CXXFLAGS+="-std=c++23"
    ==> -std=c++23

    and CB was also build like that (CB nightlies are build by using CB) by having the global variable "cb_cpp_std" the value "-std=c++23".


    Offline killerbot

    • Administrator
    • Lives here!
    • *****
    • Posts: 5573
    Re: The 27 May 2026 build (13855) is out.
    « Reply #3 on: May 27, 2026, 02:54:03 pm »
    next up in the near future will be a switch to gcc16 (and maybe -std=c++26) ...

    Offline Xaviou

    • Regular
    • ***
    • Posts: 445
      • X@v's wxStuff
    Re: The 27 May 2026 build (13855) is out.
    « Reply #4 on: May 27, 2026, 10:46:23 pm »
    Hi.

    32 bits version for Windows (and also 64 bits version) can be downloaded from my website.
    I made both a wxWidgets-3.2.10 and wxWidgets-3.3.2 linked versions

    Debian Trixie (64 bits) and Bookworm (32 and 64 bits) can be installed from my repo
    The corresponding unsigned deb files can also be downloaded from the website page linked above.

    Ubuntu-22.04, 24.10 and 26.04 versions can be installed from my ppa (they are now available for both amd64 and arm64 architectures).

    Regards
    Xav'
    My wxWidgets's stuff : https://wxstuff.xaviou.fr/

    Offline luisalberto

    • Multiple posting newcomer
    • *
    • Posts: 13
    Re: The 27 May 2026 build (13855) is out.
    « Reply #5 on: May 27, 2026, 11:09:19 pm »
    I Check this nightly and When I close codeblocks.exe this debug alert messageBox appear. Ctrl + C to copy the messgeBox

    [Window Title]
    wxWidgets Debug Alert

    [Main Instruction]
    A debugging check in this application has failed.

    [Content]
    ../../src/aui/auibook.cpp(2756): assert "page_idx < m_tabs.GetPageCount()" failed in GetPage().

    [ ] Don't show this dialog again  [Stop] [Continue]
    [Window Title]
    wxWidgets Debug Alert

    [Main Instruction]
    A debugging check in this application has failed.

    [Content]
    ../../src/aui/auibook.cpp(2856): assert "Assert failure" failed in FindTab(): Window unexpectedly not found in any tab control

    [ ] Don't show this dialog again  [Stop] [Continue]

    Offline ThierryD

    • Multiple posting newcomer
    • *
    • Posts: 107
    Re: The 27 May 2026 build (13855) is out.
    « Reply #6 on: May 28, 2026, 12:10:26 pm »
    Hi,

    Just "critical detect" with Bit Defender AV during download: Gen:Suspicious.Cloud.1.bOX@aWYtNEb. 

    Regards.

    TDE

    Offline Pecan

    • Plugin developer
    • Lives here!
    • ****
    • Posts: 2956
    Re: The 27 May 2026 build (13855) is out.
    « Reply #7 on: May 29, 2026, 06:45:25 am »
    I Check this nightly and When I close codeblocks.exe this debug alert messageBox appear. Ctrl + C to copy the messgeBox

    [Window Title]
    wxWidgets Debug Alert

    [Main Instruction]
    A debugging check in this application has failed.

    [Content]
    ../../src/aui/auibook.cpp(2756): assert "page_idx < m_tabs.GetPageCount()" failed in GetPage().

    [ ] Don't show this dialog again  [Stop] [Continue]
    [Window Title]
    wxWidgets Debug Alert

    [Main Instruction]
    A debugging check in this application has failed.

    [Content]
    ../../src/aui/auibook.cpp(2856): assert "Assert failure" failed in FindTab(): Window unexpectedly not found in any tab control

    [ ] Don't show this dialog again  [Stop] [Continue]

    I've found that deleting the .conf file just one time solved this for me.

    Offline eckard_klotz

    • Almost regular
    • **
    • Posts: 205
    Re: The 27 May 2026 build (13855) is out.
    « Reply #8 on: May 29, 2026, 12:27:56 pm »
    Hello All

    If got a detection with Norton 360 while downloading the file "CB_20260527_rev13855_win64.7z" also:
    • The mentioned thread is called: Maleware-gen
    • The file detected as infected inside the archive is: cb_console_runner.exe

    I don't get this detection if I download the files provided by Xaviou.
    But after running a system-test on my laptop the same file "cb_console_runner.exe" was detected in the decompressed nightly from 9th of April 2026 (revision 13831).

    I have reported this as a wrong detection and I've got the response that the case will be checked and I should try it in 24 hours again.

    Best regards,
                          Eckard.


    Offline MaxGaspa

    • Multiple posting newcomer
    • *
    • Posts: 44
    Re: The 27 May 2026 build (13855) is out.
    « Reply #9 on: May 29, 2026, 01:37:48 pm »
    I've found that deleting the .conf file just one time solved this for me.

    Yes. But I customized my default.conf in the last 5 years. To re-build manually all the cutomizations and settings is boring and time consuming. I do hope a workaround exists. Is there any other possible modification of the default.conf to fix the issue?

    Another point. My understanding was that with wx332 the dak mode is available. But I don't find any setting to enable it, using both my and new defautl.conf. Is the dark mode available is this nightly?

    Thx

    Max

    Offline luisalberto

    • Multiple posting newcomer
    • *
    • Posts: 13
    Re: The 27 May 2026 build (13855) is out.
    « Reply #10 on: May 29, 2026, 11:23:19 pm »
    You can change the colors using Environment Settings, Select Colours Image or Icon, Below is a comBoBox that say select application appearance if(supported by platform) and you can change the combobox to 3 options system default, Light , Dark theme.

    Offline Pecan

    • Plugin developer
    • Lives here!
    • ****
    • Posts: 2956
    Re: The 27 May 2026 build (13855) is out.
    « Reply #11 on: May 29, 2026, 11:53:42 pm »
    I've found that deleting the .conf file just one time solved this for me.

    Yes. But I customized my default.conf in the last 5 years. To re-build manually all the cutomizations and settings is boring and time consuming. I do hope a workaround exists. Is there any other possible modification of the default.conf to fix the issue?

    Another point. My understanding was that with wx332 the dak mode is available. But I don't find any setting to enable it, using both my and new defautl.conf. Is the dark mode available is this nightly?

    Thx

    Max

    Try deleting all the .layout files to see if that fixes the problem.

    Offline ThierryD

    • Multiple posting newcomer
    • *
    • Posts: 107
    Re: The 27 May 2026 build (13855) is out.
    « Reply #12 on: May 31, 2026, 03:25:28 pm »
    Thanks Eckhart,

    Today, I retry to download and diagnostic is same but Trojan detected not (???) (in file join).

    I will try download nightly CB on Linux first (on my laptop with double boot), I will try to decompress always on Linux (partition NTFS with access "write"), and after reboot on W11 2H2 to see result.

    Regards.

    Offline MaxGaspa

    • Multiple posting newcomer
    • *
    • Posts: 44
    Re: The 27 May 2026 build (13855) is out.
    « Reply #13 on: June 02, 2026, 10:26:59 pm »
    You can change the colors using Environment Settings, Select Colours Image or Icon, Below is a comBoBox that say select application appearance if(supported by platform) and you can change the combobox to 3 options system default, Light , Dark theme.

    There is no Environment Settings, Select Colours Image or Icon. I'm using Windows 11 25H2. So dark mode is not supported in Windows 11?

    Offline MaxGaspa

    • Multiple posting newcomer
    • *
    • Posts: 44
    Re: The 27 May 2026 build (13855) is out.
    « Reply #14 on: June 02, 2026, 10:32:54 pm »
    Try deleting all the .layout files to see if that fixes the problem.

    No. It doesn't work. So the only solution is to re-customize everything. Very boring and time consuming. Am I the only one with this issue?

    Offline ThierryD

    • Multiple posting newcomer
    • *
    • Posts: 107
    Re: The 27 May 2026 build (13855) is out.
    « Reply #15 on: June 03, 2026, 04:35:24 pm »
    Today, I try to download this last nightly of CB into WSL2 (Ubuntu 24.04) using Firefox browser (just my choice ...  ;D  )

    BitDefender AV don't control this 7z archive (YES !), by default stored on "$HOME/Downloads".

    Into terminal Ubuntu 24.04, I use command "7z" to extract directly to "/mnt/c/CodeBlocks", ... and BD AV detect like previous downloads an malware, and, like Eckart, link to file "CB_soncole_runner.exe" just decompressed ...

    I force BD AV to restore this specific file. 

    After that, I run CB (after decompress also two dependencies files with MinGW64 and WX DLL), and result is OK.

    I don't know why, CB has been very long time to start ... but (be patient) ..., after I can use last nightly of CB normally.

    Story is closed !

    Thank's.




     


    Offline MaxGaspa

    • Multiple posting newcomer
    • *
    • Posts: 44
    Re: The 27 May 2026 build (13855) is out.
    « Reply #16 on: June 04, 2026, 10:44:04 am »
    I lookfor a setings to get the dark mode using this nightly and Windows 11 25H2. It seems there is no such an option. So can you confirm that dark mode is not supported in Windows 11? Is it possible to enable the dark mode in Windows11? Is a long waited feature....

    Offline gd_on

    • Lives here!
    • ****
    • Posts: 851
    Re: The 27 May 2026 build (13855) is out.
    « Reply #17 on: June 04, 2026, 11:30:15 am »
    You can use C:B in darkmode. At least 2 ways to obtain this :
    • Use darkmode for Windows: C::B will follow Windows mode
    • Use a small cmd file to force darkmode: This cmd file is something like:
    Code
    REM To force darkmode (if 0 standard color mode, if 1 follow system mode)
    set WX_MSW_DARK_MODE=2
    codeblocks.exe
      Then you can adjust different colors.
      In this example, this codeblocks_DarkMode.cmd file is placed where codeblocks.exe is installed.
      « Last Edit: June 04, 2026, 01:37:48 pm by gd_on »
      Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

      Offline MaxGaspa

      • Multiple posting newcomer
      • *
      • Posts: 44
      Re: The 27 May 2026 build (13855) is out.
      « Reply #18 on: June 04, 2026, 11:47:37 am »
      set WX_MSW_DARK_MODE=2

      Thanks...I wasn't aware of the environment variable WX_MSW_DARK_MODE. Now I set this environment variable and I'm able to switch between the two modes quickly.

      Offline MaxGaspa

      • Multiple posting newcomer
      • *
      • Posts: 44
      Re: The 27 May 2026 build (13855) is out.
      « Reply #19 on: June 04, 2026, 11:54:22 am »
      [Main Instruction]
      A debugging check in this application has failed.
      I've found that deleting the .conf file just one time solved this for me.

      Pecan, trying to re-customize my default.conf I think I found the root cause of the issue and so a quick way to fix it. The root cause of the debugging checks is a specific setting

      Settings->Environment Settings->Notebooks Appearance->Tab Style

      If you set the tab style to Firefox2 or Microsoft Visual Studio 7.1 the debugging checks are raised

      Uisng default or Simple Tabs no debugging checks are raised.

      So to me is enough to change my old settings from Firefox 2 to default to get a working default.conf (my old one). I hope this helps to understand how to fix the issue.

      Offline luisalberto

      • Multiple posting newcomer
      • *
      • Posts: 13
      Re: The 27 May 2026 build (13855) is out.
      « Reply #20 on: June 04, 2026, 04:07:09 pm »
      Goto to Settings -> Environments Select Colours and over the OK and Cancel Buttons You will see the combo Box to change the theme. I am using Windows 11 25 H2. See the attach Image file. I dont like the dark mode and I use Light mode in Codeblocks.

      Offline gd_on

      • Lives here!
      • ****
      • Posts: 851
      Re: The 27 May 2026 build (13855) is out.
      « Reply #21 on: June 04, 2026, 04:39:00 pm »
      Effectively, I forgot to mention this as a third solution, introduced quite recently.
      Nevertheless, the 2nd solution may be applied to many wxwidgets softwares where darkmode is not explicitely implemented. 
      « Last Edit: June 04, 2026, 04:44:02 pm by gd_on »
      Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

      Offline 20k

      • Single posting newcomer
      • *
      • Posts: 6
      Re: The 27 May 2026 build (13855) is out.
      « Reply #22 on: June 17, 2026, 10:27:58 pm »
      [Main Instruction]
      A debugging check in this application has failed.
      I've found that deleting the .conf file just one time solved this for me.

      Pecan, trying to re-customize my default.conf I think I found the root cause of the issue and so a quick way to fix it. The root cause of the debugging checks is a specific setting

      Settings->Environment Settings->Notebooks Appearance->Tab Style

      If you set the tab style to Firefox2 or Microsoft Visual Studio 7.1 the debugging checks are raised

      Uisng default or Simple Tabs no debugging checks are raised.

      So to me is enough to change my old settings from Firefox 2 to default to get a working default.conf (my old one). I hope this helps to understand how to fix the issue.

      This didn't work for me (I'm experiencing the same problem), as my tabs were set to default already