Recent Posts

Pages: 1 2 3 4 5 [6] 7 8 9 10
51
Nightly builds / Re: The 06 December 2025 build (13761) is out.
« Last post by JohnCell on December 09, 2025, 09:30:52 am »
Hello C::B designers !

First of all, I'd like to thanks you for this incredible work.
I've been using CB for more than 5 years. It's so efficient : pleasant to use, fast to learn.
I've tried MS Visual for a couple of months... and I gave up !  ;)

I'm using CB nightly builds under Win10 and Win11, and I've noticed stability issues since the last 6 months.
It's quite global, I mean I've not been able to link crashes to any specific action.
To me, this stability issue roughly dates back 6 months ago.
Nightly builds used to be very stable before.
It's happening any time and clearly increases with the latest 6 December release. I had to roll back.


Once again, thank you so much for providing C::B to the community !

Kind regards,
John



52
Using Code::Blocks / Symbol Browser : missing classes
« Last post by JohnCell on December 09, 2025, 09:15:43 am »

Hello C::B users !!

I've got an annoying bug for quite a long time with C::B, some classes don't show up in the Symbols Browser.
My project is really large, it has more than 50 C++ classes.
Each class has its own .h and .cpp files.

All files are perfectly displayed in the project tree (Headers / Sources ).
But Symbol Browser randomly misses many of them (say 10%), so they don't show up in the Symbols TreeCtrl.

Does anybody also face this issue ?
Ideas ??

Many thanks !
John


 I'm wondering if someone else
53
Nightly builds / Re: The 06 December 2025 build (13761) is out.
« Last post by ThierryD on December 07, 2025, 03:12:55 pm »
Congratulations. Acces to "notes" into CB project is fully operational.
Thank's for all.

Thierry.
54
Nightly builds / Re: The 06 December 2025 build (13761) is out.
« Last post by Xaviou on December 06, 2025, 11:27:03 pm »
Hi.

32 bits version for Windows can be downloaded from my website.

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, 25.04 and 25.10 versions can be installed from my ppa (they are now available for both amd64 and arm64 architectures).

Regards
Xav'
55
Nightly builds / The 06 December 2025 build (13761) is out.
« Last post by killerbot on December 06, 2025, 04:08:42 pm »
We switched to gcc 15.1.0 (on 23 May 2025) --> 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.1.0posix-12.0.0-ucrt-r1/winlibs-x86_64-posix-seh-gcc-15.1.0-mingw-w64ucrt-12.0.0-r1.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/wxmsw32u_gcc_cb_wx328_2D_gcc1510-mingw64.7z
A link to Mingw64 dll's needed by Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/Mingw64dlls15.1.0.7z


The 06 December 2025 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2025/CB_20251206_rev13761_win64.7z
  - Linux :
   none

The current SDK version is : 2.25.0

Resolved Fixed:

  • Fix hang when loading a project with notes and "Auto show notes" enabled.

