Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on February 27, 2022, 09:05:20 am

Title: The 27 February 2022 build (12727) is out.
Post by: killerbot 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 (http://forums.codeblocks.org/index.php/topic,3232.0.html).

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:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 27 February 2022 build (12727) is out.
Post by: Pecan 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/
Title: Re: The 27 February 2022 build (12727) is out.
Post by: Neo 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?
Title: Re: The 27 February 2022 build (12727) is out.
Post by: cyuyan 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.

Title: Re: The 27 February 2022 build (12727) is out.
Post by: PB 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;
Title: Re: The 27 February 2022 build (12727) is out.
Post by: BlueHazzard on March 05, 2022, 09:31:06 pm
@cyuyan
Can you create a ticket in sourceforge? Here it will get lost....
Title: Re: The 27 February 2022 build (12727) is out.
Post by: Frank_CB 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!





Title: Re: The 27 February 2022 build (12727) is out.
Post by: Pecan 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 .
Title: Re: The 27 February 2022 build (12727) is out.
Post by: Frank_CB 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!
Title: Re: The 27 February 2022 build (12727) is out.
Post by: stahta01 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.
Title: Re: The 27 February 2022 build (12727) is out.
Post by: Frank_CB 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!
Title: Re: The 27 February 2022 build (12727) is out.
Post by: Khram on March 09, 2022, 04:36:18 pm
This error occurs quite frequently.
Title: Re: The 27 February 2022 build (12727) is out.
Post by: Miguel Gimenez on March 09, 2022, 05:14:59 pm
OS and C::B version?
Steps to reproduce?
Title: Re: The 27 February 2022 build (12727) is out.
Post by: Khram 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.
Title: Re: The 27 February 2022 build (12727) is out.
Post by: BlueHazzard 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/