Author Topic: The 25 February 2024 build (13483) is out.  (Read 9119 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5514
The 25 February 2024 build (13483) is out.
« on: February 25, 2024, 08:12:29 pm »
We switched to gcc 13.1.0 (on 04 June 2023) --> download the new wx/mingw dll's see link below

Get the compiler we use here : https://github.com/brechtsanders/winlibs_mingw/releases/download/13.1.0-16.0.5-11.0.0-ucrt-r5/winlibs-x86_64-posix-seh-gcc-13.1.0-mingw-w64ucrt-11.0.0-r5.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_wx324_2D_gcc1310-mingw64.7z
A link to Mingw64 dll's needed by Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/Mingw64dlls13.1.0.7z


The 25 Februari 2024 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2024/CB_20240225_rev13483_win64.7z
  - Linux :
   none

The current SDK version is : 2.25.0

Resolved Fixed:

  • wxScintilla: Fix crash in PlatWX.cpp when using CodeCompletion. See Ticket #1458

Regressions/Confirmed/Annoying/Common bugs:



    Offline Xaviou

    • Regular
    • ***
    • Posts: 412
      • X@v's wxStuff
    Re: The 25 February 2024 build (13483) is out.
    « Reply #1 on: February 26, 2024, 12:24:42 pm »
    Hi.

    OS X version of this rev can be downloaded from my website.
    There is only a macOS-11.6 version.
    Note that it is not a notarized version of the application.

    32 bits version for Windows can also be found in the same place.

    Debian Bookworm and Bullseye (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 and 23.10 versions can be installed from my ppa

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

    Offline DigitalSpaceDotName

    • Multiple posting newcomer
    • *
    • Posts: 14
      • IT Portfolio
    Re: The 25 February 2024 build (13483) is out.
    « Reply #2 on: March 04, 2024, 06:09:03 pm »
    Hi.

    OS X version of this rev can be downloaded from my website.
    There is only a macOS-11.6 version.
    Note that it is not a notarized version of the application.

    32 bits version for Windows can also be found in the same place.

    Debian Bookworm and Bullseye (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 and 23.10 versions can be installed from my ppa

    Regards
    Xav'

    Hi Xaviou. I wanted to ask you if you could think about update your tool chain to create and compile code::blocks against WxWidgets 3.3 where GUI Dark Mode is available. I tried the Dark Mode and it is very usefull and safe for our eyes.

    See ya.

    Fan of C::B :-)

    Offline Xaviou

    • Regular
    • ***
    • Posts: 412
      • X@v's wxStuff
    Re: The 25 February 2024 build (13483) is out.
    « Reply #3 on: March 04, 2024, 06:24:34 pm »
    Hi Xaviou. I wanted to ask you if you could think about update your tool chain to create and compile code::blocks against WxWidgets 3.3 where GUI Dark Mode is available. I tried the Dark
    I'll give it a try : I will surely provide both 3.2.x and 3.3.x.

    Regards

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

    Offline DigitalSpaceDotName

    • Multiple posting newcomer
    • *
    • Posts: 14
      • IT Portfolio
    Re: The 25 February 2024 build (13483) is out.
    « Reply #4 on: March 04, 2024, 08:37:39 pm »
    This is great news. Thanks for your effort.
    Fan of C::B :-)

    Offline Grit Clef

    • Multiple posting newcomer
    • *
    • Posts: 107
    • Where there is a will, there is a way.
    Re: The 25 February 2024 build (13483) is out.
    « Reply #5 on: March 05, 2024, 11:26:18 am »
    Not for me on Windows 7... :'( I'm still finding some way to achieve that on older Windows systems.
    -Windows 7, 32-bit
    -CodeBlocks r13542, gcc 14.2.0, debug version

    Offline Xaviou

    • Regular
    • ***
    • Posts: 412
      • X@v's wxStuff
    Re: The 25 February 2024 build (13483) is out.
    « Reply #6 on: March 05, 2024, 09:28:50 pm »
    Hi.

    I'll give it a try : I will surely provide both 3.2.x and 3.3.x.

    Build failed : here are the last lines of the build log:
    Code
    In file included from ../../../src/sdk/configmanager.cpp:17:
    ../../../src/include/logmanager.h:40:28: warning: passing an object of reference type to 'va_start' has undefined behavior [-Wvarargs]
            va_start(arg_list, msg);
                               ^
    ../../../src/include/logmanager.h:37:39: note: parameter of type 'const wxString &' is declared here
        inline wxString F(const wxString &msg, ...)
                                          ^
    ../../../src/sdk/configmanager.cpp:121:53: error: no matching member function for call to 'AsString'
                wxString str = wxCFStringRef(cfStrPath).AsString(wxLocale::GetSystemEncoding());
                               ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
    /Users/xavier/dev/wx330/include/wx/osx/core/cfstring.h:65:21: note: candidate function not viable: no known conversion
          from 'wxFontEncoding' to 'CFStringRef' (aka 'const __CFString *') for 1st argument
        static wxString AsString( CFStringRef ref ) ;
                        ^
    /Users/xavier/dev/wx330/include/wx/osx/core/cfstring.h:68:21: note: candidate function not viable: no known conversion
          from 'wxFontEncoding' to 'WX_NSString' (aka 'NSString *') for 1st argument
        static wxString AsString( WX_NSString ref ) ;
                        ^
    /Users/xavier/dev/wx330/include/wx/osx/core/cfstring.h:63:14: note: candidate function not viable: requires 0 arguments,
          but 1 was provided
        wxString AsString() const;

    Differences in WX_DIR/include/wx/osx/core/cfstring.h between wx-3.3.0 and wx-3.2.x make the build impossible.

    After a few investigations, these changes were made by commit 919a8cbb27dded5fe3ae0b1923209f398250fddd
    I've changed code in 'src/sdk/configmanager.cpp' (line 121) from:
    Code
    wxString str = wxCFStringRef(cfStrPath).AsString(wxLocale::GetSystemEncoding());
    to:
    Code
    wxString str = wxCFStringRef(cfStrPath).AsString();
    I also had to make the same change in 'src/src/app.cpp' (line 357).

    But I went to another problem (while building wxSmith):
    Code
    ../../../../../../../src/plugins/contrib/wxSmith/wxwidgets/properties/wxscolourproperty.cpp:483:47: error: use of
          undeclared identifier 'wxPG_FL_IN_HANDLECUSTOMEDITOREVENT'
            if ( !(propgrid->GetInternalFlags() & wxPG_FL_IN_HANDLECUSTOMEDITOREVENT) )
                                                  ^
    ../../../../../../../src/plugins/contrib/wxSmith/wxwidgets/properties/wxscolourproperty.cpp:581:29: error: invalid
          operands to binary expression ('wxPGPropertyFlags' and 'wxPG_EX_WINDOW_STYLES')
            else if ( !(m_flags & wxPG_PROP_UNSPECIFIED) )
                        ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~

    I finally managed to make the build by replacing these defines/enums by their numerical values:

    File src/plugins/contrib/wxSmith/wxwidgets/properties/wxscolourproperty.cpp :
    Line 483:
    Code
    if ( !(propgrid->GetInternalFlags() & wxPG_FL_IN_HANDLECUSTOMEDITOREVENT) )
    became:
    Code
    if ( !(propgrid->GetInternalFlags() & 0x08000000) )

    and line 581:
    Code
    else if ( !(m_flags & wxPG_PROP_UNSPECIFIED) )
    became:
    Code
    else if ( !(m_flags & (wxPGPropertyFlags)0x00200000) )
    I know this isn't a proper correction, but I made this to see if there were other building errors.

    @DigitalSpaceDotName : The corresponding dmg file has been uploaded and is now available from my website if you want to test.

    Regards
    Xav'
    « Last Edit: March 05, 2024, 11:22:58 pm by Xaviou »
    My wxWidgets's stuff : https://wxstuff.xaviou.fr/

    Offline DigitalSpaceDotName

    • Multiple posting newcomer
    • *
    • Posts: 14
      • IT Portfolio
    Re: The 25 February 2024 build (13483) is out.
    « Reply #7 on: March 06, 2024, 12:40:55 pm »
    Hello Xaviou, this is great work.

    I am working under Windows OS so I can't test your MAC version. If you will also make the Windows build, it would by glad! And I will test it as fast as possible!
    Fan of C::B :-)