Regressions/Confirmed/Annoying/Common bugs:


    56
    Nightly builds / Re: The 25 October 2025 build (13754) is out.
    « Last post by ThierryD on December 05, 2025, 02:47:00 pm »
    to 1978544461@qq.com   -> test ExplorerPatcher (https://github.com/valinet/ExplorerPatcher/releases.

    Since I try, gain in velocity ... and stability.

    Regards.
    57
    Nightly builds / Re: The 25 October 2025 build (13754) is out.
    « Last post by ThierryD on December 05, 2025, 02:09:02 pm »
    Many thank's Miguel.
    Just to be precise, I don't test open "Notes" in project CB since ... many months.
    But, recently, I grow munch number of lines in this zone (not directly in IDE, but into CB project ... just XML file ...) ... and I can't view result into CB  :D !

    Thierry.
    58
    General (but related to Code::Blocks) / Re: OpenWatcom (W32) Compiler template problem
    « Last post by Tim on December 05, 2025, 12:35:37 pm »
    After coming across the following post:-
    https://forums.codeblocks.org/index.php/topic,19721.0/all.html
    I started snooping around in the DirectCommands.cpp

    It 'appears' that the reason the "file" and the "," comma separator are lost in copies of "OpenWatcom (W32) Compiler" is because
    tests are made on a variable called CompilerID which is "ow" for the "OpenWatcom (W32) Compiler" target, but it is different in the case of a 'copy' of the "OpenWatcom (W32) Compiler" target.
    However the target copy does have variable called ParentID, which I believe is set to "ow". So it makes sense to test both variables in DirectCommands.cpp.

    Around line 537 onwards...

    wxArrayString DirectCommands::GetTargetLinkCommands(ProjectBuildTarget* target, bool force)

    I've replaced
    ***********************
    // bool IsOpenWatcom = target->GetCompilerID().IsSameAs(_T("ow"));
    ***********************

    With

    ****************************************
        bool IsOpenWatcom = false;

        if(target->GetCompilerID().IsSameAs(_T("ow")) == true)
        {
            IsOpenWatcom = true;
        }

        Compiler* pCompiler = CompilerFactory::GetCompiler(target->GetCompilerID());

        if(pCompiler->GetParentID().IsSameAs(_T("ow")) == true)
        {
            IsOpenWatcom = true;
        }
    ******************************************

    // IsOpenWatcom is used 4 times
    // Test if the Compiler target is "OpenWatcom (W32) Compiler"  (GetCompilerID == "ow"
    // or if the Compiler target was derived from "OpenWatcom (W32) Compiler" such as
    // "Copy of OpenWatcom (W32) Compiler" (GetParentID == "ow"



    Also around line  616, I've Rem'd out 2 lines

    // if (IsOpenWatcom && target->GetTargetType() != ttStaticLib)
    //    linkfiles << _T("file ");

    To stop the word 'file' being prepended to $link_objects variable/string.

    And instead added the word 'file' to lines around 330 in the command macro pre-load code, in the compiler template file compilerOW.cpp

    **********************************************************

     m_Commands[(int)ctLinkExeCmd]
           .push_back( CompilerTool(wxT("$linker option quiet $link_options $libdirs file $link_objects name $exe_output $libs $link_resobjects")) );
        m_Commands[(int)ctLinkConsoleExeCmd]
           .push_back( CompilerTool(wxT("$linker option quiet $link_options $libdirs file $link_objects name $exe_output $libs $link_resobjects")) );
        m_Commands[(int)ctLinkDynamicCmd]
           .push_back( CompilerTool(wxT("$linker option quiet $link_options $libdirs name $exe_output $libs file $link_objects")) );
           
        m_Commands[(int)ctLinkStaticCmd]
           .push_back( CompilerTool(wxT("$lib_linker -q $static_output file $link_objects")) );

    **********************************************************

    I then rebuilt the main project (minus the user plugins) with Widgets 2.8.12 as a non-unicode release build and zipped up the results.
    The zip is called "codeblocks-8.02-win32-ansi-wx2812-V2.7z" and it can be found at github, details in this post:-
    https://forums.codeblocks.org/index.php/topic,25925.msg176583.html#msg176583

    If you follow the instructions on github first, regarding "codeblocks-8.02-win32-ansi-wx2812.7z" (basically version 1)
    Then copy the contents of "codeblocks-8.02-win32-ansi-wx2812-V2.7z" over the first.

    If you want the compiler and linker build messages to have line breaks between each command see this post:-
    https://forums.codeblocks.org/index.php/topic,24610.msg174896.html#msg174896

    When I tested the above modifications, the link process would still often fail.
    The command line  would look OK, but codeblocks would report it as failed, but without a reason or error code.
    If I copied the failed command line to a dos window it would work OK.
    I then created a dos exe program that simply outputted all of its incoming arguments to a text file, and then substituted it for the wlink.exe to see what the command line actually was.
    It showed the no command line was actually outputted from codeblocks for a failed link process.
    After some experiments the problem 'seems' to be caused by the length of the command line.
    The command line could be shortened 'in theory' by creating & attaching an environment variable set to the project. I've not proved this actually works.
    59
    Help / Re: Error message upon opening new workspace
    « Last post by Wretch on December 05, 2025, 10:25:34 am »
    @wretch In the wizard, in the box labelled "Folder to create project in", could you please browse and select the folder instead of typing it? If you type, please provide the full path as
    Code
    /home/solar/C-Stuff

    LOL such an obvious solution! And I didn't even see that little box on the right. Thank you!  ;D
    60
    Help / Re: Error message upon opening new workspace
    « Last post by christo on December 04, 2025, 06:31:10 pm »
    @wretch In the wizard, in the box labelled "Folder to create project in", could you please browse and select the folder instead of typing it? If you type, please provide the full path as
    Code
    /home/solar/C-Stuff
    Pages: 1 2 3 4 5 [6] 7 8 9 10