Author Topic: The 27 February 2022 build (12727) is out.  (Read 10583 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5489
The 27 February 2022 build (12727) is out.
« on: February 27, 2022, 09:05:20 am »
We switched to wx 3.1.5 --> download the new wx dll's see link below

If you tested the 22 january nightly you may find your compiler executable has changed from gcc.exe to mingw32-gcc.exe and g++.exe to mingw32-g++.exe. Please correct this, you won't be asked again.

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/wxmsw31u_gcc_cb_wx315_2D_gcc810-mingw64.7z
A link to Mingw64 dll's needed by Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/Mingw64dlls8.1.0.7z


The 27 February 2022 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2022/CB_20220227_rev12727_win64.7z
  - Linux :
   none

The current SDK version is : 2.16.0

Resolved Fixed:

  • wxSmith: Export only needed symbols (last part of ticket #1206)
  • Restore --export-all-symbols in wxContribItems projects (removed in previous commit)
  • Add C::B manual to Linux help menu like Windows (ticket #1211, thanks Andrew Cottrell)

Regressions/Confirmed/Annoying/Common bugs:



    Offline Pecan

    • Plugin developer
    • Lives here!
    • ****
    • Posts: 2743
    Re: The 27 February 2022 build (12727) is out.
    « Reply #1 on: February 27, 2022, 07:13:54 pm »
    The Clangd_Client for this nightly can be downloaded at
    https://sourceforge.net/projects/cb-clangd-client/files/Plugin_Install_Package/Windows_x64/ClangdClientForCBNightly20220227_rev12727_win64.zip/download

    Unzip and copy the included clangd_client.zip to <YourCodeBlocksNightlyFolder>\share\CodeBlocks\clangd_client.zip

    Copy the included clangd_client.dll to <YourCodeBlocksNightlyFolder>\share\CodeBlocks\plugins\clangd_client.dll

    Restart your CodeBlocks Nightly.

    Install instructions for LLVM/clangd can be downloaded at:
    https://sourceforge.net/p/cb-clangd-client/code/HEAD/tree/trunk/clangd_client/documentation-install/
    « Last Edit: February 28, 2022, 01:08:56 am by Pecan »

    Offline Neo

    • Multiple posting newcomer
    • *
    • Posts: 16
    Re: The 27 February 2022 build (12727) is out.
    « Reply #2 on: March 02, 2022, 09:18:09 am »
    I have a strange problem with environment PATH value using getenv function (on Windows platform).
    Code
    #include <stdio.h>
    #include <stdlib.h>
    int main()
    {
        puts(getenv("PATH"));
        return 0;
    }
    If I run/debug the above program in CB, anything like "c:\some\dir" with surrounding quotes becomes something like \\"c\some\dir". Note the text is shown verbatim, and note the missing colon ( : ). It seems CB does not like leading quote char in PATH value.

    If I run my program directly without CB IDE, the quoted path string is normal.

    I verified this in old 17.12 which demonstrated same behavior. So it's an old bug but not disovered/reported by anyone.

    Just curious, why does CB touch PATH value?
    « Last Edit: March 03, 2022, 06:51:27 am by Neo »

    Offline cyuyan

    • Multiple posting newcomer
    • *
    • Posts: 21
    Re: The 27 February 2022 build (12727) is out.
    « Reply #3 on: March 05, 2022, 03:43:04 pm »
    I have a strange problem with environment PATH value using getenv function (on Windows platform).
    Code
    #include <stdio.h>
    #include <stdlib.h>
    int main()
    {
        puts(getenv("PATH"));
        return 0;
    }
    If I run/debug the above program in CB, anything like "c:\some\dir" with surrounding quotes becomes something like \\"c\some\dir". Note the text is shown verbatim, and note the missing colon ( : ). It seems CB does not like leading quote char in PATH value.

    If I run my program directly without CB IDE, the quoted path string is normal.

    I verified this in old 17.12 which demonstrated same behavior. So it's an old bug but not disovered/reported by anyone.

    Just curious, why does CB touch PATH value?

    I tested your program, running it normally on Win7.


    Offline PB

    • Multiple posting newcomer
    • *
    • Posts: 57
    Re: The 27 February 2022 build (12727) is out.
    « Reply #4 on: March 05, 2022, 04:54:31 pm »
    If I run/debug the above program in CB, anything like "c:\some\dir" with surrounding quotes becomes something like \\"c\some\dir". Note the text is shown verbatim, and note the missing colon ( : ). It seems CB does not like leading quote char in PATH value.
    Just curious, why does CB touch PATH value?
    I can confirm the issue on Windows 10 with C::B 20.03. Quotation marks in PATH must be rare, I had none there and had to add such a path manually. I am not sure if those are even allowed there, as it seems paths with folders having spaces in them (e.g., "Program Files (x86)") work just fine without them.

    If you take a look at the output of your program, it becomes clear why C::B modifies the PATH: It prepends the current folder alias as well as the compiler path and its bin subfolder to it, so in my case it prepended
    Code
    .;C:\msys64\mingw32\bin;C:\msys64\mingw32;
    « Last Edit: March 05, 2022, 04:57:36 pm by PB »

    Offline BlueHazzard

    • Developer
    • Lives here!
    • *****
    • Posts: 3353
    Re: The 27 February 2022 build (12727) is out.
    « Reply #5 on: March 05, 2022, 09:31:06 pm »
    @cyuyan
    Can you create a ticket in sourceforge? Here it will get lost....

    Offline Frank_CB

    • Almost regular
    • **
    • Posts: 148
    Re: The 27 February 2022 build (12727) is out.
    « Reply #6 on: March 07, 2022, 10:39:06 pm »
    @Pecan:

      I've downloaded and unzipped both files specified in your instructions about the clangd_client plugin. Unfortunately there is no clangd_client.cbplugin file included, which is preventing installing the plugin either manually or with the Plugin Manager. Any suggestions?

    Regards!






    Offline Pecan

    • Plugin developer
    • Lives here!
    • ****
    • Posts: 2743
    Re: The 27 February 2022 build (12727) is out.
    « Reply #7 on: March 08, 2022, 01:06:04 am »
    @Pecan:

      I've downloaded and unzipped both files specified in your instructions about the clangd_client plugin. Unfortunately there is no clangd_client.cbplugin file included, which is preventing installing the plugin either manually or with the Plugin Manager. Any suggestions?

    Regards!

     Make sure that CodeBlocks is not running.

     Copy the included clangd_client.zip file to <YourCodeBlocksFolder>\share\CodeBlocks\clangd_client.zip

    Copy the included clangd_client.dll to <YourCodeBlocksFolder>\share\CodeBlocks\plugins\clangd_client.dll

    Restart your CodeBlocks .
    « Last Edit: March 08, 2022, 01:09:07 am by Pecan »

    Offline Frank_CB

    • Almost regular
    • **
    • Posts: 148
    Re: The 27 February 2022 build (12727) is out.
    « Reply #8 on: March 08, 2022, 03:25:32 am »
    @Pecan
    Where are cbplugin files located. I cannot find any cbplugin files with Plugin Manager or File Explorer in a couple different versions of CB.

    I followed your instructions originally and just downloaded the files again and got the same results. Any more suggestions?

    Regards!

    Offline stahta01

    • Lives here!
    • ****
    • Posts: 7576
      • My Best Post
    Re: The 27 February 2022 build (12727) is out.
    « Reply #9 on: March 08, 2022, 04:34:03 am »
    @Pecan
    Where are cbplugin files located. I cannot find any cbplugin files with Plugin Manager or File Explorer in a couple different versions of CB.

    I followed your instructions originally and just downloaded the files again and got the same results. Any more suggestions?

    Regards!

    The directions [posted in this thread] worked for me.

    Quote
    Clangd_Client 0.2.18 2022/02/26
    [REMOVED]\CodeBlocks-NB\share\codeblocks\plugins\clangd_client.dll
    This plugin provides a symbols browser for your projects and code-completion inside the editor.
    Note: Only C/C++ language is supported by this plugin (currently)...

    You do realize that you do not unzip the second zip file, right?

    Edit: I did not test the plugin; just confirmed it was installed.

    Tim S.
    « Last Edit: March 08, 2022, 04:43:12 am by stahta01 »
    C Programmer working to learn more about C++ and Git.
    On Windows 7 64 bit and Windows 10 64 bit.
    --
    When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

    Offline Frank_CB

    • Almost regular
    • **
    • Posts: 148
    Re: The 27 February 2022 build (12727) is out.
    « Reply #10 on: March 08, 2022, 09:11:04 pm »
    @stahta01:
    Was able to download NB 12727 and manually install clang_client plugin per the original directions given by Pecan.  However it couldn't be installed in SVN 12730 either manually or through the Plugin Manager.
    @Pecan:
    The instructions provided in the unzipped document file that addresses installing the plugin mentions cbplugin files. However, since I wasn't able to find any, that was the  reason for my previous post. Please disregard.

    Regards!

    Offline Khram

    • Multiple posting newcomer
    • *
    • Posts: 47
    • 3D-tensor mathematics - vector space
      • ShipDesign
    Re: The 27 February 2022 build (12727) is out.
    « Reply #11 on: March 09, 2022, 04:36:18 pm »
    This error occurs quite frequently.
    C++ & Fortran in MinGW-GCC-4.3.3 & Equation-GCC-13.2 with CB-13456

    Offline Miguel Gimenez

    • Developer
    • Lives here!
    • *****
    • Posts: 1549
    Re: The 27 February 2022 build (12727) is out.
    « Reply #12 on: March 09, 2022, 05:14:59 pm »
    OS and C::B version?
    Steps to reproduce?

    Offline Khram

    • Multiple posting newcomer
    • *
    • Posts: 47
    • 3D-tensor mathematics - vector space
      • ShipDesign
    Re: The 27 February 2022 build (12727) is out.
    « Reply #13 on: March 09, 2022, 09:34:28 pm »
    OS-Win-11. The error is old, at least from last year. Occurs after being idle for 5 minutes or more.
    C++ & Fortran in MinGW-GCC-4.3.3 & Equation-GCC-13.2 with CB-13456

    Offline BlueHazzard

    • Developer
    • Lives here!
    • *****
    • Posts: 3353
    Re: The 27 February 2022 build (12727) is out.
    « Reply #14 on: March 18, 2022, 12:51:42 am »
    @PB & @Neo

    i have created a ticket for your issue

    https://sourceforge.net/p/codeblocks/tickets/1239/